mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Extract Clang version to $CLANG_VERSION
Extracting Clang version helps with updating Clang version in one place and not missing one of its instances.
This commit is contained in:
@@ -16,10 +16,11 @@ variables:
|
|||||||
TEST_PARALLEL_JOBS: 6
|
TEST_PARALLEL_JOBS: 6
|
||||||
|
|
||||||
CONFIGURE: ./configure
|
CONFIGURE: ./configure
|
||||||
CLANG: clang-14
|
CLANG_VERSION: 14
|
||||||
SCAN_BUILD: scan-build-14
|
CLANG: "clang-${CLANG_VERSION}"
|
||||||
ASAN_SYMBOLIZER_PATH: /usr/lib/llvm-14/bin/llvm-symbolizer
|
SCAN_BUILD: "scan-build-${CLANG_VERSION}"
|
||||||
CLANG_FORMAT: clang-format-14
|
ASAN_SYMBOLIZER_PATH: "/usr/lib/llvm-${CLANG_VERSION}/bin/llvm-symbolizer"
|
||||||
|
CLANG_FORMAT: "clang-format-${CLANG_VERSION}"
|
||||||
|
|
||||||
CFLAGS_COMMON: -fno-omit-frame-pointer -fno-optimize-sibling-calls -O1 -g -Wall -Wextra
|
CFLAGS_COMMON: -fno-omit-frame-pointer -fno-optimize-sibling-calls -O1 -g -Wall -Wextra
|
||||||
|
|
||||||
@@ -1013,7 +1014,7 @@ clang:tsan:
|
|||||||
|
|
||||||
system:clang:tsan:
|
system:clang:tsan:
|
||||||
variables:
|
variables:
|
||||||
TSAN_OPTIONS: "${TSAN_OPTIONS_COMMON} external_symbolizer_path=/usr/lib/llvm-14/bin/llvm-symbolizer"
|
TSAN_OPTIONS: "${TSAN_OPTIONS_COMMON} external_symbolizer_path=/usr/lib/llvm-${CLANG_VERSION}/bin/llvm-symbolizer"
|
||||||
<<: *base_image
|
<<: *base_image
|
||||||
<<: *system_test_tsan_job
|
<<: *system_test_tsan_job
|
||||||
needs:
|
needs:
|
||||||
@@ -1022,7 +1023,7 @@ system:clang:tsan:
|
|||||||
|
|
||||||
unit:clang:tsan:
|
unit:clang:tsan:
|
||||||
variables:
|
variables:
|
||||||
TSAN_OPTIONS: "${TSAN_OPTIONS_COMMON} external_symbolizer_path=/usr/lib/llvm-14/bin/llvm-symbolizer suppressions=$CI_PROJECT_DIR/tsan-suppressions.txt"
|
TSAN_OPTIONS: "${TSAN_OPTIONS_COMMON} external_symbolizer_path=/usr/lib/llvm-${CLANG_VERSION}/bin/llvm-symbolizer suppressions=$CI_PROJECT_DIR/tsan-suppressions.txt"
|
||||||
<<: *base_image
|
<<: *base_image
|
||||||
<<: *unit_test_tsan_job
|
<<: *unit_test_tsan_job
|
||||||
needs:
|
needs:
|
||||||
|
Reference in New Issue
Block a user