This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 52d75f5  Support for clang-analyzer to use Fedora 29 packages
52d75f5 is described below

commit 52d75f5133393b0b378f7490147757fd8ed87146
Author: Bryan Call <[email protected]>
AuthorDate: Fri May 18 12:21:39 2018 -0700

    Support for clang-analyzer to use Fedora 29 packages
    
    Example: LLVM=/usr ./ci/jenkins/bin/clang-analyzer.sh
---
 ci/jenkins/bin/clang-analyzer.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/jenkins/bin/clang-analyzer.sh b/ci/jenkins/bin/clang-analyzer.sh
index 33fcbae..7c96b66 100755
--- a/ci/jenkins/bin/clang-analyzer.sh
+++ b/ci/jenkins/bin/clang-analyzer.sh
@@ -77,8 +77,8 @@ export CCC_CXX=${LLVM_BASE}/bin/clang++
 [ "$output" != "/tmp" ] && echo "Results (if any) can be found at 
${results_url}"
 autoreconf -fi
 ${LLVM_BASE}/bin/scan-build ./configure ${configure} \
-    CXXFLAGS="-stdlib=libc++ -I/opt/llvm/include/c++/v1 -std=c++17" \
-    LDFLAGS="-L/opt/llvm/lib64 -Wl,-rpath=/opt/llvm/lib64"
+    CXXFLAGS="-stdlib=libc++ -I${LLVM_BASE}/include/c++/v1 -std=c++17" \
+    LDFLAGS="-L${LLVM_BASE}/lib64 -Wl,-rpath=${LLVM_BASE}/lib64"
 
 # Since we don't want the analyzer to look at LuaJIT, build it first
 # without scan-build. The subsequent make will then skip it.

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to