@@ -406,15 +406,15 @@ function step3_interactive(state::WizardState, prefix::Prefix,
406
406
platform:: AbstractPlatform ,
407
407
ur:: Runner , build_path:: AbstractString , artifact_paths:: Vector{String} )
408
408
409
+ concrete_platform = get_concrete_platform (platform, state)
409
410
if interactive_build (state, prefix, ur, build_path, platform)
410
411
# Unsymlink all the deps from the dest_prefix before moving to the next step
411
- cleanup_dependencies (prefix, artifact_paths)
412
+ cleanup_dependencies (prefix, artifact_paths, concrete_platform )
412
413
state. step = :step3_retry
413
414
else
414
- concrete_platform = get_concrete_platform (platform, state)
415
415
step3_audit (state, platform, destdir (prefix, concrete_platform))
416
416
# Unsymlink all the deps from the dest_prefix before moving to the next step
417
- cleanup_dependencies (prefix, artifact_paths)
417
+ cleanup_dependencies (prefix, artifact_paths, concrete_platform )
418
418
return step4 (state, ur, platform, build_path, prefix)
419
419
end
420
420
end
@@ -451,7 +451,7 @@ function step3_retry(state::WizardState)
451
451
end
452
452
step3_audit (state, platform, destdir (prefix, concrete_platform))
453
453
# Unsymlink all the deps from the dest_prefix before moving to the next step
454
- cleanup_dependencies (prefix, artifact_paths)
454
+ cleanup_dependencies (prefix, artifact_paths, concrete_platform )
455
455
456
456
return step4 (state, ur, platform, build_path, prefix)
457
457
end
@@ -566,7 +566,7 @@ function step5_internal(state::WizardState, platform::AbstractPlatform)
566
566
concrete_platform = get_concrete_platform (platform, state)
567
567
prefix = setup_workspace (build_path, vcat (state. source_files, state. patches), concrete_platform; verbose= true )
568
568
# Clean up artifacts in case there are some
569
- cleanup_dependencies (prefix, get (prefix_artifacts, prefix, String[]))
569
+ cleanup_dependencies (prefix, get (prefix_artifacts, prefix, String[]), concrete_platform )
570
570
artifact_paths = setup_dependencies (prefix, getpkg .(state. dependencies), concrete_platform; verbose= true )
571
571
# Record newly added artifacts for this prefix
572
572
prefix_artifacts[prefix] = artifact_paths
@@ -642,7 +642,7 @@ function step5_internal(state::WizardState, platform::AbstractPlatform)
642
642
verbose= true ,
643
643
)
644
644
# Clean up artifacts in case there are some
645
- cleanup_dependencies (prefix, get (prefix_artifacts, prefix, String[]))
645
+ cleanup_dependencies (prefix, get (prefix_artifacts, prefix, String[]), concrete_platform )
646
646
artifact_paths = setup_dependencies (prefix, getpkg .(state. dependencies), platform; verbose= true )
647
647
# Record newly added artifacts for this prefix
648
648
prefix_artifacts[prefix] = artifact_paths
@@ -698,7 +698,7 @@ function step5_internal(state::WizardState, platform::AbstractPlatform)
698
698
end
699
699
# Unsymlink all the deps from the prefixes before moving to the next step
700
700
for (prefix, paths) in prefix_artifacts
701
- cleanup_dependencies (prefix, paths)
701
+ cleanup_dependencies (prefix, paths, get_concrete_platform (platform, state) )
702
702
end
703
703
return ok
704
704
end
@@ -810,7 +810,7 @@ function step5c(state::WizardState)
810
810
end
811
811
812
812
# Unsymlink all the deps from the prefix before moving to the next platform
813
- cleanup_dependencies (prefix, artifact_paths)
813
+ cleanup_dependencies (prefix, artifact_paths, concrete_platform )
814
814
815
815
print (state. outs, " [" )
816
816
if ok
0 commit comments