Open sloede opened 9 months ago
Merging #870 (38c58d8) into master (846292c) will decrease coverage by
0.68%
. Report is 4 commits behind head on master. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #870 +/- ##
==========================================
- Coverage 84.94% 84.26% -0.68%
==========================================
Files 3 3
Lines 797 801 +4
==========================================
- Hits 677 675 -2
- Misses 120 126 +6
Files | Coverage Δ | |
---|---|---|
src/PackageCompiler.jl | 92.57% <100.00%> (-0.87%) |
:arrow_down: |
@sloede The prefix is only needed for executing scripts passed via precompile_execution_file
and not for building the system image afterwards. I changed the PR branch accordingly but I think it would be reasonable to change the PR title as well.
This PR adds a new, optional
sysimage_build_prefix
kwarg tocreate_{sysimage,app,library}
. It aims to allow one to prepend the build command called when creating a sysimage with a user-specified command prefix.The main motivation is to be able to call PackageCompiler.jl from within an MPI-started process. This is sometimes required on supercomputers, where calling MPI functions without having started a process via
mpirun
/srun
/aprun
etc. is disabled.cc @lchristm