Skip to content

Commit

Permalink
Add support for parallel universes
Browse files Browse the repository at this point in the history
This adds the concept of a "universe" for autobuilds. A universe
is essentially a depot that has its own copy of the General registry.
When building packages using `--deploy=universe` the built jll gets
registered into this copy of the registry and subsequent builds can
pick it up from there as if it had been registered with the real
general registry. This allows successive builds of dependent packages
without first having to go register the dependency. The universe
to use is specified using `--universe=<name>`. If a universe by
that name does not exist, it is created. Otherwise the previously
created universe is re-used.
  • Loading branch information
Keno committed Sep 3, 2020
1 parent 8d61241 commit af1973a
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 78 deletions.
8 changes: 7 additions & 1 deletion Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

[[BinaryBuilderBase]]
deps = ["CodecZlib", "JSON", "LibGit2", "Libdl", "Logging", "OutputCollectors", "Pkg", "Random", "SHA", "UUIDs"]
git-tree-sha1 = "97cd717e1e3453db6211214b3041f120dc8d0816"
git-tree-sha1 = "9f94fe7279ee3565d793f2a157ac369fb1da62e2"
repo-rev = "master"
repo-url = "https://github.com/JuliaPackaging/BinaryBuilderBase.jl.git"
uuid = "7f725544-6523-48cd-82d1-3fa08ff4056e"
Expand Down Expand Up @@ -141,6 +141,12 @@ uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
deps = ["Libdl"]
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

[[LocalRegistry]]
deps = ["Pkg", "Random", "RegistryTools", "UUIDs"]
git-tree-sha1 = "995d6f723eb3b89b62ae65cc0ca8a8063ebfa8ad"
uuid = "89398ba2-070a-4b16-a995-9893c55d93cf"
version = "0.3.0"

[[Logging]]
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"

Expand Down
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
LocalRegistry = "89398ba2-070a-4b16-a995-9893c55d93cf"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
LoggingExtras = "e6f89c97-d47a-5376-807f-9c37f3926c36"
ObjectFile = "d8793406-e978-5875-9003-1fc021f44a92"
Expand Down
Loading

0 comments on commit af1973a

Please sign in to comment.