Closed lpawela closed 3 months ago
I think there is a string relocation issue from: https://github.com/JuliaGPU/GPUCompiler.jl/commit/c0c9ab7d2604c44dfb90a99332ba3eadad3679d7
cc @maleadt
So Base.pkgversion
isn't available (returns nothing) in compiled apps?
I think that is the case because the module comes from the sysimg instead. For example in the 1.10 REPL:
julia> using LinearAlgebra
julia> typeof(Base.pkgversion(LinearAlgebra))
Nothing
A proposed fix has been filed here: https://github.com/JuliaGPU/GPUCompiler.jl/pull/589
I am closing this since this is not likely a direct PackageCompiler issue.
After compiling an app which uses CUDA.jl and moving to another machine I get
MWE Project.toml
src/TestCUDA.jl
Launch a clean instance of julia with
JULIA_DEPOT_PATH=tmp julia
, then install PackageCompiler and build appOutput of
versioninfo()