1
0
forked from ports/contrib

lldb: updated cmake syntax

This commit is contained in:
Tim Biermann 2020-11-08 11:51:38 +00:00
parent d613f2966b
commit 7cb3ee5d0a
2 changed files with 11 additions and 8 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3/d0bD5mN1o0o6tHxP+ioG5NIL6SeqHsW+3ZFpfASAVuu+XWNKdDMtf3XtwntDXiPgB/+bq7X2923VA+if7DewE=
SHA256 (Pkgfile) = 612cb4513e9e03282a23d99a73ce9d7d7e31d15a38b1074362e02a2328f745c6
RWSagIOpLGJF368LlOiWkuoHjLMMcvSEA/jZlPjufRtvZJkoY0jkGBFYwMdoJFWWG4f6I6xKTSs/TzXmgZSpngmmFJFxj16eUgk=
SHA256 (Pkgfile) = 8c8126dad6bc8915c374410d0d7dcd70b6c2a1db2b348bf34cb4c386ee7632cd
SHA256 (.footprint) = 2b834f6b3742e340fd1eb66be8740b5ab2ae5247099645e2df5194ab54b72c5f
SHA256 (lldb-10.0.1.src.tar.xz) = 07abe87c25876aa306e73127330f5f37d270b6b082d50cc679e31b4fc02a3714

View File

@ -10,11 +10,14 @@ source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/
build() {
cmake -S $name-$version.src -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=/usr \
-DLLVM_LINK_LLVM_DYLIB=ON \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D PYTHON_EXECUTABLE=/usr/bin/python3 \
-DLLDB_USE_SYSTEM_SIX=1
-D LLVM_LINK_LLVM_DYLIB=ON \
-D LLDB_USE_SYSTEM_SIX=1 \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build