makedeb
Low Level Virtual Machine 13 for clasp
Click here to go back to the commit logs for llvm13.
Hash: 096a5d8a0efa514d3c8c8cec8c676c6b62f29d3e
Message: Use vanilla llvm
diff --git a/.SRCINFO b/.SRCINFO
index 6a7bc42..332fd16 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,7 +12,7 @@ pkgbase = llvm13
makedepends = libxml2-dev
makedepends = binutils-dev
options = staticlibs
- source = llvm-project::git+https://github.com/clasp-developers/llvm-project.git#branch=clasp-ready
+ source = llvm-project::git+https://github.com/llvm/llvm-project.git#commit=972b6a3a3471c2a742c5c5d8ec004ff640d544c4
md5sums = SKIP
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 85012ad..179590f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/clasp-developers/llvm-project.git#branch=clasp-ready")
+source=("llvm-project::git+https://github.com/llvm/llvm-project.git#commit=972b6a3a3471c2a742c5c5d8ec004ff640d544c4")
md5sums=('SKIP')
sha512sums=('SKIP')
@@ -31,7 +31,7 @@ pkgver() {
build() {
mkdir -p build
cd build
-
+
cmake -G "Unix Makefiles" \
-DLLVM_BINUTILS_INCDIR=/usr/local/opt/binutils/include \
-DLLVM_ABI_BREAKING_CHECKS=FORCE_OFF \
@@ -47,12 +47,10 @@ build() {
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_OPTIMIZED_TABLEGEN=ON \
-DLLVM_TARGETS_TO_BUILD=X86 \
- -DLLVM_ENABLE_PROJECTS=clang\;compiler-rt\;libunwind\;libcxxabi\;libcxx\;lldb \
+ -DLLVM_ENABLE_PROJECTS=clang\;compiler-rt\;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