Skip to content

Commit d9a5507

Browse files
authored
Pass augment_platform_block into build_project_dict (#1180)
1 parent 5e24ee0 commit d9a5507

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AutoBuild.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ function register_jll(name, build_version, dependencies, julia_compat;
556556
registry_url = "https://$(gh_username):$(gh_auth.token)@github.com/JuliaRegistries/General"
557557
cache.registries[registry_url] = Base.UUID("23338594-aafe-5451-b93e-139f81909106")
558558
jllwrappers_compat = isempty(augment_platform_block) ? DEFAULT_JLLWRAPPERS_VERSION_SPEC : "1.4.0"
559-
project = Pkg.Types.Project(build_project_dict(name, build_version, dependencies, julia_compat; jllwrappers_compat, lazy_artifacts=lazy_artifacts))
559+
project = Pkg.Types.Project(build_project_dict(name, build_version, dependencies, julia_compat; jllwrappers_compat, lazy_artifacts, augment_platform_block))
560560
errors = setdiff(RegistryTools.registrator_errors, [:version_less_than_all_existing])
561561
reg_branch = RegistryTools.register(
562562
"https://github.com/$(deploy_repo).git",
@@ -1496,7 +1496,7 @@ function build_jll_package(src_name::String,
14961496
# Add a Project.toml. Note: here we list _all_ runtime dependencies, including those
14971497
# that may be required only for some platforms.
14981498
jllwrappers_compat = isempty(augment_platform_block) ? "1.2.0" : "1.4.0"
1499-
project = build_project_dict(src_name, build_version, dependencies, julia_compat; lazy_artifacts=lazy_artifacts, jllwrappers_compat)
1499+
project = build_project_dict(src_name, build_version, dependencies, julia_compat; lazy_artifacts, jllwrappers_compat, augment_platform_block)
15001500
open(joinpath(code_dir, "Project.toml"), "w") do io
15011501
Pkg.TOML.print(io, project)
15021502
end

0 commit comments

Comments
 (0)