-
Notifications
You must be signed in to change notification settings - Fork 645
[OCaml] Add (cross-)compiler shards #11146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
501bc29
[OCaml] Add (cross-)compiler shards
topolarity 1307e99
[HelloWorldOCaml] Add example OCaml project
topolarity 07f80f0
Document platforms supported.
maleadt c5de47b
Bump to OCaml 5.4 alpha 1.
maleadt dec5745
Clean-ups.
maleadt f0ce12f
Install native OCaml in host_prefix.
maleadt 22932a4
Also build Dune/OCamlbuild/Opam.
maleadt cc90c0b
Add symlinks to Windows executables.
maleadt ccd5f1e
PPC also works.
maleadt 82cd19d
Special-case non-cross build.
maleadt 62e0d39
Not all of PPC is supported.
maleadt 81d7907
Try trusting the configure script's autodetection.
maleadt 5a8dbe8
Rename files instead of adding symlinks.
maleadt ac97138
Build for more platforms.
maleadt d6cb1a1
Split into 5.3/5.4, and significantly rework the recipe.
maleadt a954d6f
Streamline shard generator.
maleadt 3d49d8a
Add RootFS testsuite entry.
maleadt e074726
Temporarily bump dependencies for CI.
maleadt e6e9c4e
Apply suggestions from code review
maleadt 5984536
Finalize dep bump.
maleadt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| ### Instructions for adding a new version of the OCaml toolchain | ||
| # | ||
| # * update the `version` variable and `sources` | ||
| # * To deploy the shard and automatically update your BinaryBuilderBase's | ||
| # `Artifacts.toml`, use the `--deploy` flag to the `build_tarballs.jl` script. | ||
| # You can build & deploy by running: | ||
| # | ||
| # julia build_tarballs.jl --debug --verbose --deploy TARGET | ||
| # | ||
|
|
||
| using BinaryBuilderBase, BinaryBuilder, Pkg.Artifacts | ||
|
|
||
| include("../common.jl") | ||
|
|
||
| name = "OCamlBase" | ||
| version = v"5.3.0" | ||
|
|
||
| sources = [ | ||
| GitSource("https://github.com/ocaml/ocaml", | ||
| "1ccb919e35f8378834060c503ae953897fe0fb7f"), # 5.3.0 | ||
| GitSource("https://github.com/ocaml/dune", | ||
| "76c0c3941798f81dcc13a305d7abb120c191f5fa"), # 3.19.1 | ||
| GitSource("https://github.com/ocaml/ocamlbuild", | ||
| "131ba63a1b96d00f3986c8187677c8af61d20a08"), # 0.16.1 | ||
| GitSource("https://github.com/ocaml/ocamlfind", | ||
| "bd9aad183f0d1c2caf3ec29e4f52bc69361f266d"), # 1.9.8 | ||
| DirectorySource("./bundled"), | ||
| ] | ||
|
|
||
| include("../ocaml_common.jl") |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.