ConcurrencyViolationError in UnitfulExt

I found a workaround/ solution:
Adding the parameter:

    include_transitive_dependencies=false

solves the issue.

The whole call now looks like this:

PackageCompiler.create_sysimage(
    [:KiteSimulators, :ControlPlots];
    sysimage_path="kps-image_tmp.so",
    include_transitive_dependencies=false,
    precompile_execution_file=joinpath("test", "test_for_precompile.jl")
)
2 Likes