Skip to content

Commit 1dea89c

Browse files
committed
update select_artifacts.jl
1 parent e79e773 commit 1dea89c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ BinaryBuilderBase = "1.2"
3737
GitHub = "5.1"
3838
HTTP = "0.8, 0.9"
3939
JLD2 = "0.1.6, 0.2, 0.3, 0.4"
40-
JLLWrappers = "1.2.0"
4140
JSON = "0.21"
4241
LoggingExtras = "0.4"
4342
ObjectFile = "0.3.6"
@@ -51,10 +50,9 @@ ghr_jll = "0.13.0"
5150
julia = "1.6"
5251

5352
[extras]
54-
JLLWrappers = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
5553
Tar = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
5654
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
5755
VT100 = "7774df62-37c0-5c21-b34d-f6d7f98f54bc"
5856

5957
[targets]
60-
test = ["JLLWrappers", "Tar", "Test", "VT100"]
58+
test = ["Tar", "Test", "VT100"]

src/AutoBuild.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,8 @@ function build_jll_package(src_name::String,
12741274

12751275
open(joinpath(pkg_dir, "select_artifacts.jl"), "w") do io
12761276
println(io, """
1277+
push!(Base.LOAD_PATH, dirname(@__DIR__))
1278+
12771279
using TOML, Artifacts, Base.BinaryPlatforms
12781280
include("./platform_augmentation.jl")
12791281
artifacts_toml = joinpath(dirname(@__DIR__), "Artifacts.toml")
@@ -1285,7 +1287,7 @@ function build_jll_package(src_name::String,
12851287
platform = augment_platform!(HostPlatform(parse(Platform, target_triplet)))
12861288
12871289
# Select all downloadable artifacts that match that platform
1288-
artifacts = select_downloadable_artifacts(artifacts_toml; platform)
1290+
artifacts = select_downloadable_artifacts(artifacts_toml; platform, include_lazy=true)
12891291
12901292
#Output the result to `stdout` as a TOML dictionary
12911293
TOML.print(stdout, artifacts)

0 commit comments

Comments
 (0)