MFH: r498336
devel/ccls: Fix build with multiple llvm* packages installed Apparently it is possible for the build to pick multiple LLVM versions if LLVM_DIR is not explicitly set similar to Clang_DIR. $ grep llvm $(make -V CONFIGURE_WRKSRC)/CMakeCache.txt Clang_DIR:PATH=/usr/local/llvm80/lib/cmake/clang LLVM_DIR:PATH=/usr/local/llvm50/lib/cmake/llvm PR: 237089 Submitted by: fullermd@over-yonder.net Approved by: ports-secteam blanket
This commit is contained in:
parent
55d6457115
commit
7b75219e6d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=498337
@ -21,7 +21,8 @@ GH_ACCOUNT= MaskRay
|
||||
# Commit matching 0.20190314
|
||||
#GH_TAGNAME= 1976fec59559b7d2a88b5dcd7631e089eaa194fc
|
||||
|
||||
CMAKE_ARGS= -DClang_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/clang"
|
||||
CMAKE_ARGS= -DClang_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/clang" \
|
||||
-DLLVM_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/llvm"
|
||||
CXXFLAGS+= -DNDEBUG
|
||||
|
||||
PLIST_FILES= bin/ccls
|
||||
|
Loading…
Reference in New Issue
Block a user