Use --compile=min -O0 flags for versioninfo

Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
This commit is contained in:
Sascha Mann
2021-01-01 12:26:42 +01:00
parent 995385cfd3
commit 3ff0592a25
4 changed files with 6 additions and 4 deletions

3
lib/setup-julia.js generated
View File

@@ -82,7 +82,8 @@ function run() {
exec.exec('julia', ['--version']);
// If enabled, also show the full version info
if (core.getInput('show-versioninfo') == 'true') {
exec.exec('julia', ['-e', 'using InteractiveUtils; versioninfo()']);
// --compile=min -O0 reduces the time from ~1.8-1.9s to ~0.8-0.9s
exec.exec('julia', ['--compile=min', '-O0', '-e', 'using InteractiveUtils; versioninfo()']);
}
}
catch (error) {