diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2023-08-21 18:04:30 -0400 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-08-21 18:04:30 -0400 |
commit | dd69cd845711ab131a91fcee26364300875cfb31 (patch) | |
tree | 483c2cfabeb2c8a0809334aa691a3f6a54ac125a /jjb | |
parent | 2201be2d03e9eefd85b6fe77209c2559930cc7cc (diff) |
vpp: disable ccache for gcc builds
- avoid build breakage for incompatibility between
gcc & clang object files
Change-Id: I521863c5a651a87f06f23b6308a0f8ce91347feb
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/scripts/vpp/cov-build.sh | 4 | ||||
-rw-r--r-- | jjb/scripts/vpp/gcc-build.sh | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/jjb/scripts/vpp/cov-build.sh b/jjb/scripts/vpp/cov-build.sh index 7cfa82e63..15f86c3bf 100644 --- a/jjb/scripts/vpp/cov-build.sh +++ b/jjb/scripts/vpp/cov-build.sh @@ -62,7 +62,7 @@ make_test_coverage_report() { BUILD_ERROR="FAILED 'make test-dep'" return fi - if ! make UNATTENDED=yes pkg-verify ; then + if ! make UNATTENDED=yes CCACHE_DISABLE=1 pkg-verify ; then BUILD_ERROR="FAILED 'make pkg-verify'" return fi @@ -85,7 +85,7 @@ make_test_coverage_report() { fi fi if grep -q "${OS_ID}-${OS_VERSION_ID}" <<< "${MAKE_TEST_OS}"; then - if ! make COMPRESS_FAILED_TEST_LOGS=yes TEST_JOBS="$TEST_JOBS" test-cov ; then + if ! make COMPRESS_FAILED_TEST_LOGS=yes TEST_JOBS="$TEST_JOBS" CCACHE_DISABLE=1 test-cov ; then BUILD_ERROR="FAILED 'make test-cov'" return fi diff --git a/jjb/scripts/vpp/gcc-build.sh b/jjb/scripts/vpp/gcc-build.sh index 1d8160047..9bd6d4ff7 100644 --- a/jjb/scripts/vpp/gcc-build.sh +++ b/jjb/scripts/vpp/gcc-build.sh @@ -36,11 +36,11 @@ make_build_release_build_test_gcov_sanity() { BUILD_ERROR="FAILED 'make install-ext-deps'" return fi - if ! make UNATTENDED=yes build-release ; then - BUILD_ERROR="FAILED 'make build'" + if ! make UNATTENDED=yes CCACHE_DISABLE=1 build-release ; then + BUILD_ERROR="FAILED 'make build-release'" return fi - if ! make UNATTENDED=yes build ; then + if ! make UNATTENDED=yes CCACHE_DISABLE=1 build ; then BUILD_ERROR="FAILED 'make build'" return fi @@ -56,12 +56,12 @@ make_build_release_build_test_gcov_sanity() { # then update this accordingly. For now pick a few basic suites... MAKE_TEST_SUITES="vlib vppinfra vpe_api vapi cli bihash" for suite in $MAKE_TEST_SUITES ; do - if ! make UNATTENDED=yes TESTS_GCOV=1 TEST_JOBS="$TEST_JOBS" TEST=$suite test ; then - BUILD_ERROR="FAILED 'make TESTS_GCOV=1 TEST_JOBS=$TEST_JOBS TEST=$suite test'!" + if ! make UNATTENDED=yes CCACHE_DISABLE=1 TESTS_GCOV=1 TEST_JOBS="$TEST_JOBS" TEST=$suite test ; then + BUILD_ERROR="FAILED 'make TEST=$suite test'!" return fi - if ! make UNATTENDED=yes TESTS_GCOV=1 TEST_JOBS="$TEST_JOBS" TEST=$suite test-debug ; then - BUILD_ERROR="FAILED 'make TESTS_GCOV=1 TEST_JOBS=$TEST_JOBS TEST=$suite test-debug'!" + if ! make UNATTENDED=yes CCACHE_DISABLE=1 TESTS_GCOV=1 TEST_JOBS="$TEST_JOBS" TEST=$suite test-debug ; then + BUILD_ERROR="FAILED 'make TEST=$suite test-debug'!" return fi done |