Skip to content

Commit f2f0ef2

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 f2f0ef2

File tree

3 files changed

+198
-80
lines changed

3 files changed

+198
-80
lines changed

Manifest.toml

+13-3
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

@@ -216,7 +222,7 @@ uuid = "fa939f87-e72e-5be4-a000-7fc836dbe307"
216222
version = "1.2.0"
217223

218224
[[Pkg]]
219-
deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
225+
deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "TOML", "UUIDs"]
220226
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
221227

222228
[[PkgLicenses]]
@@ -236,7 +242,7 @@ uuid = "92933f4c-e287-5a05-a399-4b506db050ca"
236242
version = "1.3.2"
237243

238244
[[REPL]]
239-
deps = ["InteractiveUtils", "Markdown", "Sockets"]
245+
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
240246
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
241247

242248
[[Random]]
@@ -276,6 +282,10 @@ git-tree-sha1 = "010dc73c7146869c042b49adcdb6bf528c12e859"
276282
uuid = "53d494c1-5632-5724-8f4c-31dff12d585f"
277283
version = "0.3.0"
278284

285+
[[TOML]]
286+
deps = ["Dates"]
287+
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
288+
279289
[[TableTraits]]
280290
deps = ["IteratorInterfaceExtensions"]
281291
git-tree-sha1 = "b1ad568ba658d8cbb3b892ed5380a6f3e781a81e"

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)