[cmake-developers] GenerateExportHeader macro in CMake?
Stephen Kelly
steveire at gmail.com
Wed Aug 24 14:02:53 EDT 2011
Stephen Kelly wrote:
> Yep, I've just had a look and possibily fixed the Intel and HPUX cases.
>
I did indeed fix the Intel and HPUX cases.
> The AIX one fails because the visibility test passes, because
> check_cxx_compiler_flag does not have a FAIL_REGEX for its warning:
>
> http://www.cdash.org/CDash/testDetails.php?test=109778717&build=1458523
>
> http://www.cdash.org/CDash/testDetails.php?test=110283056&build=1458523
>
> I've also pushed a possible fix for that to check_cxx_compiler_flag on the
> branch.
The FAIL_REGEX I added for AIX was successful. However, now that box reports
some garbage:
ld: 0706-014 The -b
Tests/CMake-
build/Tests/Module/GenerateExportHeader/libsharedtest/fail1/libshared
option is not recognized.
Someone with access to the box would have to find out what's going wrong. It
might have been caused by a space in the path, which I've just added a fix
for.
It might be worth running some tests twice: Once from a path with a space in
it, and once without. Or run all tests from a path with a space in it to
prevent these kinds of bugs.
I would prefer to turn off the tests for it anyway, but I don't know what
platform test to make. What is the equivalent to
if (WIN32)
return()
endif()
for AIX?
> The CentOS machine seems to have problems unrelated to this test:
>
> http://www.cdash.org/CDash/testDetails.php?test=109887854&build=1457339
>
> http://www.cdash.org/CDash/viewTest.php?buildid=1457339
>
> All have ' undefined reference to `_Unwind_Resume'' in their output.
>
Do I have to do anything about this?
> That only leaves Watcom as you say, and I've just tried to simplify the
> tests for that compiler. If the timeouts persist, I can start just
> disabling some tests for that compiler.
>
This one is still timing out. I've disable the test for it with
(CMAKE_COMPILER_FLAG MATCHES "Watcom").
Thanks,
Steve.
More information about the cmake-developers
mailing list