JuliaInterop / Cxx.jl

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

WIP: Fix source build for Julia 1.5 #466

Closed Gnimuc closed 2 years ago

Gnimuc commented 4 years ago
pabloferz commented 4 years ago

Can this be made to depend on Libffi_jll and LLVM_jll? Or are there custom patches that need to be applied?

Gnimuc commented 4 years ago

Please refer to https://github.com/JuliaInterop/Cxx.jl/pull/466/files#diff-c002a594a18961699f1519658022b71e. Currently, it depends on LLVM_full_jll@9.

pabloferz commented 4 years ago

Completely missed that. It will rely on Julia's LLVM since julia itself is now using that, right?

Gnimuc commented 4 years ago

Yes. Both Cxx.jl and Julia rely on LLVM, but Cxx.jl needs Clang as well.

Gnimuc commented 4 years ago

This PR may only fix the C++ side of the package for now. As of the Julia side, it requires more knowledge about the Julia's and Clang's internals, I'm still learning the details and making nearly no progress.