summaryrefslogtreecommitdiff
path: root/tools/ci/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs')
-rwxr-xr-xtools/ci/jobs/gccsnapshot.sh6
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sanitize_tests.sh6
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sdl2.sh6
-rwxr-xr-xtools/ci/jobs/gccsnapshot_tests.sh6
4 files changed, 20 insertions, 4 deletions
diff --git a/tools/ci/jobs/gccsnapshot.sh b/tools/ci/jobs/gccsnapshot.sh
index b9b677fd8..00e7a9944 100755
--- a/tools/ci/jobs/gccsnapshot.sh
+++ b/tools/ci/jobs/gccsnapshot.sh
@@ -11,6 +11,10 @@ if [ "$NEWCXX" != "" ]; then
export CXX="$NEWCXX"
fi
+if [ "$FLAGS" == "" ]; then
+ export FLAGS="gccsnapshot.sh"
+fi
+
export PATH=/usr/lib/gcc-snapshot/bin:$PATH
source ./tools/ci/scripts/init.sh
@@ -20,7 +24,7 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-std=gnu++1z -Wformat=1 \
-Wno-attributes -fno-omit-frame-pointer"
-source ./tools/ci/flags/gccsnapshot.sh
+source ./tools/ci/flags/${FLAGS}
export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"
diff --git a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
index 7568d455e..d831291e9 100755
--- a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
+++ b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
@@ -10,6 +10,10 @@ if [ "$NEWCXX" != "" ]; then
export CXX="$NEWCXX"
fi
+if [ "$FLAGS" == "" ]; then
+ export FLAGS="gccsnapshot.sh"
+fi
+
export LOGFILE=gcc-snapshot.log
export PATH=/usr/lib/gcc-snapshot/bin:$PATH
@@ -28,7 +32,7 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-std=gnu++1z -Wformat=1 \
-Wno-attributes"
-source ./tools/ci/flags/gcc6.sh
+source ./tools/ci/flags/${FLAGS}
export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"
diff --git a/tools/ci/jobs/gccsnapshot_sdl2.sh b/tools/ci/jobs/gccsnapshot_sdl2.sh
index 6a5cc68bb..82ad35c5b 100755
--- a/tools/ci/jobs/gccsnapshot_sdl2.sh
+++ b/tools/ci/jobs/gccsnapshot_sdl2.sh
@@ -10,6 +10,10 @@ if [ "$NEWCXX" != "" ]; then
export CXX="$NEWCXX"
fi
+if [ "$FLAGS" == "" ]; then
+ export FLAGS="gccsnapshot.sh"
+fi
+
export LOGFILE=gcc-snapshot.log
export PATH=/usr/lib/gcc-snapshot/bin:$PATH
@@ -20,7 +24,7 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-std=gnu++1z -Wformat=1 \
-Wno-attributes -fno-omit-frame-pointer"
-source ./tools/ci/flags/gccsnapshot.sh
+source ./tools/ci/flags/${FLAGS}
export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"
diff --git a/tools/ci/jobs/gccsnapshot_tests.sh b/tools/ci/jobs/gccsnapshot_tests.sh
index 7105356c9..a97e65142 100755
--- a/tools/ci/jobs/gccsnapshot_tests.sh
+++ b/tools/ci/jobs/gccsnapshot_tests.sh
@@ -10,6 +10,10 @@ if [ "$NEWCXX" != "" ]; then
export CXX="$NEWCXX"
fi
+if [ "$FLAGS" == "" ]; then
+ export FLAGS="gccsnapshot.sh"
+fi
+
export LOGFILE=gcc-snapshot.log
export PATH=/usr/lib/gcc-snapshot/bin:$PATH
@@ -20,7 +24,7 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-std=gnu++1z -Wformat=1 \
-Wno-attributes"
-source ./tools/ci/flags/gcc6.sh
+source ./tools/ci/flags/${FLAGS}
export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"