-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PackageCompiler crashes #119
Comments
Here's a Gist to reproduce the problem: https://gist.github.com/oschulz/2f2daab0f9ce56d3086d55ad6fa18c19 Run with JULIA_LOAD_PATH="@:@stdlib" julia --project=. build_sysimage.jl Tested with Julia v1.5.3 on Linux-x86_84 (both on bare-metal Ubuntu 20.04 and in a CentOS-7 container). |
It crashes here: inputunits = dunits::Dict{String, Unitful.Units} = Dict{String, Unitful.Units}(
"length" => u"m", # change this to u"m" ? SI Units
"potential" => u"V",
"angle" => u"°",
"temperature" => u"K"
) I don't know why the first line looks like that... inputunits = Dict{String, Unitful.Units}(
"length" => u"m", # change this to u"m" ? SI Units
"potential" => u"V",
"angle" => u"°",
"temperature" => u"K"
) does not solve the problem... |
New MWE: Add using Unitful
u"m" |
PackageCompiler does not like unit strings... (anymore) |
Thanks, that narrows it down nicely! Just reported it: JuliaLang/julia#38719 |
So, it seems we have to wait for Julia v1.5.4 or v1.6. |
PackageCompiler now crashes when trying to compile a Julia system image that contains SolidStateDetectors and a simple precompile execution file like
This used to work fine - not sure if this is due to changes in SolidStateDetectors, a change in one of it's depencencies, or Julia v1.4 -> v1.5.
The text was updated successfully, but these errors were encountered: