makedeb


llvm13 13.r5140.g972b6a3a3471-1


Low Level Virtual Machine 13 for clasp

Click here to go back to the commit logs for llvm13.

Commit:


Hash: 8d45f437abf591efb2f8916936c080302d2110d6

Message: Add libunwind

Diff


diff --git a/.SRCINFO b/.SRCINFO
index e0c7861..6a7bc42 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = llvm13
 	pkgdesc = Low Level Virtual Machine 13 for clasp
-	pkgver = 13.0.0+r383356.972b6a3a3471
+	pkgver = 13.0.0.r383357.28b4d0fad074
 	pkgrel = 1
 	url = https://llvm.org/
 	arch = x86_64
@@ -12,7 +12,7 @@ pkgbase = llvm13
 	makedepends = libxml2-dev
 	makedepends = binutils-dev
 	options = staticlibs
-	source = llvm-project::git+https://github.com/llvm/llvm-project.git#commit=972b6a3a3471c2a742c5c5d8ec004ff640d544c4
+	source = llvm-project::git+https://github.com/clasp-developers/llvm-project.git#branch=clasp-ready
 	md5sums = SKIP
 	sha512sums = SKIP
 
diff --git a/PKGBUILD b/PKGBUILD
index 2b4f44f..85012ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Tarn W. Burton <twburton@gmail.com>
 
 pkgname=('llvm13')
-pkgver=13.0.0+r383356.972b6a3a3471
+pkgver=13.0.0.r383357.28b4d0fad074
 pkgrel=1
 pkgdesc="Low Level Virtual Machine 13 for clasp"
 arch=('x86_64')
@@ -9,7 +9,7 @@ url="https://llvm.org/"
 license=('custom:Apache 2.0 with LLVM Exception')
 makedepends=('cmake' 'libffi-dev' 'libedit-dev' 'libncurses-dev' 'libxml2-dev' 'binutils-dev')
 options=('staticlibs')
-source=("llvm-project::git+https://github.com/llvm/llvm-project.git#commit=972b6a3a3471c2a742c5c5d8ec004ff640d544c4")
+source=("llvm-project::git+https://github.com/clasp-developers/llvm-project.git#branch=clasp-ready")
 md5sums=('SKIP')
 sha512sums=('SKIP')
 
@@ -24,21 +24,21 @@ pkgver() {
           'BEGIN { ORS="." ; i=0 } \
            /set\(LLVM_VERSION_/ { print $2 ; i++ ; if (i==2) ORS="" } \
            END { print "\n" }' \
-           CMakeLists.txt)+r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+           CMakeLists.txt).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
   echo "$_pkgver"
 }
 
 build() {
   mkdir -p build
   cd build
-  #    -DBUILD_SHARED_LIBS=ON \
+  
   cmake -G "Unix Makefiles" \
   -DLLVM_BINUTILS_INCDIR=/usr/local/opt/binutils/include \
   -DLLVM_ABI_BREAKING_CHECKS=FORCE_OFF \
   -DLINK_POLLY_INTO_TOOLS=ON \
   -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \
   -DLLVM_BUILD_LLVM_DYLIB=ON \
-  -DLLVM_ENABLE_ASSERTIONS=OFF \
+  -DLLVM_ENABLE_ASSERTIONS=ON \
   -DLLVM_ENABLE_EH=ON \
   -DLLVM_ENABLE_FFI=ON \
   -DLLVM_ENABLE_LIBCXX=ON \
@@ -47,11 +47,12 @@ build() {
   -DLLVM_INSTALL_UTILS=ON \
   -DLLVM_OPTIMIZED_TABLEGEN=ON \
   -DLLVM_TARGETS_TO_BUILD=X86 \
-  -DLLVM_ENABLE_PROJECTS=clang\;libcxxabi\;libcxx \
+  -DLLVM_ENABLE_PROJECTS=clang\;compiler-rt\;libunwind\;libcxxabi\;libcxx\;lldb \
   -DCMAKE_BUILD_TYPE=Release \
   -DWITH_POLLY=ON \
   -DCMAKE_INSTALL_PREFIX=/opt/llvm13 \
   -DLLVM_CREATE_XCODE_TOOLCHAIN=ON \
+  -DEXECUTION_ENGINE_USE_LLVM_UNWINDER=1 \
   ../llvm-project/llvm
 
   make -j 4