ports/compat-32 (3.6): [notify] llvm-32: 11.1.0 -> 12.0.0 ABI/soname version change check with revdep

crux at crux.nu crux at crux.nu
Sat May 8 03:33:10 UTC 2021


commit fb56a08ce05b8156c3fe8ec1cf522e07876b6f58
Author: Danny Rawlins <contact at romster.me>
Date:   Sat May 8 13:32:51 2021 +1000

    [notify] llvm-32: 11.1.0 -> 12.0.0 ABI/soname version change check with revdep

diff --git a/llvm-32/.footprint b/llvm-32/.footprint
index d2ca5cc..c06ffc5 100644
--- a/llvm-32/.footprint
+++ b/llvm-32/.footprint
@@ -24,8 +24,10 @@ drwxr-xr-x	root/root	usr/lib32/cmake/llvm/
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/FindSphinx.cmake
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/FindZ3.cmake
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/GenerateVersionFromVCS.cmake
+-rw-r--r--	root/root	usr/lib32/cmake/llvm/GetLibraryName.cmake
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/HandleLLVMOptions.cmake
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/HandleLLVMStdlib.cmake
+-rw-r--r--	root/root	usr/lib32/cmake/llvm/LLVM-Build.cmake
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/LLVM-Config.cmake
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/LLVMConfig.cmake
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/LLVMConfigExtensions.cmake
@@ -40,9 +42,9 @@ drwxr-xr-x	root/root	usr/lib32/cmake/llvm/
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/TensorFlowCompile.cmake
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/UseLibtool.cmake
 -rw-r--r--	root/root	usr/lib32/cmake/llvm/VersionFromVCS.cmake
-lrwxrwxrwx	root/root	usr/lib32/libLLVM-11.1.0.so -> libLLVM-11.so
--rwxr-xr-x	root/root	usr/lib32/libLLVM-11.so
-lrwxrwxrwx	root/root	usr/lib32/libLLVM.so -> libLLVM-11.so
+lrwxrwxrwx	root/root	usr/lib32/libLLVM-12.0.0.so -> libLLVM-12.so
+-rwxr-xr-x	root/root	usr/lib32/libLLVM-12.so
+lrwxrwxrwx	root/root	usr/lib32/libLLVM.so -> libLLVM-12.so
 -rw-r--r--	root/root	usr/lib32/libLLVMAMDGPUAsmParser.a
 -rw-r--r--	root/root	usr/lib32/libLLVMAMDGPUCodeGen.a
 -rw-r--r--	root/root	usr/lib32/libLLVMAMDGPUDesc.a
@@ -77,13 +79,16 @@ lrwxrwxrwx	root/root	usr/lib32/libLLVM.so -> libLLVM-11.so
 -rw-r--r--	root/root	usr/lib32/libLLVMDlltoolDriver.a
 -rw-r--r--	root/root	usr/lib32/libLLVMExecutionEngine.a
 -rw-r--r--	root/root	usr/lib32/libLLVMExtensions.a
+-rw-r--r--	root/root	usr/lib32/libLLVMFileCheck.a
 -rw-r--r--	root/root	usr/lib32/libLLVMFrontendOpenACC.a
 -rw-r--r--	root/root	usr/lib32/libLLVMFrontendOpenMP.a
 -rw-r--r--	root/root	usr/lib32/libLLVMFuzzMutate.a
 -rw-r--r--	root/root	usr/lib32/libLLVMGlobalISel.a
+-rw-r--r--	root/root	usr/lib32/libLLVMHelloNew.a
 -rw-r--r--	root/root	usr/lib32/libLLVMIRReader.a
 -rw-r--r--	root/root	usr/lib32/libLLVMInstCombine.a
 -rw-r--r--	root/root	usr/lib32/libLLVMInstrumentation.a
+-rw-r--r--	root/root	usr/lib32/libLLVMInterfaceStub.a
 -rw-r--r--	root/root	usr/lib32/libLLVMInterpreter.a
 -rw-r--r--	root/root	usr/lib32/libLLVMJITLink.a
 -rw-r--r--	root/root	usr/lib32/libLLVMLTO.a
@@ -103,8 +108,9 @@ lrwxrwxrwx	root/root	usr/lib32/libLLVM.so -> libLLVM-11.so
 -rw-r--r--	root/root	usr/lib32/libLLVMObject.a
 -rw-r--r--	root/root	usr/lib32/libLLVMObjectYAML.a
 -rw-r--r--	root/root	usr/lib32/libLLVMOption.a
--rw-r--r--	root/root	usr/lib32/libLLVMOrcError.a
 -rw-r--r--	root/root	usr/lib32/libLLVMOrcJIT.a
+-rw-r--r--	root/root	usr/lib32/libLLVMOrcShared.a
+-rw-r--r--	root/root	usr/lib32/libLLVMOrcTargetProcess.a
 -rw-r--r--	root/root	usr/lib32/libLLVMPasses.a
 -rw-r--r--	root/root	usr/lib32/libLLVMProfileData.a
 -rw-r--r--	root/root	usr/lib32/libLLVMRemarks.a
@@ -126,8 +132,8 @@ lrwxrwxrwx	root/root	usr/lib32/libLLVM.so -> libLLVM-11.so
 -rw-r--r--	root/root	usr/lib32/libLLVMX86Info.a
 -rw-r--r--	root/root	usr/lib32/libLLVMXRay.a
 -rw-r--r--	root/root	usr/lib32/libLLVMipo.a
-lrwxrwxrwx	root/root	usr/lib32/libLTO.so -> libLTO.so.11
--rwxr-xr-x	root/root	usr/lib32/libLTO.so.11
-lrwxrwxrwx	root/root	usr/lib32/libRemarks.so -> libRemarks.so.11
--rwxr-xr-x	root/root	usr/lib32/libRemarks.so.11
+lrwxrwxrwx	root/root	usr/lib32/libLTO.so -> libLTO.so.12
+-rwxr-xr-x	root/root	usr/lib32/libLTO.so.12
+lrwxrwxrwx	root/root	usr/lib32/libRemarks.so -> libRemarks.so.12
+-rwxr-xr-x	root/root	usr/lib32/libRemarks.so.12
 drwxr-xr-x	root/root	usr/share/
diff --git a/llvm-32/.signature b/llvm-32/.signature
index 07a6692..5c457c8 100644
--- a/llvm-32/.signature
+++ b/llvm-32/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/compat-32.pub
-RWSwxGo/zH7eXZcBBJnDkLWGzWUckZ57OEgmD7cnYjaUb7wFZtteE80UQzy9VYVva+fi2vqS1iQmS4OdTZykCnpVBDpCll75vQo=
-SHA256 (Pkgfile) = d4535485e9cc8139dcaaba56e4ff554fd202a24f81307df4c69910feca09b0a1
-SHA256 (.footprint) = 9c5a529dd577121ba404a56b23a2be05a51627055cd2236c0345e1f502dc3291
-SHA256 (llvm-11.1.0.src.tar.xz) = ce8508e318a01a63d4e8b3090ab2ded3c598a50258cc49e2625b9120d4c03ea5
+RWSwxGo/zH7eXTn6zTHRg245NZsvso8CcD10iSQHdyPzN2cT4W4rDzL6ZVvKP2uWMhoHjhDPzIFtq1MBmoIabB9YOrd9mmnCHAA=
+SHA256 (Pkgfile) = e54a712e3122650c42543e6fa18da44946774e094a0a824e43b1331b6db99432
+SHA256 (.footprint) = 513e0303b0f931f1570df1f13020015f6ba6525a5b31b3a5a8c7207171ee0c8c
+SHA256 (llvm-12.0.0.src.tar.xz) = 49dc47c8697a1a0abd4ee51629a696d7bfe803662f2a7252a3b16fc75f3a8b50
diff --git a/llvm-32/Pkgfile b/llvm-32/Pkgfile
index 81be634..9bb8191 100644
--- a/llvm-32/Pkgfile
+++ b/llvm-32/Pkgfile
@@ -4,7 +4,7 @@
 # Depends on: libffi-32 libxml2-32 llvm
 
 name=llvm-32
-version=11.1.0
+version=12.0.0
 release=1
 source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-$version.src.tar.xz)
 
@@ -15,20 +15,22 @@ build() {
 	mkdir -p $SRC/keep
 
 	cmake -S llvm-$version.src -B build -G Ninja \
+		-D CMAKE_INSTALL_PREFIX=/usr \
+		-D LLVM_LIBDIR_SUFFIX=32 \
+		-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_BUILD_LLVM_DYLIB=1 \
+		-D LLVM_LINK_LLVM_DYLIB=1 \
 		-D LLVM_PARALLEL_COMPILE_JOBS="${JOBS:-1}" \
 		-D LLVM_INCLUDE_EXAMPLES=0 \
 		-D LLVM_ENABLE_OCAMLDOC=0 \
 		-D LLVM_INCLUDE_TESTS=0 \
 		-D LLVM_ENABLE_FFI=1 \
 		-D LLVM_ENABLE_RTTI=1 \
-		-D LLVM_TARGETS_TO_BUILD='X86;AMDGPU;BPF;NVPTX' \
-		-D LLVM_BUILD_LLVM_DYLIB=1 \
-		-D LLVM_LINK_LLVM_DYLIB=1 \
-		-D CMAKE_BUILD_TYPE=Release \
-		-D CMAKE_C_FLAGS_RELEASE="${CFLAGS}" \
-		-D CMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS}" \
-		-D CMAKE_INSTALL_PREFIX=/usr \
-		-D LLVM_LIBDIR_SUFFIX=32 \
+		-D LLVM_ENABLE_OCAMLDOC=0 \
+		-D LLVM_INSTALL_UTILS=1 \
 		-D LLVM_DEFAULT_TARGET_TRIPLE="i686-pc-linux-gnu" \
 		-Wno-dev
 


More information about the CRUX mailing list