xtensor-stack / Xtensor.jl

Julia package for xtensor-julia
http://quantstack.net/xtensor
BSD 3-Clause "New" or "Revised" License
41 stars 6 forks source link

WIP - Allow for not vendoring xtensor #98

Closed SylvainCorlay closed 2 years ago

SylvainCorlay commented 4 years ago

In this PR we enable the option to not vendor xtensor and friends into Xtensor.jl with an environment variable, just like with the JLCXX_DIR in CxxWrap.jl.

SylvainCorlay commented 4 years ago

This appears to be working locally but failing on the CI.

ERROR: LoadError: MethodError: no method matching (::getfield(CxxWrap, 
Symbol("#map_c_arg_type#4")))(::Tuple{Core.Compiler.Pair{Int64,Any},Tuple{Int64,Int64}})
SylvainCorlay commented 4 years ago

cc @barche do you have an idea of why using an external libcxxwrap (by seting the JLCXX_DIR environment variable) fails?

This is targetting the stable version of CxxWrap and the corresponding version of libcxxwrap-julia.

barche commented 4 years ago

Not sure what's going on, this looks like a symptom from a memory error somewhere, maybe a debug build will trigger an assertion somewhere?