JuliaLinearAlgebra / LinearMaps.jl

A Julia package for defining and working with linear maps, also known as linear transformations or linear operators acting on vectors. The only requirement for a LinearMap is that it can act on a vector (by multiplication) efficiently.
Other
303 stars 42 forks source link

Issue precompiling version 3.11.2 #235

Open kmp5VT opened 1 month ago

kmp5VT commented 1 month ago

Hello,

I am trying to use the package manager to obtain the latest version of LinearMaps but am running into an issue with precompile. This is the error

julia> Pkg.activate(temp=true)
julia> Pkg.add("LinearMaps")
PkgPrecompileError: The following 1 direct dependency failed to precompile:

LinearMaps [7a12625a-238d-50fd-b39a-03d52299707e]

Error: Missing source file for LinearMaps [7a12625a-238d-50fd-b39a-03d52299707e

when I explicitly grab v3.11.1 the code compiles fine.

Thanks!

dkarrasch commented 1 month ago

Which Julia version is this? The currently released version of LinearMaps.jl is 3.11.3, not 3.11.2. With v3.11.3, I can't reproduce on v1.6, v1.10 and v1.11-rc. Could you please show the output of versioninfo()? Since you're installing into a temporary environment, there cannot be any compatibility issues with other packages, right?

kmp5VT commented 1 month ago

@dkarrasch Sorry I should have added my versioninfo. I am using juliaup and have the release version of julia installed

julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 32 × Intel(R) Xeon(R) Gold 6244 CPU @ 3.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, cascadelake)
Threads: 1 default, 0 interactive, 1 GC (on 32 virtual cores)

With a temporary environment there should be no comparability issues with other packages as there is a clean Project and Manifest.