Skip to content

Commit 0bc1842

Browse files
author
KristofferC
committedMay 14, 2024·
show some printouts
1 parent 830f23b commit 0bc1842

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎base/loading.jl

+4
Original file line numberDiff line numberDiff line change
@@ -2831,6 +2831,10 @@ function create_expr_cache(pkg::PkgId, input::String, output::String, output_o::
28312831
opts = `-O0 --output-ji $(output) --output-incremental=yes`
28322832
end
28332833

2834+
@show output_o
2835+
@show cpu_target
2836+
@show julia_cmd(;cpu_target)
2837+
28342838
trace = isassigned(PRECOMPILE_TRACE_COMPILE) ? `--trace-compile=$(PRECOMPILE_TRACE_COMPILE[])` : ``
28352839
io = open(pipeline(addenv(`$(julia_cmd(;cpu_target)::Cmd)
28362840
$(flags)

‎pkgimage.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ print-depot-path:
2525
@$(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --startup-file=no -e '@show Base.DEPOT_PATH')
2626

2727
$(BUILDDIR)/stdlib/%.image: $(JULIAHOME)/stdlib/Project.toml $(JULIAHOME)/stdlib/Manifest.toml $(INDEPENDENT_STDLIBS_SRCS) $(JULIA_DEPOT_PATH)/compiled
28-
@$(call PRINT_JULIA, JULIA_CPU_TARGET="$(JULIA_CPU_TARGET)" $(call spawn,$(JULIA_EXECUTABLE)) --startup-file=no -e 'Base.Precompilation.precompilepkgs(;configs=[``=>Base.CacheFlags(), `--check-bounds=yes`=>Base.CacheFlags(;check_bounds=1)])')
28+
@$(call PRINT_JULIA, JULIA_CPU_TARGET="$(JULIA_CPU_TARGET)" $(call spawn,$(JULIA_EXECUTABLE)) --startup-file=no -e 'Base.Precompilation.precompilepkgs(;timing=true, configs=[``=>Base.CacheFlags(), `--check-bounds=yes`=>Base.CacheFlags(;check_bounds=1)])')
2929
touch $@
3030

3131
$(BUILDDIR)/stdlib/release.image: $(build_private_libdir)/sys.$(SHLIB_EXT)

0 commit comments

Comments
 (0)
Please sign in to comment.