[CastXML] Building CastXML from Source
Matt McCormick
matt.mccormick at kitware.com
Thu May 21 14:38:18 EDT 2015
Hi Lewis,
On Thu, May 21, 2015 at 11:59 AM, Mcgibbney, Lewis J (398M)
<Lewis.J.Mcgibbney at jpl.nasa.gov> wrote:
>
> Hi Folks,
> Just to follow up on this.
> I discovered a number of major bugs which crashed the compiler for clang 3.6.0 on Macosx 10.9.5.
> I’ll update this thread once I find if the bugs have been sorted out. I’ll also submit a patch if required.
Any feedback and upstream patches are appreciated!
> A C++ compiler supporting the c++11 standard language level.
>
> Any one in particular? Any suggestions? I’ve been messing around with my environment recently and guidance on this would be very much appreciated rather than me going on a wild goose chase to find something which I later find out to be the incorrect choice.
We test with recent GCC, Clang, and Visual Studio on the ITK
dashboard. See here:
https://open.cdash.org/index.php?project=Insight&filtercount=1&showfilters=1&field1=groupname/string&compare1=63&value1=wrap
Click on the "Configure" column entries to see what compiler and its
version is used.
> CMake cross-platform build system generator.
> I’ve got this installed. Will this work?
> lcgibbn at LMC-032857 /usr/local/jpl/snow/trunk/tmscag/trunk(master) $ cmake --version
> cmake version 3.2.2
> CMake suite maintained and supported by Kitware (kitware.com/cmake).
Yes, that should work.
> I’m nearly reaching my limit navigating the llvm/clang documentation and failing to complete the task at hand without any issues.
> Can you point me to a trusted llvm/clang installation which will address the above?
> I have the following clang setups locally
>
> Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
> Target: x86_64-apple-darwin13.4.0
> Thread model: posix
>
> clang+llvm-3.0-x86_64-apple-darwin11/
> clang+llvm-3.2-x86_64-apple-darwin11/
> clang+llvm-3.4-x86_64-apple-darwin10.9/
> clang+llvm-3.4.2-x86_64-apple-darwin10.9/
> clang+llvm-3.1-x86_64-apple-darwin11/
> clang+llvm-3.3-x86_64-apple-darwin12/
> clang+llvm-3.4.1-x86_64-apple-darwin10.9/
> clang+llvm-3.5.0-macosx-apple-darwin/
> I tried all of the above with xdress and got pretty much nowhere. This is why if you have a trusted installation from source guide for llvm/clang.
For the CastXML, the appropriate CMake LLVM/Clang configuration bits
must be available, and the binaries available from clang.org sadly do
not not ship with them. I will create a simple CMake script that can
drive a build.
> Optionally, the Sphinx documentation generator to build documentation.
>
> Which version? Any add ons? Any other tricks we need to know about?
There are no know limitations that I am aware of. If you find some,
please help improve the documentation.
Thanks,
Matt
More information about the CastXML
mailing list