From d7be4850e701a7be51987415b35ec3998dc8b65a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 11 May 2015 12:54:11 +0100 Subject: [PATCH] Bamboo build settings --- bamboo/opensuse131-CLANG-flags.cmake | 1 + bamboo/opensuse131-INTEL-env.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 bamboo/opensuse131-CLANG-flags.cmake create mode 100644 bamboo/opensuse131-INTEL-env.sh diff --git a/bamboo/opensuse131-CLANG-flags.cmake b/bamboo/opensuse131-CLANG-flags.cmake new file mode 100644 index 000000000..82881c100 --- /dev/null +++ b/bamboo/opensuse131-CLANG-flags.cmake @@ -0,0 +1 @@ +SET( CMAKE_C_FLAGS "-fsanitize=thread" CACHE STRING "Enable clang thread sanitizer" ) diff --git a/bamboo/opensuse131-INTEL-env.sh b/bamboo/opensuse131-INTEL-env.sh new file mode 100644 index 000000000..23e229cb6 --- /dev/null +++ b/bamboo/opensuse131-INTEL-env.sh @@ -0,0 +1,7 @@ +# Initialise module environment if it is not +if [[ ! $(command -v module > /dev/null 2>&1) ]]; then + . /usr/local/apps/module/init/bash +fi +# eccodes module conflicts with intel module +module unload eccodes +module switch gnu intel/15.0.2