celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject celix git commit: CELIX-347: Using build options for ADDRESS SANTIZE
Date Tue, 16 Feb 2016 14:55:07 GMT
Repository: celix
Updated Branches:
  refs/heads/develop b13a5f8df -> e0ab154b7


CELIX-347: Using build options for ADDRESS SANTIZE


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/e0ab154b
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/e0ab154b
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/e0ab154b

Branch: refs/heads/develop
Commit: e0ab154b7e189537bd6ec395300b678bd9e5bf5c
Parents: b13a5f8
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Tue Feb 16 15:53:46 2016 +0100
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Tue Feb 16 15:53:46 2016 +0100

----------------------------------------------------------------------
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/e0ab154b/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 3e8b170..8f8042a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -74,9 +74,11 @@ before_script:
     - export BUILD_OPTIONS_OSX=" \
         -DBUILD_RSA_REMOTE_SERVICE_ADMIN_SHM=OFF \
         -DBUILD_RSA_DISCOVERY_SHM=OFF "
+    - export BUILD_OPTIONS_SANITIZE=" -DENABLE_ADDRESS_SANITIZER=ON"
 
 script:
-    - if [ "$SANITIZE" == 1 ]; then export CC=/usr/bin/gcc-4.8 CXX=/usr/bin/g++-4.8 CFLAGS="-lasan
-fsanitize=address"  CXXFLAGS="-lasan -fsanitize=address" ASAN_OPTIONS="symbolize=1" ASAN_SYMBOLIZER_PATH="/usr/local/clang-3.4/bin/llvm-symbolizer";
fi
+    #- if [ "$SANITIZE" == 1 ]; then export CC=/usr/bin/gcc-4.8 CXX=/usr/bin/g++-4.8 CFLAGS="-lasan
-fsanitize=address"  CXXFLAGS="-lasan -fsanitize=address" ASAN_OPTIONS="symbolize=1" ASAN_SYMBOLIZER_PATH="/usr/local/clang-3.4/bin/llvm-symbolizer";
fi
+    - if [ "$SANITIZE" == 1 ]; then export BUILD_OPTIONS="${BUILD_OPTIONS} ${BUILD_OPTIONS_SANITIZE}";
fi
      # the following setup is broken:
      # RSA_DISCOVERY_SHM is only working on linux, but both compilers (see CELIX-277)
      # RSA_SHM is only working on linux, but both compilers (see CELIX-277)


Mime
View raw message