forked from ports/contrib
lldb: updated cmake syntax
This commit is contained in:
parent
d613f2966b
commit
7cb3ee5d0a
@ -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
|
||||
|
15
lldb/Pkgfile
15
lldb/Pkgfile
@ -9,12 +9,15 @@ release=1
|
||||
source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/lldb-$version.src.tar.xz)
|
||||
|
||||
build() {
|
||||
cmake -S$name-$version.src -Bbuild -GNinja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
||||
-DLLDB_USE_SYSTEM_SIX=1
|
||||
cmake -S $name-$version.src -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-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 \
|
||||
-D LLVM_LINK_LLVM_DYLIB=ON \
|
||||
-D LLDB_USE_SYSTEM_SIX=1 \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user