[arch-commits] Commit in llvm/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Apr 12 16:33:27 UTC 2012
Date: Thursday, April 12, 2012 @ 12:33:27
Author: foutrelis
Revision: 156066
Fix copying of missing file when building with the !strip option. (FS#29336)
Modified:
llvm/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-04-12 16:11:12 UTC (rev 156065)
+++ PKGBUILD 2012-04-12 16:33:27 UTC (rev 156066)
@@ -104,8 +104,11 @@
# We move the clang directory out of the tree so it won't get installed and
# then we bring it back in for the clang package
mv tools/clang "$srcdir"
+
# Copy missing file into the expected location
- cp bindings/ocaml/llvm/META.llvm bindings/ocaml/llvm/Release/
+ [[ $(check_option strip) == y ]] && _build_type=Release || _build_type=Debug
+ cp bindings/ocaml/llvm/META.llvm bindings/ocaml/llvm/$_build_type/
+
# -j1 is due to race conditions during the installation of the OCaml bindings
make -j1 DESTDIR="$pkgdir" install
mv "$srcdir/clang" tools
More information about the arch-commits
mailing list