summaryrefslogtreecommitdiff
path: root/extra/llvm/PKGBUILD
blob: 4aaafe2997ea3a9c7304bfb87cfb36c12ec04cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
    '
)"