summaryrefslogtreecommitdiffstats
path: root/source/d/llvm
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-03-25 22:53:06 +0000
committer Eric Hameleers <alien@slackware.com>2020-03-26 08:59:49 +0100
commitf1c067fa42f709006ec1867a73a30f6517010f56 (patch)
tree4a80f91d8c3b8024192ac316f9da75feb74d4e4a /source/d/llvm
parent62f75c0a4e3cb8292cc39d62d6ac8a17f0f40ef9 (diff)
downloadcurrent-f1c067fa42f709006ec1867a73a30f6517010f56.tar.gz
current-f1c067fa42f709006ec1867a73a30f6517010f56.tar.xz
Wed Mar 25 22:53:06 UTC 202020200325225306
a/e2fsprogs-1.45.6-x86_64-2.txz: Rebuilt. Fixed RELEASE-NOTES dangling symlink. a/kernel-generic-5.4.28-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.28-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.28-x86_64-1.txz: Upgraded. ap/nano-4.9-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.28-x86-1.txz: Upgraded. d/llvm-10.0.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. d/rust-1.42.0-x86_64-2.txz: Rebuilt. Recompiled against llvm-10.0.0. d/scons-3.1.2-x86_64-3.txz: Rebuilt. Fixed shebangs for python3, removed useless .bat files. Thanks to teeemcee and ponce. d/vala-0.48.2-x86_64-1.txz: Upgraded. k/kernel-source-5.4.28-noarch-1.txz: Upgraded. l/libgsf-1.14.47-x86_64-1.txz: Upgraded. l/neon-0.31.0-x86_64-1.txz: Upgraded. l/netpbm-10.89.03-x86_64-1.txz: Upgraded. l/qt5-5.13.2-x86_64-3.txz: Rebuilt. Recompiled against llvm-10.0.0. x/mesa-20.0.2-x86_64-2.txz: Rebuilt. Recompiled against llvm-10.0.0. xfce/thunar-1.8.14-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/d/llvm')
-rwxr-xr-xsource/d/llvm/llvm.SlackBuild5
-rw-r--r--source/d/llvm/llvm.polly.hack.diff12
-rw-r--r--source/d/llvm/llvm.url40
3 files changed, 36 insertions, 21 deletions
diff --git a/source/d/llvm/llvm.SlackBuild b/source/d/llvm/llvm.SlackBuild
index 0df856d8a..81a18569f 100755
--- a/source/d/llvm/llvm.SlackBuild
+++ b/source/d/llvm/llvm.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=llvm
VERSION=${VERSION:-$(echo llvm-*.tar.xz | rev | cut -f 4- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -113,6 +113,9 @@ cd ../
# Support GCC built for i586-slackware-linux:
zcat $CWD/clang.toolchains.i586.triple.diff.gz | patch -p1 --verbose || exit 1
+# Hack to fix build with polly. Maybe we should just not use polly... ?
+zcat $CWD/llvm.polly.hack.diff.gz | patch -p1 --verbose || exit 1
+
# As of clang-tools-extra-7.0.0 we get the following error on i586 or i686:
# CMakeFiles/clangDaemon.dir/Trace.cpp.o:Trace.cpp:function std::unique_ptr<clang::clangd::trace::(anonymous namespace)::JSONTracer::JSONSpan, std::default_delete<clang::clangd::trace::(anonymous namespace)::JSONTracer::JSONSpan> >::~unique_ptr(): error: undefined reference to '__atomic_load_8'
# Attempts to try to fix this have failed here, so for now we will not build
diff --git a/source/d/llvm/llvm.polly.hack.diff b/source/d/llvm/llvm.polly.hack.diff
new file mode 100644
index 000000000..eb607ca2b
--- /dev/null
+++ b/source/d/llvm/llvm.polly.hack.diff
@@ -0,0 +1,12 @@
+--- ./projects/polly/lib/CMakeLists.txt.orig 2020-03-23 10:01:02.000000000 -0500
++++ ./projects/polly/lib/CMakeLists.txt 2020-03-24 14:47:14.602756953 -0500
+@@ -139,7 +139,8 @@
+ )
+
+ # Polly-ACC requires the NVPTX target to be present in the executable it is linked to
+- set_property(TARGET bugpoint APPEND PROPERTY LINK_LIBRARIES LLVMTarget)
++ # Randomly commented to fix build lol
++ #set_property(TARGET bugpoint APPEND PROPERTY LINK_LIBRARIES LLVMTarget)
+ endif ()
+
+ # Create a loadable module Polly.so that can be loaded using
diff --git a/source/d/llvm/llvm.url b/source/d/llvm/llvm.url
index af8426744..14e4fdc37 100644
--- a/source/d/llvm/llvm.url
+++ b/source/d/llvm/llvm.url
@@ -1,21 +1,21 @@
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/llvm-9.0.1.src.tar.xz
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/clang-9.0.1.src.tar.xz
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/clang-tools-extra-9.0.1.src.tar.xz
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/compiler-rt-9.0.1.src.tar.xz
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/lldb-9.0.1.src.tar.xz
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/openmp-9.0.1.src.tar.xz
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/polly-9.0.1.src.tar.xz
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/libcxx-9.0.1.src.tar.xz
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/libcxxabi-9.0.1.src.tar.xz
-https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/lld-9.0.1.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/llvm-10.0.0.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang-10.0.0.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang-tools-extra-10.0.0.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/compiler-rt-10.0.0.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/lldb-10.0.0.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/openmp-10.0.0.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/polly-10.0.0.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/libcxx-10.0.0.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/libcxxabi-10.0.0.src.tar.xz
+https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/lld-10.0.0.src.tar.xz
-#http://llvm.org/releases/9.0.1/llvm-9.0.1.src.tar.xz
-#http://llvm.org/releases/9.0.1/clang-9.0.1.src.tar.xz
-#http://llvm.org/releases/9.0.1/clang-tools-extra-9.0.1.src.tar.xz
-#http://llvm.org/releases/9.0.1/compiler-rt-9.0.1.src.tar.xz
-#http://llvm.org/releases/9.0.1/lldb-9.0.1.src.tar.xz
-#http://llvm.org/releases/9.0.1/openmp-9.0.1.src.tar.xz
-#http://llvm.org/releases/9.0.1/polly-9.0.1.src.tar.xz
-#http://llvm.org/releases/9.0.1/libcxx-9.0.1.src.tar.xz
-#http://llvm.org/releases/9.0.1/libcxxabi-9.0.1.src.tar.xz
-#http://llvm.org/releases/9.0.1/lld-9.0.1.src.tar.xz
+#http://llvm.org/releases/10.0.0/llvm-10.0.0.src.tar.xz
+#http://llvm.org/releases/10.0.0/clang-10.0.0.src.tar.xz
+#http://llvm.org/releases/10.0.0/clang-tools-extra-10.0.0.src.tar.xz
+#http://llvm.org/releases/10.0.0/compiler-rt-10.0.0.src.tar.xz
+#http://llvm.org/releases/10.0.0/lldb-10.0.0.src.tar.xz
+#http://llvm.org/releases/10.0.0/openmp-10.0.0.src.tar.xz
+#http://llvm.org/releases/10.0.0/polly-10.0.0.src.tar.xz
+#http://llvm.org/releases/10.0.0/libcxx-10.0.0.src.tar.xz
+#http://llvm.org/releases/10.0.0/libcxxabi-10.0.0.src.tar.xz
+#http://llvm.org/releases/10.0.0/lld-10.0.0.src.tar.xz