From 9d79d8d9aa196b938376d2757a10b86e0c36501a Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Mon, 4 Mar 2024 21:52:12 +0100 Subject: [PATCH 1/3] Jenkinsfile-dynamatrix: add a TODO about "completely out-of-tree" builds Signed-off-by: Jim Klimov --- Jenkinsfile-dynamatrix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile-dynamatrix b/Jenkinsfile-dynamatrix index d425fd255b..34c7db5807 100644 --- a/Jenkinsfile-dynamatrix +++ b/Jenkinsfile-dynamatrix @@ -760,7 +760,11 @@ set | sort -n """ dynamatrixAxesCommonEnv: [ ['LANG=C','LC_ALL=C','TZ=UTC', // Build in a subdirectory to check that out-of-dir - // builds are healthy too + // builds are healthy too. + // NOTE: It would be useful to also have a recipe to build + // "completely out-of-tree", in a different filesystem (to + // make sure we do not rely on hard-links, relative paths, + // etc.) 'CI_BUILDDIR=obj', 'BUILD_WARNFATAL=yes','BUILD_WARNOPT=minimal' ] From e516dbf359248d0b6e531f2d9ca2cc432d3e91d3 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Mon, 4 Mar 2024 21:52:45 +0100 Subject: [PATCH 2/3] Jenkinsfile-dynamatrix: fix naming for cross-Windows builds ("Strict C" part is optional) Signed-off-by: Jim Klimov --- Jenkinsfile-dynamatrix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-dynamatrix b/Jenkinsfile-dynamatrix index 34c7db5807..d7254835ba 100644 --- a/Jenkinsfile-dynamatrix +++ b/Jenkinsfile-dynamatrix @@ -1286,7 +1286,7 @@ set | sort -n """ 'bodyParStages': dynacfgPipeline.slowBuildDefaultBody_ci_build ] // one slowBuild filter configuration - ,[name: 'Strict C and GNU standard builds on cross-Windows platforms (Linux+mingw), without distcheck and docs (allowed to fail)', + ,[name: (dynacfgPipeline.disableStrictCIBuild_CrossWindows ? '' : 'Strict C and ') + 'GNU standard builds on cross-Windows platforms (Linux+mingw), without distcheck and docs (allowed to fail)', disabled: dynacfgPipeline.disableSlowBuildCIBuild, //branchRegexSource: ~/^(PR-.+|.*fightwarn.*|.*Windows.*)$/, //branchRegexTarget: ~/fightwarn|Windows-.*/, From 90c63685bf1f59deca6876515ffe508f592424fa Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Wed, 6 Mar 2024 16:43:45 +0100 Subject: [PATCH 3/3] Jenkinsfile-dynamatrix: fiddle with BUILD_WARNFATAL settings Signed-off-by: Jim Klimov --- Jenkinsfile-dynamatrix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile-dynamatrix b/Jenkinsfile-dynamatrix index d7254835ba..8673248401 100644 --- a/Jenkinsfile-dynamatrix +++ b/Jenkinsfile-dynamatrix @@ -494,8 +494,8 @@ set | sort -n """ // BUILD_TYPE=default-tgt:distcheck-light + NO_PKG_CONFIG=true ? ], dynamatrixAxesCommonEnv: [ - ['LANG=C','LC_ALL=C','TZ=UTC' - //,'BUILD_WARNFATAL=yes','BUILD_WARNOPT=hard' + ['LANG=C','LC_ALL=C','TZ=UTC','BUILD_WARNFATAL=yes' + //,'BUILD_WARNOPT=hard' ] ], allowedFailure: [ @@ -543,8 +543,8 @@ set | sort -n """ 'BUILD_TYPE': ['default-tgt:cppcheck'] ], dynamatrixAxesCommonEnv: [ - ['LANG=C','LC_ALL=C','TZ=UTC', 'DO_CLEAN_CHECK=no' - //,'BUILD_WARNFATAL=yes','BUILD_WARNOPT=hard' + ['LANG=C','LC_ALL=C','TZ=UTC', 'DO_CLEAN_CHECK=no', 'BUILD_WARNFATAL=yes' + //,'BUILD_WARNOPT=hard' ] ], allowedFailure: [ @@ -719,7 +719,8 @@ set | sort -n """ ], dynamatrixAxesCommonEnv: [ ['LANG=C','LC_ALL=C','TZ=UTC', - 'BUILD_WARNFATAL=yes','BUILD_WARNOPT=minimal' + 'BUILD_WARNFATAL=yes' + //,'BUILD_WARNOPT=medium' ] ], allowedFailure: [ @@ -766,7 +767,8 @@ set | sort -n """ // make sure we do not rely on hard-links, relative paths, // etc.) 'CI_BUILDDIR=obj', - 'BUILD_WARNFATAL=yes','BUILD_WARNOPT=minimal' + 'BUILD_WARNFATAL=yes' + //,'BUILD_WARNOPT=minimal' ] ], allowedFailure: [ @@ -805,7 +807,8 @@ set | sort -n """ ], dynamatrixAxesCommonEnv: [ ['LANG=C','LC_ALL=C','TZ=UTC', - 'BUILD_WARNFATAL=yes','BUILD_WARNOPT=minimal' + 'BUILD_WARNFATAL=yes' + //,'BUILD_WARNOPT=minimal' ] ], allowedFailure: [