From 665c195f3812e8a410095ac2ffa5a692116870e2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 5 Dec 2018 17:35:55 +0100 Subject: extra/llvm: trying to break the ocaml circle --- extra/llvm/PKGBUILD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 extra/llvm/PKGBUILD (limited to 'extra/llvm') diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD new file mode 100644 index 00000000..4aaafe29 --- /dev/null +++ b/extra/llvm/PKGBUILD @@ -0,0 +1,19 @@ +# temporary, ocaml is broken on 32-bit, we work around the llvm issue +# in binutils LTO plugins for now: +makedepends=(${makedepends[@]/ocaml=$_ocaml_ver/}) +makedepends=(${makedepends[@]/ocaml-ctypes/}) +makedepends=(${makedepends[@]/ocaml-findlib/}) + +eval "$( + declare -f build | \ + sed ' + s/ninja all ocaml_doc/ninja all/ + ' +)" + +eval "$( + declare -f package_llvm | \ + sed ' + /ocaml/d + ' +)" -- cgit v1.2.3-70-g09d2