Skip to content

Commit

Permalink
[OCamlbuild] Add v0.15.0 (#10449)
Browse files Browse the repository at this point in the history
  • Loading branch information
topolarity authored Feb 6, 2025
1 parent a6b84ac commit f107156
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions O/OCamlbuild/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
using BinaryBuilder, Pkg

name = "OCamlbuild"
version = v"0.15.0"

sources = [
GitSource("https://github.com/ocaml/ocamlbuild.git",
"af319408376aae66dffcf7d31c6926aef19f4f84"),
]

script = raw"""
cd ${WORKSPACE}/srcdir/ocamlbuild*
make configure PREFIX=$prefix OCAML_NATIVE=true
make -j ${nproc}
make install
install_license LICENSE
"""

platforms = [
Platform("x86_64", "linux"; libc="glibc"),
Platform("x86_64", "linux"; libc="musl"),
]

products = [
ExecutableProduct("ocamlbuild", :ocamlbuild),
]

dependencies = [
BuildDependency(PackageSpec("OCaml_jll", v"5.3.0")),
]

build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies,
preferred_gcc_version=v"6", julia_compat="1.6")

0 comments on commit f107156

Please sign in to comment.