-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting command prefix for precompile execution
This change adds some flexibility to how precompile execution files are executed by PackageCompiler to generate precompile statements. In some cases, for example when one wants to use precompile statements generated from a script that uses a package that uses MPI and requires that the Julia process is started via `mpiexec` or similar, one currently has to execute the script manually and use Julia's `--trace-compile` option to generate precompile statements and pass them manually to PackageCompiler afterwards. The new `precompile_execution_prefix` keyword argument introduced by this commit allows one to skip manual generation of precompile statements in such cases by passing the necessary prefix to PackageCompiler.
- Loading branch information
Showing
1 changed file
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters