summaryrefslogtreecommitdiff
path: root/source/d/llvm/llvm.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-01-31 03:36:03 +0000
committerEric Hameleers <alien@slackware.com>2020-01-31 08:59:47 +0100
commit0012caf61824ffcca7bbe5cd19b79612d6445307 (patch)
treeb8a3e0a1d753928e6b455791110c483d07c89de5 /source/d/llvm/llvm.SlackBuild
parent51327bd0f57ceb2ecbb378d64c48fade02ecb361 (diff)
downloadcurrent-0012caf61824ffcca7bbe5cd19b79612d6445307.tar.gz
Fri Jan 31 03:36:03 UTC 202020200131033603
a/inotify-tools-3.20.2-x86_64-1.txz: Upgraded. d/llvm-9.0.1-x86_64-3.txz: Rebuilt. Added polly-9.0.1 (polyhedral optimizations for LLVM). d/rust-1.41.0-x86_64-1.txz: Upgraded. Firefox test build succeeded, so I'll consider this update good. n/p11-kit-0.23.20-x86_64-1.txz: Upgraded. x/mtdev-1.1.6-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/d/llvm/llvm.SlackBuild')
-rwxr-xr-xsource/d/llvm/llvm.SlackBuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/source/d/llvm/llvm.SlackBuild b/source/d/llvm/llvm.SlackBuild
index 7cf81659..0df856d8 100755
--- a/source/d/llvm/llvm.SlackBuild
+++ b/source/d/llvm/llvm.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for llvm
# Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2012, 2013, 2014, 2015, 2016, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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:-2}
+BUILD=${BUILD:-3}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -99,17 +99,15 @@ cd ../../../
cd projects || exit 1
tar xvf $CWD/compiler-rt-$VERSION.src.tar.xz || exit 1
- mv compiler-rt-${VERSION} compiler-rt 2>/dev/null \
- || mv compiler-rt-${VERSION}.src compiler-rt || exit 1
+ mv compiler-rt-${VERSION} compiler-rt 2>/dev/null || mv compiler-rt-${VERSION}.src compiler-rt || exit 1
tar xvf $CWD/openmp-$VERSION.src.tar.xz || exit 1
- mv openmp-${VERSION} openmp 2>/dev/null \
- || mv openmp-${VERSION}.src openmp || exit 1
+ mv openmp-${VERSION} openmp 2>/dev/null || mv openmp-${VERSION}.src openmp || exit 1
tar xvf $CWD/libcxx-${VERSION}.src.tar.xz || exit 1
- mv libcxx-${VERSION} libcxx 2>/dev/null \
- || mv libcxx-${VERSION}.src libcxx || exit 1
+ mv libcxx-${VERSION} libcxx 2>/dev/null || mv libcxx-${VERSION}.src libcxx || exit 1
tar xvf $CWD/libcxxabi-${VERSION}.src.tar.xz || exit 1
- mv libcxxabi-${VERSION} libcxxabi 2>/dev/null \
- || mv libcxxabi-${VERSION}.src libcxxabi || exit 1
+ mv libcxxabi-${VERSION} libcxxabi 2>/dev/null || mv libcxxabi-${VERSION}.src libcxxabi || exit 1
+ tar xvf $CWD/polly-$VERSION.src.tar.xz || exit 1
+ mv polly-${VERSION} polly 2>/dev/null || mv polly-${VERSION}.src polly || exit 1
cd ../
# Support GCC built for i586-slackware-linux:
@@ -213,7 +211,7 @@ for i in $( find $PKG/usr/man -type l ) ; do
rm $i
done
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/{clang,lldb,clang-tools-extra,compiler-rt,openmp}
+mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/{clang,lldb,clang-tools-extra,compiler-rt,openmp,polly}
cp -a CREDITS* LICENSE* README* $PKG/usr/doc/$PKGNAM-$VERSION
cp -a tools/clang/{INSTALL,LICENSE,NOTES,README}* \
$PKG/usr/doc/$PKGNAM-$VERSION/clang
@@ -225,6 +223,8 @@ cp -a projects/compiler-rt/{CODE_OWNERS,CREDITS,LICENSE,README}* \
$PKG/usr/doc/$PKGNAM-$VERSION/compiler-rt
cp -a projects/openmp/{CREDITS,LICENSE}* \
$PKG/usr/doc/$PKGNAM-$VERSION/openmp
+cp -a projects/polly/{CREDITS,LICENSE,README}* \
+ $PKG/usr/doc/$PKGNAM-$VERSION/polly
mv $PKG/usr/docs/llvm/* $PKG/usr/doc/$PKGNAM-$VERSION
rm -rf $PKG/usr/docs
@@ -233,4 +233,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
-