summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2018-12-30 13:09:02 -0500
committerAllen Winter <allen.winter@kdab.com>2018-12-30 13:09:02 -0500
commit0c5f95c54cba7a64871a548ae2eb9bfbf0ba3a23 (patch)
tree30867086a0fbea1a626a5424a8d8fbce2d7b312f /scripts
parentd301105bab79b136974c4ea0a8df9fa818fae4e4 (diff)
downloadlibical-git-0c5f95c54cba7a64871a548ae2eb9bfbf0ba3a23.tar.gz
scripts/buildtests.sh - LTO build checking
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildtests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index aa883c27..11d13ea0 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -472,6 +472,7 @@ BDIR=""
CMAKEOPTS="-DCMAKE_BUILD_TYPE=Debug -DGOBJECT_INTROSPECTION=False -DICAL_GLIB=False -DICAL_BUILD_DOCS=False"
UUCCMAKEOPTS="$CMAKEOPTS -DCMAKE_DISABLE_FIND_PACKAGE_ICU=True"
TZCMAKEOPTS="$CMAKEOPTS -DUSE_BUILTIN_TZDATA=True"
+LTOCMAKEOPTS="$CMAKEOPTS -DENABLE_LTO_BUILD=True"
#Static code checkers
KRAZY
@@ -488,6 +489,7 @@ CLANGTIDY test2builtin "$TZCMAKEOPTS"
GCC_BUILD test1 ""
GCC_BUILD test2 "$CMAKEOPTS"
GCC_BUILD test3 "$UUCCMAKEOPTS"
+GCC_BUILD test4 "$LTOCMAKEOPTS"
if (test "`uname -s`" = "Linux")
then
echo "Temporarily disable cross-compile tests"
@@ -501,6 +503,7 @@ GCC_BUILD test2builtin "$TZCMAKEOPTS"
CLANG_BUILD test1 ""
CLANG_BUILD test2 "$CMAKEOPTS"
CLANG_BUILD test3 "$UUCCMAKEOPTS"
+#CLANG_BUILD test4 "$LTOCMAKEOPTS"
if (test "`uname -s`" = "Linux")
then
echo "Temporarily disable cross-compile tests"