Skip to content

Commit f30914b

Browse files
committed
Add support for parallel universes
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.
1 parent 8d61241 commit f30914b

File tree

3 files changed

+192
-78
lines changed

3 files changed

+192
-78
lines changed

Manifest.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
2222

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

144+
[[LocalRegistry]]
145+
deps = ["Pkg", "Random", "RegistryTools", "UUIDs"]
146+
git-tree-sha1 = "995d6f723eb3b89b62ae65cc0ca8a8063ebfa8ad"
147+
uuid = "89398ba2-070a-4b16-a995-9893c55d93cf"
148+
version = "0.3.0"
149+
144150
[[Logging]]
145151
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
146152

Project.toml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
1414
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
1515
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
1616
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
17+
LocalRegistry = "89398ba2-070a-4b16-a995-9893c55d93cf"
1718
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
1819
LoggingExtras = "e6f89c97-d47a-5376-807f-9c37f3926c36"
1920
ObjectFile = "d8793406-e978-5875-9003-1fc021f44a92"

0 commit comments

Comments
 (0)