Allow CI to change cmake flags
This commit is contained in:
parent
347e78dba5
commit
1aaf4d4c92
@ -160,7 +160,7 @@ references:
|
|||||||
# Build
|
# Build
|
||||||
mkdir cmake
|
mkdir cmake
|
||||||
cd cmake
|
cd cmake
|
||||||
cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ${OPENMP_PARAMS}
|
cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ${OPENMP_PARAMS} ${CMAKE_FLAGS}
|
||||||
make -j$NUMCORES
|
make -j$NUMCORES
|
||||||
|
|
||||||
ccache --show-stats
|
ccache --show-stats
|
||||||
@ -208,6 +208,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: "g++-5"
|
APT_COMPILER_PACKAGE: "g++-5"
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
gcc_5_release:
|
gcc_5_release:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -217,6 +218,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: "g++-5"
|
APT_COMPILER_PACKAGE: "g++-5"
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Release"
|
BUILD_TYPE: "Release"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
gcc_6_debug:
|
gcc_6_debug:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -226,6 +228,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: "g++-6"
|
APT_COMPILER_PACKAGE: "g++-6"
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
gcc_6_release:
|
gcc_6_release:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -235,6 +238,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: "g++-6"
|
APT_COMPILER_PACKAGE: "g++-6"
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Release"
|
BUILD_TYPE: "Release"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
gcc_7_debug:
|
gcc_7_debug:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -244,6 +248,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: "g++-7"
|
APT_COMPILER_PACKAGE: "g++-7"
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
gcc_7_release:
|
gcc_7_release:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -253,6 +258,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: "g++-7"
|
APT_COMPILER_PACKAGE: "g++-7"
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Release"
|
BUILD_TYPE: "Release"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
gcc_8_debug:
|
gcc_8_debug:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -262,6 +268,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: "g++-8"
|
APT_COMPILER_PACKAGE: "g++-8"
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
gcc_8_release:
|
gcc_8_release:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -271,6 +278,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: "g++-8"
|
APT_COMPILER_PACKAGE: "g++-8"
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Release"
|
BUILD_TYPE: "Release"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
clang_4_debug:
|
clang_4_debug:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -280,6 +288,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: clang-4.0
|
APT_COMPILER_PACKAGE: clang-4.0
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
clang_4_release:
|
clang_4_release:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -289,6 +298,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: clang-4.0
|
APT_COMPILER_PACKAGE: clang-4.0
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Release"
|
BUILD_TYPE: "Release"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
clang_5_debug:
|
clang_5_debug:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -298,6 +308,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: clang-5.0
|
APT_COMPILER_PACKAGE: clang-5.0
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
clang_5_release:
|
clang_5_release:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -307,6 +318,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: clang-5.0
|
APT_COMPILER_PACKAGE: clang-5.0
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Release"
|
BUILD_TYPE: "Release"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
clang_6_debug:
|
clang_6_debug:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -316,6 +328,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: clang-6.0
|
APT_COMPILER_PACKAGE: clang-6.0
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
clang_6_release:
|
clang_6_release:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -325,6 +338,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: clang-6.0
|
APT_COMPILER_PACKAGE: clang-6.0
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Release"
|
BUILD_TYPE: "Release"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
clang_7_debug:
|
clang_7_debug:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -334,6 +348,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: clang-7
|
APT_COMPILER_PACKAGE: clang-7
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
clang_7_release:
|
clang_7_release:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -343,6 +358,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: clang-7
|
APT_COMPILER_PACKAGE: clang-7
|
||||||
CXXFLAGS: ""
|
CXXFLAGS: ""
|
||||||
BUILD_TYPE: "Release"
|
BUILD_TYPE: "Release"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
no_compatibility:
|
no_compatibility:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -352,6 +368,7 @@ jobs:
|
|||||||
APT_COMPILER_PACKAGE: clang-7
|
APT_COMPILER_PACKAGE: clang-7
|
||||||
CXXFLAGS: "-DCRYFS_NO_COMPATIBILITY"
|
CXXFLAGS: "-DCRYFS_NO_COMPATIBILITY"
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
address_sanitizer:
|
address_sanitizer:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -363,6 +380,7 @@ jobs:
|
|||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
ASAN_OPTIONS: "detect_leaks=1 check_initialization_order=1 detect_stack_use_after_return=1 detect_invalid_pointer_pairs=1 atexit=1"
|
ASAN_OPTIONS: "detect_leaks=1 check_initialization_order=1 detect_stack_use_after_return=1 detect_invalid_pointer_pairs=1 atexit=1"
|
||||||
DISABLE_BROKEN_ASAN_TESTS: true
|
DISABLE_BROKEN_ASAN_TESTS: true
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
ub_sanitizer:
|
ub_sanitizer:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -373,6 +391,7 @@ jobs:
|
|||||||
CXXFLAGS: "-O2 -fno-sanitize-recover=undefined,nullability,implicit-conversion,unsigned-integer-overflow -fno-omit-frame-pointer -fno-common"
|
CXXFLAGS: "-O2 -fno-sanitize-recover=undefined,nullability,implicit-conversion,unsigned-integer-overflow -fno-omit-frame-pointer -fno-common"
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
DISABLE_BROKEN_ASAN_TESTS: true
|
DISABLE_BROKEN_ASAN_TESTS: true
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
thread_sanitizer:
|
thread_sanitizer:
|
||||||
<<: *job_definition
|
<<: *job_definition
|
||||||
environment:
|
environment:
|
||||||
@ -383,6 +402,7 @@ jobs:
|
|||||||
CXXFLAGS: "-O2 -fsanitize=thread -fno-omit-frame-pointer"
|
CXXFLAGS: "-O2 -fsanitize=thread -fno-omit-frame-pointer"
|
||||||
BUILD_TYPE: "Debug"
|
BUILD_TYPE: "Debug"
|
||||||
DISABLE_BROKEN_TSAN_TESTS: true
|
DISABLE_BROKEN_TSAN_TESTS: true
|
||||||
|
CMAKE_FLAGS: ""
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
Loading…
Reference in New Issue
Block a user