summaryrefslogtreecommitdiff
path: root/extra/llvm/PKGBUILD
blob: 464c18c2645d1ef7bf24b4b79719d84e240a8288 (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:
pkgname=(${pkgname[@]/llvm-ocaml/})
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
    '
)"