aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-12 01:15:09 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-12 01:22:41 +0200
commit0fd2a818797199b2413f81688dfbc5e1dfb4bd82 (patch)
treee967f6d105decf3221af8ad751afa1b843b1a533
parent163a6bc1c8a9d32b2623a406c136649cb6554258 (diff)
downloadaports-0fd2a818797199b2413f81688dfbc5e1dfb4bd82.tar.bz2
aports-0fd2a818797199b2413f81688dfbc5e1dfb4bd82.tar.xz
testing/llvm3.9: install FileCheck
-rw-r--r--testing/llvm3.9/APKBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/llvm3.9/APKBUILD b/testing/llvm3.9/APKBUILD
index 4f7adf0035..339133386c 100644
--- a/testing/llvm3.9/APKBUILD
+++ b/testing/llvm3.9/APKBUILD
@@ -125,6 +125,9 @@ package() {
make DESTDIR="$pkgdir" install
+ # This tool is needed e.g. for running codegen tests in Rust package.
+ install -D -m 755 bin/FileCheck "$pkgdir"/$_prefix/bin/FileCheck
+
cd "$pkgdir"/$_prefix
# Remove RPATHs.
@@ -182,6 +185,8 @@ dev() {
_mv "$pkgdir"/$_prefix/lib $_prefix/
_mv "$pkgdir"/$_prefix/include $_prefix/
+
+ _mv "$pkgdir"/$_prefix/bin/FileCheck $_prefix/bin/
_mv "$pkgdir"/$_prefix/bin/llvm-config $_prefix/bin/
_mv "$pkgdir"/usr/bin/llvm-config-* usr/bin/
}