summaryrefslogtreecommitdiff
path: root/llvm-32
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-12-12 16:57:31 +1100
committerDanny Rawlins <contact@romster.me>2021-12-12 16:57:31 +1100
commit4b87e6e810667a0879c6e50d0ee89976bf80d531 (patch)
tree79a9d649821a66480131a21b7f6f0eecd23c5df1 /llvm-32
parenta05c0f080aabb91fcf1d6dbac09d6f0b1103bc8b (diff)
downloadcompat-32-4b87e6e810667a0879c6e50d0ee89976bf80d531.tar.gz
compat-32-4b87e6e810667a0879c6e50d0ee89976bf80d531.tar.xz
llvm-32: resync options with opt/llvm
Diffstat (limited to 'llvm-32')
-rw-r--r--llvm-32/.footprint7
-rw-r--r--llvm-32/.signature6
-rw-r--r--llvm-32/Pkgfile8
3 files changed, 16 insertions, 5 deletions
diff --git a/llvm-32/.footprint b/llvm-32/.footprint
index 3ea4c2ec..922b5fa5 100644
--- a/llvm-32/.footprint
+++ b/llvm-32/.footprint
@@ -6,6 +6,7 @@ drwxr-xr-x root/root usr/include/llvm/
drwxr-xr-x root/root usr/include/llvm/Config/
-rw-r--r-- root/root usr/include/llvm/Config/llvm-config-32.h
drwxr-xr-x root/root usr/lib32/
+-rwxr-xr-x root/root usr/lib32/LLVMgold.so
drwxr-xr-x root/root usr/lib32/cmake/
drwxr-xr-x root/root usr/lib32/cmake/llvm/
-rw-r--r-- root/root usr/lib32/cmake/llvm/AddLLVM.cmake
@@ -130,6 +131,12 @@ lrwxrwxrwx root/root usr/lib32/libLLVM.so -> libLLVM-13.so
-rw-r--r-- root/root usr/lib32/libLLVMTextAPI.a
-rw-r--r-- root/root usr/lib32/libLLVMTransformUtils.a
-rw-r--r-- root/root usr/lib32/libLLVMVectorize.a
+-rw-r--r-- root/root usr/lib32/libLLVMWebAssemblyAsmParser.a
+-rw-r--r-- root/root usr/lib32/libLLVMWebAssemblyCodeGen.a
+-rw-r--r-- root/root usr/lib32/libLLVMWebAssemblyDesc.a
+-rw-r--r-- root/root usr/lib32/libLLVMWebAssemblyDisassembler.a
+-rw-r--r-- root/root usr/lib32/libLLVMWebAssemblyInfo.a
+-rw-r--r-- root/root usr/lib32/libLLVMWebAssemblyUtils.a
-rw-r--r-- root/root usr/lib32/libLLVMWindowsManifest.a
-rw-r--r-- root/root usr/lib32/libLLVMX86AsmParser.a
-rw-r--r-- root/root usr/lib32/libLLVMX86CodeGen.a
diff --git a/llvm-32/.signature b/llvm-32/.signature
index c4945b74..f7655f6a 100644
--- a/llvm-32/.signature
+++ b/llvm-32/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/compat-32.pub
-RWSwxGo/zH7eXYObcnyG9MuLHlvKxlhtnGFilfbtCeZ4HaTwmxsDqigJymRSCtmH0SPZ3yK2GPJWVLK5t41P6YNfqwgGu3Iu/AE=
-SHA256 (Pkgfile) = 5877f7a0d022692e42ef1c8781d8a3dabe1b54cc5f26078acfade41cb0d09a55
-SHA256 (.footprint) = 729b0decc0b967376a6d0dce0e46aae558196d99b00332df5fe4b7dd58d05ac2
+RWSwxGo/zH7eXbqAwOZKsP/MMCxuIqEQ6HVytYIi5YLAB2TmjGYCsI3J6FecOX2FWNnF+EhSYfvP9tSrgVkNj6JKV5Xe9S0+mgo=
+SHA256 (Pkgfile) = 33477662d001f40b16b68f7e79e43a45951b89522710ac9c09fa09c635602a30
+SHA256 (.footprint) = 6c478f54127d44232aca2bb51547fc5b03675c512f55ac6a529b19cc33f2aeec
SHA256 (llvm-13.0.0.src.tar.xz) = 408d11708643ea826f519ff79761fcdfc12d641a2510229eec459e72f8163020
diff --git a/llvm-32/Pkgfile b/llvm-32/Pkgfile
index 073dc4d9..2099f45a 100644
--- a/llvm-32/Pkgfile
+++ b/llvm-32/Pkgfile
@@ -5,7 +5,7 @@
name=llvm-32
version=13.0.0
-release=1
+release=2
source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-$version.src.tar.xz)
build() {
@@ -17,7 +17,8 @@ build() {
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="${CFLAGS}" \
-D CMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS}" \
- -D LLVM_TARGETS_TO_BUILD='X86;AMDGPU;BPF;NVPTX' \
+ -D LLVM_TARGETS_TO_BUILD='X86;AMDGPU;BPF;NVPTX;WebAssembly' \
+ -D LLVM_BINUTILS_INCDIR=/usr/include \
-D LLVM_BUILD_LLVM_DYLIB=ON \
-D LLVM_LINK_LLVM_DYLIB=ON \
-D LLVM_PARALLEL_COMPILE_JOBS="${JOBS:-1}" \
@@ -28,7 +29,10 @@ build() {
-D LLVM_ENABLE_RTTI=ON \
-D LLVM_ENABLE_OCAMLDOC=OFF \
-D LLVM_INSTALL_UTILS=ON \
+ -D LLVM_ENABLE_LIBCXX=OFF \
+ -D LLVM_ENABLE_LLD="$(prt-get isinst lld >/dev/null && echo ON || echo OFF)" \
-D LLVM_DEFAULT_TARGET_TRIPLE="i686-pc-linux-gnu" \
+ -D LLVM_OPTIMIZED_TABLEGEN=ON \
-Wno-dev
cmake --build build

Generated by cgit