Skip to content

Commit 71936e1

Browse files
topolaritymaleadtgiordano
authored
[OCaml] Add (cross-)compiler shards (#11146)
Co-authored-by: Tim Besard <[email protected]> Co-authored-by: Mosè Giordano <[email protected]>
1 parent 6116645 commit 71936e1

19 files changed

+6497
-4
lines changed

.ci/Manifest.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
3737

3838
[[deps.BinaryBuilder]]
3939
deps = ["ArgParse", "BinaryBuilderBase", "Binutils_jll", "Dates", "Downloads", "GitHub", "HTTP", "JLD2", "JSON", "LibGit2", "Libdl", "Logging", "LoggingExtras", "ObjectFile", "OutputCollectors", "Patchelf_jll", "Pkg", "PkgLicenses", "REPL", "Random", "Registrator", "RegistryTools", "SHA", "Scratch", "Sockets", "TOML", "UUIDs", "ghr_jll"]
40-
git-tree-sha1 = "32a89265ffd77083daf729618d4279242ee44020"
40+
git-tree-sha1 = "b29c38af4f7f438c22f5be49f87fef3adf402d3b"
4141
repo-rev = "master"
42-
repo-url = "https://github.com/JuliaPackaging/BinaryBuilder.jl"
42+
repo-url = "https://github.com/JuliaPackaging/BinaryBuilder.jl.git"
4343
uuid = "12aac903-9f7c-5d81-afc2-d9565ea332ae"
4444
version = "0.6.4"
4545

4646
[[deps.BinaryBuilderBase]]
4747
deps = ["Bzip2_jll", "CodecZlib", "Downloads", "Gzip_jll", "HistoricalStdlibVersions", "InteractiveUtils", "JLLWrappers", "JSON", "LibGit2", "LibGit2_jll", "Libdl", "Logging", "OrderedCollections", "OutputCollectors", "Pkg", "Printf", "ProgressMeter", "REPL", "Random", "SHA", "Scratch", "SimpleBufferStream", "TOML", "Tar", "Tar_jll", "UUIDs", "XZ_jll", "Zstd_jll", "p7zip_jll", "pigz_jll", "unzip_jll"]
48-
git-tree-sha1 = "85259632e317f61245d8240d3ee9b08112f52903"
48+
git-tree-sha1 = "a4afdd2de689d496613b80ad609b4bf05dc5c283"
4949
repo-rev = "master"
5050
repo-url = "https://github.com/JuliaPackaging/BinaryBuilderBase.jl.git"
5151
uuid = "7f725544-6523-48cd-82d1-3fa08ff4056e"
52-
version = "1.37.0"
52+
version = "1.38.0"
5353

5454
[[deps.Binutils_jll]]
5555
deps = ["Artifacts", "JLLWrappers", "Libdl"]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
### Instructions for adding a new version of the OCaml toolchain
2+
#
3+
# * update the `version` variable and `sources`
4+
# * To deploy the shard and automatically update your BinaryBuilderBase's
5+
# `Artifacts.toml`, use the `--deploy` flag to the `build_tarballs.jl` script.
6+
# You can build & deploy by running:
7+
#
8+
# julia build_tarballs.jl --debug --verbose --deploy TARGET
9+
#
10+
11+
using BinaryBuilderBase, BinaryBuilder, Pkg.Artifacts
12+
13+
include("../common.jl")
14+
15+
name = "OCamlBase"
16+
version = v"5.3.0"
17+
18+
sources = [
19+
GitSource("https://github.com/ocaml/ocaml",
20+
"1ccb919e35f8378834060c503ae953897fe0fb7f"), # 5.3.0
21+
GitSource("https://github.com/ocaml/dune",
22+
"76c0c3941798f81dcc13a305d7abb120c191f5fa"), # 3.19.1
23+
GitSource("https://github.com/ocaml/ocamlbuild",
24+
"131ba63a1b96d00f3986c8187677c8af61d20a08"), # 0.16.1
25+
GitSource("https://github.com/ocaml/ocamlfind",
26+
"bd9aad183f0d1c2caf3ec29e4f52bc69361f266d"), # 1.9.8
27+
DirectorySource("./bundled"),
28+
]
29+
30+
include("../ocaml_common.jl")

0 commit comments

Comments
 (0)