Merge branch 'ci_no_debug_symbols' into 'master'
Disable Debug symbols in CI to reduce the ccache size See merge request basalt/basalt!15
This commit is contained in:
commit
88ea17d404
|
@ -94,7 +94,7 @@ bionic-release-compile:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
variables:
|
variables:
|
||||||
CXX_MARCH: 'corei7-avx'
|
CXX_MARCH: 'sandybridge'
|
||||||
DEB_DIR: deb_bionic
|
DEB_DIR: deb_bionic
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
@ -109,7 +109,7 @@ xenial-release-compile:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
variables:
|
variables:
|
||||||
CXX_MARCH: 'corei7-avx'
|
CXX_MARCH: 'sandybridge'
|
||||||
DEB_DIR: deb_xenial
|
DEB_DIR: deb_xenial
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
@ -122,13 +122,13 @@ bionic-debug-compile:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
variables:
|
variables:
|
||||||
BUILD_TYPE: Debug
|
BUILD_TYPE: CiDebug
|
||||||
|
|
||||||
bionic-relwithdebinfo-compile:
|
bionic-relwithdebinfo-compile:
|
||||||
<<: *prepare_docker_definition
|
<<: *prepare_docker_definition
|
||||||
<<: *compile_test_package_definition
|
<<: *compile_test_package_definition
|
||||||
variables:
|
variables:
|
||||||
BUILD_TYPE: RelWithDebInfo
|
BUILD_TYPE: CiRelWithDebInfo
|
||||||
|
|
||||||
elcapitan-relwithdebinfo-compile:
|
elcapitan-relwithdebinfo-compile:
|
||||||
<<: *compile_test_definition
|
<<: *compile_test_definition
|
||||||
|
@ -136,7 +136,7 @@ elcapitan-relwithdebinfo-compile:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
variables:
|
variables:
|
||||||
BUILD_TYPE: RelWithDebInfo
|
BUILD_TYPE: CiRelWithDebInfo
|
||||||
|
|
||||||
mojave-relwithdebinfo-compile:
|
mojave-relwithdebinfo-compile:
|
||||||
<<: *compile_test_definition
|
<<: *compile_test_definition
|
||||||
|
@ -144,7 +144,7 @@ mojave-relwithdebinfo-compile:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
variables:
|
variables:
|
||||||
BUILD_TYPE: RelWithDebInfo
|
BUILD_TYPE: CiRelWithDebInfo
|
||||||
|
|
||||||
# check if clang-format would make any changes
|
# check if clang-format would make any changes
|
||||||
clang-format:
|
clang-format:
|
||||||
|
|
|
@ -89,6 +89,8 @@ set(BASALT_PASSED_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -DEIGEN_INITIALIZE_MATRICES_BY_NAN") # cmake default: "-g"
|
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -DEIGEN_INITIALIZE_MATRICES_BY_NAN") # cmake default: "-g"
|
||||||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DEIGEN_INITIALIZE_MATRICES_BY_NAN") # cmake default: "-O2 -g -DNDEBUG"
|
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DEIGEN_INITIALIZE_MATRICES_BY_NAN") # cmake default: "-O2 -g -DNDEBUG"
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG") # cmake default: "-O3 -DNDEBUG"
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG") # cmake default: "-O3 -DNDEBUG"
|
||||||
|
set(CMAKE_CXX_FLAGS_CIDEBUG "-O0 -DEIGEN_INITIALIZE_MATRICES_BY_NAN") # CI version with no debug symbols
|
||||||
|
set(CMAKE_CXX_FLAGS_CIRELWITHDEBINFO "-O3 -DEIGEN_INITIALIZE_MATRICES_BY_NAN") # CI version with no debug symbols
|
||||||
|
|
||||||
# base set of compile flags
|
# base set of compile flags
|
||||||
set(BASALT_CXX_FLAGS "-Wall -Wextra -Werror -Wno-unused-parameter -ftemplate-backtrace-limit=0")
|
set(BASALT_CXX_FLAGS "-Wall -Wextra -Werror -Wno-unused-parameter -ftemplate-backtrace-limit=0")
|
||||||
|
|
Loading…
Reference in New Issue