summaryrefslogtreecommitdiff
path: root/extra/llvm/PKGBUILD
blob: 3ade747e6d1504e21aa7702fb6ff591fdc076cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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/})
pkgname=(${pkgname[@]/llvm-ocaml/})

eval "$(
  declare -f build | \
    sed '
      s/ninja all ocaml_doc/ninja all/
    '
)"

eval "$(
  declare -f package_llvm | \
    sed '
      /ocaml/d
    '
)"