Question: Creating custom image
- Lingua principale
- Julia
- Stelle
- 1.5k
- Fork
- 186
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I tried to create a custom image, but I got this error:
```
ERROR: The following 5 direct dependencies failed to precompile:
JuMP [4076af6c-e467-56ae-b986-b466b2749572]
Error: Missing source file for JuMP [4076af6c-e467-56ae-b986-b466b2749572]
PackageCompiler [9b87118b-4619-50d2-8e1e-99f35a4d4d9d]
Error: Missing source file for PackageCompiler [9b87118b-4619-50d2-8e1e-99f35a4d4d9d]
```
I used `--compiler-env` to use my current environment where all those packages are added. but that didn't help either.
I even tried
```
PackageCompiler.create_sysimage(
["JuMP"],
sysimage_path = "customimage." * Libdl.dlext,
precompile_execution_file = "my_test.jl",
)
PackageCompiler.create_sysimage(
[:PyCall];
sysimage_path = "sys.so",
base_sysimage="customimage.so",
)
```
which created `sys.so` but I got core-dump when I used `jl = Julia(sysimage="sys.so")`
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.