From commits-return-3484-apmail-celix-commits-archive=celix.apache.org@celix.apache.org Mon Apr 11 10:54:32 2016 Return-Path: X-Original-To: apmail-celix-commits-archive@www.apache.org Delivered-To: apmail-celix-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B675F19A2D for ; Mon, 11 Apr 2016 10:54:31 +0000 (UTC) Received: (qmail 10232 invoked by uid 500); 11 Apr 2016 10:54:31 -0000 Delivered-To: apmail-celix-commits-archive@celix.apache.org Received: (qmail 10180 invoked by uid 500); 11 Apr 2016 10:54:31 -0000 Mailing-List: contact commits-help@celix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@celix.apache.org Delivered-To: mailing list commits@celix.apache.org Received: (qmail 8852 invoked by uid 99); 11 Apr 2016 10:54:29 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 10:54:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8D916EAB48; Mon, 11 Apr 2016 10:54:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pnoltes@apache.org To: commits@celix.apache.org Date: Mon, 11 Apr 2016 10:55:12 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [45/50] celix git commit: CELIX-347: Using build options for ADDRESS SANTIZE 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/release/celix-2.0.0 Commit: e0ab154b7e189537bd6ec395300b678bd9e5bf5c Parents: b13a5f8 Author: Pepijn Noltes Authored: Tue Feb 16 15:53:46 2016 +0100 Committer: Pepijn Noltes 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)