Re: running clang compiler test suite from within macports infrastructure?

2017-06-30 Thread Ken Cunningham
This test suite proved very very helpful! Clang-3.8 on PPC produced only 13 errors out of 500 tests. 10 of those were on the same issue, 32bit exceptions. The other three included on a weird math error in fast-fourier-transfroms, and two errors in the logic of handling certain va_args (which I

Re: running clang compiler test suite from within macports infrastructure?

2017-06-30 Thread Ken Cunningham
Thanks, Jack. There appear to be different ways to test clang. I thought the testing would all happen in during or related to the build, but this does not appear to be exactly so. At any rate, there is a "test-suite" of 400+ tests for each version of clang, which is one way to test it. It is u

Re: running clang compiler test suite from within macports infrastructure?

2017-06-29 Thread Jack Howarth
Ken, Note that you have to explicitly configure the cmake build to compile the test suite by passing... -DLIBCXX_INCLUDE_TESTS=ON (if you want to test the matching libcxx anyway). Also in fink, we also pass -DLLVM_CONFIG_PATH=%b/../build/last/bin/llvm-config to LIBCXX_CMAKE_OPTIONS placehol

running clang compiler test suite from within macports infrastructure?

2017-06-29 Thread Ken Cunningham
I suspect only Jeremy or LarryV could answer this, but is it possible to run the llvm / clang compiler test suite from within the macports infrastructure? The clang build on macports is very heavily modified with patches and configuration settings - it seems overwhelming to try to duplicate that