summaryrefslogtreecommitdiffstats
path: root/source/d
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
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')
-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
-rwxr-xr-xsource/d/rust/rust.SlackBuild2
-rwxr-xr-xsource/d/scons/scons.SlackBuild10
5 files changed, 45 insertions, 24 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
diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild
index 70fe5f357..57d454398 100755
--- a/source/d/rust/rust.SlackBuild
+++ b/source/d/rust/rust.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rust
SRCNAM="${PKGNAM}c"
VERSION=${VERSION:-1.42.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Set this to YES to build with the system LLVM, or NO to use the bundled LLVM.
# YES is probably better (when it works...)
diff --git a/source/d/scons/scons.SlackBuild b/source/d/scons/scons.SlackBuild
index c62599b7e..58c43bdf5 100755
--- a/source/d/scons/scons.SlackBuild
+++ b/source/d/scons/scons.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2015, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2015, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2015 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=scons
VERSION=${VERSION:-$(echo scons-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -81,6 +81,12 @@ python3 setup.py install \
--standard-lib \
--root=$PKG || exit 1
+# Fix shebangs for python3:
+sed -i "s|env python$|env python3|" $PKG/usr/bin/*
+
+# Get rid of MS-DOS batch files:
+rm -f $PKG/usr/bin/*.bat
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null