JuliaInterop / Cxx.jl

The Julia C++ Interface
Other
755 stars 107 forks source link

Works with Julia 1.3 or older #484

Closed zyth0s closed 3 years ago

zyth0s commented 3 years ago

I have decided to create this pull request to notify unaware users that they need a specific Julia version to install Cxx.jl.

PallHaraldsson commented 3 years ago

Interesting, do you know why it doesn't work with newer? It's getting urgent to fix that. Usually the Julia syntax forward guarantee is enough, I suppose it's rype piracy, using non-exported Julia methods that changed?

[EDIT: Or seems not strictly about Julia: #477 but its newer LLVM dependency, can you load older LLVM in Julia with newer?]

zyth0s commented 3 years ago

If you are asking me: I can not tell the reason, I am just a potential user.

Gnimuc commented 3 years ago

@PallHaraldsson there is a template-related bug that I cannot get it fixed for Julia-1.4, see https://github.com/JuliaInterop/Cxx.jl/pull/465. But the real problem is Julia-1.5, there is an overhaul of Julia internal codegen API that makes it non-trivial to upgrade this package to work with new Julia versions.