You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
fix(build) Remove _GLIBXX flags for Columnstore debug builds
This commit is contained in:
committed by
Leonid Fedorov
parent
57e2375dbc
commit
ffd7be2080
@@ -8,6 +8,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.13)
|
|||||||
PROJECT(Columnstore)
|
PROJECT(Columnstore)
|
||||||
INCLUDE (CheckCXXSourceCompiles)
|
INCLUDE (CheckCXXSourceCompiles)
|
||||||
|
|
||||||
|
# MariaDB server adds this flags by default for Debug builds, and this makes our external projects
|
||||||
|
# ABI incompatible with debug STL containers
|
||||||
|
STRING(REPLACE -D_GLIBCXX_DEBUG "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG})
|
||||||
|
STRING(REPLACE -D_GLIBCXX_ASSERTIONS "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG})
|
||||||
|
|
||||||
|
|
||||||
FOREACH(p CMP0135)
|
FOREACH(p CMP0135)
|
||||||
IF(POLICY ${p})
|
IF(POLICY ${p})
|
||||||
CMAKE_POLICY(SET ${p} NEW)
|
CMAKE_POLICY(SET ${p} NEW)
|
||||||
|
@@ -371,7 +371,7 @@ run_unit_tests()
|
|||||||
warn "Skipping unittests"
|
warn "Skipping unittests"
|
||||||
else
|
else
|
||||||
message "Running unittests"
|
message "Running unittests"
|
||||||
cd $MDB_SOURCE_PATH
|
cd $MARIA_BUILD_PATH
|
||||||
${CTEST_BIN_NAME} . -R columnstore: -j $(nproc) --progress
|
${CTEST_BIN_NAME} . -R columnstore: -j $(nproc) --progress
|
||||||
cd - > /dev/null
|
cd - > /dev/null
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user