Hi Wim,
Am 17.01.2017 um 20:01 schrieb wlavrij...@lbl.gov:
Hi Tobias,
1. gcc 5 / libstdc++
2. gcc 4.9 / libstdc++
3. clang / libc++
4. clang / libstdc++
1/3/4 fails building cppy.
how does 3 fail? I presume differently than 1, 4?
https://gist.github.com/oberstet/1771d9142cf566c5a877de0df5500899
Note: right now, I try what Ryan suggests in his new reply ..
CXX=clang++ (not clang) - I'd expected that clang is clever enough to
autoselect/do the right thing, but ..
2 builds cppyy, but the example bails out.
In which way?
https://gist.github.com/oberstet/d260ee15c81954bea8298b7400d04870
What toolchain/system are you using?
Gentoo, SuSE and Mac. But the build files are taken from a larger project
that I've stripped down. The larger project has a plethora of systems that
have nightly builds:
http://cdash.cern.ch/index.php?project=ROOT
Wow.
So in theory, it should work (famous last words).
The build matrix seems to include Ubuntu 16.04 / gcc 5
http://cdash.cern.ch/buildSummary.php?buildid=314808
.. so it "should work";)
Do you have a Docker image that works?
No, haven't. ROOT it
FWIW, I do think that would be very useful to get started.
All this C++ machinery, combined with PyPy etc etc is tricky. A "known
good" can be very helpful, if only as a starting point ..
self is part of most distro's. I think it's called
"root-cern" on Ubuntu? That only gets you most of the way, however: there's
also a clingcwrapper.cxx (in the pip and the cxx source) that provides all
the C entry points that the PyPy cppyy module needs and it's not currently
in the ROOT builds (yet).
There is a lot in your words I don't understand;) I need to dig deeper ..
Sorry for the trouble, but it hasn't even been announced, so you're if not
the first, then one of the first users of this pip. :}
Nothing to apologize! I am very well aware of / used to the pain that
C++ stuff usually comes with;) Expected.
Thanks for a cool tool!
Cheers,
/Tobias
Best regards,
Wim
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev