JuliaHEP / ROOT.jl

CERN ROOT compatiblility for Julia
Other
43 stars 9 forks source link

travis testing #6

Closed jpata closed 3 years ago

jpata commented 8 years ago

Currently, travis testing for this package doesn't work, because it requires a recompiled julia binary (see https://github.com/jpata/ROOT.jl/issues/4).

oschulz commented 7 years ago

Still an issue with the current incarnation of ROOT.jl (though due to different reasons).

tkelman commented 7 years ago

Should ideally run travis on all supported Julia versions, once possible

oschulz commented 7 years ago

Definitely (and on both Linux and OS-X, if I can make it work). This has a lot of moving parts though - the Travis instance will need to download or even build ROOT (building ROOT takes a long time, may exceed Travis limits), Cxx.jl has to be built (also takes quite long), etc. I'll try, though, but it may take some time to make this work.

tkelman commented 7 years ago

yep understandable. try the travis caching if root and cxx usually don't change

oschulz commented 7 years ago

try the travis caching

Thanks for the tip - I never used that feature before, definitely have to look into it!

oschulz commented 7 years ago

@tkelman, @Keno - what's the proper way to use Cxx.jl (which I need for ROOT.jl, obviously) on OS-X? I tried with the official Julia binary on a mac that we use for testing - the build of Cxx.jl ran through (took a while, of course), but when I do using Cxx I get

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

I only have the command-line Xcode installed - is a full Xcode installation unavoidable? I'm just surprised because it was never an issue with other software, and because Cxx.jl did (as usual) build it's own LLVM and Clang anyhow.

tkelman commented 7 years ago

strange, what's running xcode-select or xcodebuild there? I'm least familiar with things on osx though so doubt I can be much help

oschulz commented 7 years ago

No idea - I'm not even sure if Cxx.jl is supposed to work on OS-X at all ...

Keno commented 7 years ago

You can pretty much copy the Cxx.jl travis file and just append your setting to the end: https://github.com/Keno/Cxx.jl/blob/master/.travis.yml

oschulz commented 7 years ago

Thanks, @Keno - sorry, should have thought of that!

gipert commented 6 years ago

tkelman, Keno - what's the proper way to use Cxx.jl (which I need for ROOT.jl, obviously) on OS-X? I tried with the official Julia binary on a mac that we use for testing - the build of Cxx.jl ran through (took a while, of course), but when I do using Cxx I get

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

I only have the command-line Xcode installed - is a full Xcode installation unavoidable? I'm just surprised because it was never an issue with other software, and because Cxx.jl did (as usual) build it's own LLVM and Clang anyhow.

Sorry for necrobumping, but @oschulz how did you do at the end? I opened an issue here.

oschulz commented 6 years ago

Sorry for necrobumping, but @oschulz how did you do at the end?

I only did one quick test of Cxx.jl on OS-X (without a full Xcode) and that failed, but I never found time to follow up on it properly.

oschulz commented 3 years ago

Closing for now, likely will use GitHub actions later on.