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

Add appveyor build #21

Closed SylvainCorlay closed 7 years ago

SylvainCorlay commented 7 years ago

Cf: https://discourse.julialang.org/t/embedding-windows-binaries/3352

Using some link_directories and CMAKE_INSTALL_RPATH_USE_LINK_PATH I could get the build to work with libLLVM.

Now I have a windows-only issue with CxxWrap symbols....

SylvainCorlay commented 7 years ago

So CxxWrap appears not to be relocatable. When I install julia in a different directory than the one used by the CxxWrap CI producing the binaries it complains that C:/projects/julia/lib/libjulia.dll.a is missing.

NMAKE : fatal error U1073: don't know how to make 'C:\projects\julia\lib\libjulia.dll.a'

barche commented 7 years ago

True, the easiest way around this for now is to set the BUILD_ON_WINDOWS environment to 1 when installing CxxWrap for now.

SylvainCorlay commented 7 years ago

Gotcha. Thanks. Quick question, is it really necessary to compile these, or could CxxWrap become header-only eventually?