Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Nov 20, 2024
1 parent a6fc64c commit 59a8c00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PackageCompiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ function create_fresh_base_sysimage(stdlibs::Vector{String}; cpu_target::String,

@static if VERSION >= v"1.12.0-DEV.1617"
compiler_source_path = joinpath(base_dir, "Base_compiler.jl")
compiler_args = `./` # build path
buildroot = ""
dataroot = relpath(joinpath(Sys.BINDIR, Base.DATAROOTDIR), base_dir) * "/"
compiler_args = `--buildroot $buildroot --dataroot $dataroot` # build path

Check warning on line 240 in src/PackageCompiler.jl

View check run for this annotation

Codecov / codecov/patch

src/PackageCompiler.jl#L236-L240

Added lines #L236 - L240 were not covered by tests
else
compiler_source_path = joinpath(base_dir, "compiler", "compiler.jl")
compiler_args = ``
Expand Down

0 comments on commit 59a8c00

Please sign in to comment.