aboutsummaryrefslogtreecommitdiffstats
path: root/testing/llvm6
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-03-20 21:38:49 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-03 11:57:00 +0000
commit47e6deaac44760670eff0ecd51661609dfc2f981 (patch)
treeea485cff70c10faa91e71dba1b388e2573609784 /testing/llvm6
parentf1d8b5d0585dc2573528d8c100b2bb487a270efc (diff)
downloadaports-47e6deaac44760670eff0ecd51661609dfc2f981.tar.bz2
aports-47e6deaac44760670eff0ecd51661609dfc2f981.tar.xz
testing/llvm6: depend on Python 3
Diffstat (limited to 'testing/llvm6')
-rw-r--r--testing/llvm6/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/testing/llvm6/APKBUILD b/testing/llvm6/APKBUILD
index 9a66c1888a..74c4391014 100644
--- a/testing/llvm6/APKBUILD
+++ b/testing/llvm6/APKBUILD
@@ -6,13 +6,13 @@ _pkgname=llvm
pkgver=6.0.1
_majorver=${pkgver%%.*}
pkgname=$_pkgname$_majorver
-pkgrel=1
+pkgrel=2
pkgdesc="Low Level Virtual Machine compiler system, version $_majorver"
arch="all"
url="https://llvm.org/"
license="UOI-NCSA"
depends_dev="$pkgname=$pkgver-r$pkgrel"
-makedepends="binutils-dev chrpath cmake file libffi-dev paxmark python2 py-setuptools zlib-dev"
+makedepends="binutils-dev chrpath cmake file libffi-dev paxmark python3 py-setuptools zlib-dev"
checkdepends="diffutils"
subpackages="$pkgname-static $pkgname-libs $pkgname-dev $pkgname-test-utils:_test_utils"
source="https://llvm.org/releases/$pkgver/llvm-$pkgver.src.tar.xz
@@ -117,7 +117,7 @@ build() {
unittests/ExecutionEngine/Orc/OrcJITTests \
unittests/Support/SupportTests
- python2 ../utils/lit/setup.py build
+ python3 ../utils/lit/setup.py build
}
check() {
@@ -218,11 +218,11 @@ dev() {
_test_utils() {
pkgdesc="LLVM $_majorver utilities for executing LLVM and Clang style test suites"
- depends="python2 py-setuptools"
+ depends="python3 py-setuptools"
_common_subpkg
replaces=""
- local litver=$(python2 "$builddir"/utils/lit/setup.py --version 2>/dev/null \
+ local litver=$(python3 "$builddir"/utils/lit/setup.py --version 2>/dev/null \
| sed 's/\.dev.*$//')
test -n "$litver"
provides="$provides lit=$litver-r$pkgrel"
@@ -233,7 +233,7 @@ _test_utils() {
install -D -m 755 bin/FileCheck "$subpkgdir"/$_prefix/bin/FileCheck
install -D -m 755 bin/not "$subpkgdir"/$_prefix/bin/not
- python2 ../utils/lit/setup.py install --prefix=/usr --root="$subpkgdir"
+ python3 ../utils/lit/setup.py install --prefix=/usr --root="$subpkgdir"
ln -s ../../../bin/lit "$subpkgdir"/$_prefix/bin/lit
}