-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Declarative
build_tarballs.jl
parsing!
This enables us to level up our CI game, namely: * Download sources once, to avoid clobbering when multiple jobs start at once * Run a separate job PER TARGET PLATFORM; not only does this increase parallelism, it also makes debugging easier.
- Loading branch information
1 parent
be373f5
commit 4d9c7f7
Showing
3 changed files
with
123 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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 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,15 @@ | ||
using BinaryBuilder | ||
|
||
if length(ARGS) != 3 | ||
error("Usage: register_package.jl <name> <version> <dependencies>") | ||
end | ||
|
||
name = ARGS[1] | ||
version = VersionNumber(ARGS[2]) | ||
dependencies = strip.(split(ARGS[3], " "), '\'') | ||
|
||
# Determine build version | ||
build_version = BinaryBuilder.get_next_wrapper_version(name, version) | ||
|
||
# Register JLL package using given metadata | ||
BinaryBuilder.register_jll(name, build_version, dependencies) |
This file contains 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