-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
Adding the --compile-all option to sysimage_build_args causes PackageCompiler.create_sysimage to get stuck for many hours; it does not finish.
Below is a simple demonstration; first without the option (finished in less than 2 min). then with --compile-all (not finished after 23 hours):
fduple@rek:~/temp$ julia -q --project
julia> versioninfo()
Julia Version 1.8.3
Commit 0434deb161e (2022-11-14 20:14 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 16 × 12th Gen Intel(R) Core(TM) i5-12600KF
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, goldmont)
Threads: 1 on 16 virtual cores
Environment:
LD_PRELOAD = /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(temp) pkg> status
Status `~/temp/Project.toml`
[9b87118b] PackageCompiler v2.1.0
julia> using PackageCompiler
julia> create_sysimage(sysimage_path="test.so")
✔ [01m:32s] PackageCompiler: compiling incremental system image
shell> ls -la test.so
-rwxrwx--- 1 fduple fduple 170745320 Nov 19 16:50 test.so
julia> create_sysimage(sysimage_path="test_ca.so",sysimage_build_args=`--compile=all`)
⠙ [23h:01m:32s] PackageCompiler: compiling incremental system image
Metadata
Metadata
Assignees
Labels
No labels