]> git.lttng.org Git - lttng-ci.git/commitdiff
jjb: Set CXX standard for LTTng-UST builds on SLES12SP5
authorKienan Stewart <kstewart@efficios.com>
Mon, 20 Jan 2025 17:30:48 +0000 (12:30 -0500)
committerKienan Stewart <kstewart@efficios.com>
Mon, 20 Jan 2025 17:35:55 +0000 (12:35 -0500)
Change-Id: I323502c003fc57f05259cd288db98b4d9f425e94
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
scripts/lttng-ust/build.sh

index 15fd1af329c2fb9e2cf534745a9baa5fd5f42d3e..3c38bf3a1b3b43e73aa075eb73330c1bea5d74f0 100755 (executable)
@@ -207,6 +207,11 @@ if [[ -f /etc/products.d/SLES.prod ]] ; then
     if vergte "${SLES_VERSION}" "15.4" ; then
         export CLASSPATH='/usr/share/java/log4j/log4j-api.jar:/usr/share/java/log4j/log4j-core.jar:/usr/share/java/log4j12/log4j-12.jar'
     fi
+
+    if verlte "${SLES_VERSION}" "12.5" ; then
+        # liburcu 0.14+ needs C++-11, which is "experimental" on this platform
+        CXXFLAGS="${CXXFLAGS} -std=gnu++-11"
+    fi
 fi
 
 # Print build env details
This page took 0.025814 seconds and 4 git commands to generate.