[cmake-developers] cmake selftest use different compiler and binutils as configured on Darwin

Claus Klein claus.klein at arcormail.de
Sat Jul 14 07:16:10 EDT 2012


Hi Richard,

it would be nice if you may setup a nightly build on darwin with  
current MacPorts gcc-4.7 like this:

claus-kleins-macbook-pro:CmakeMakeBuildDir clausklein$ i386-apple- 
darwin9-gcc-4.7.1 --version
i386-apple-darwin9-gcc-4.7.1 (MacPorts gcc47 4.7.1_1) 4.7.1
Copyright (C) 2012 Free Software Foundation, Inc.

And make sure, that this generator and tools are used while cmake  
selftest!

As a first try, it would be help to use the Makefile generator, later  
you may add or change to Ninja generator.

export CC=/opt/local/bin/i386-apple-darwin9-gcc-mp-4.7
export CXX=/opt/local/bin/i386-apple-darwin9-g++-mp-4.7
export MAKECOMMAND=/opt/local/bin/gmake

# configure
/opt/local/bin/cmake -G "Unix Makefiles" - 
DCMAKE_TEST_GENERATOR:STRING="Unix Makefiles" \
     -DCMAKE_TEST_MAKEPROGRAM:FILEPATH="${MAKECOMMAND}" - 
DCMAKE_ENABLE_NINJA:BOOL="ON" \
     -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX} \
     -DCMAKE_LINKER:FILEPATH=/opt/local/bin/ld \
     -DCMAKE_AR:FILEPATH=/opt/local/bin/i386-apple-darwin9-gcc-ar- 
mp-4.7 \
     -DCMAKE_RANLIB:FILEPATH=/opt/local/bin/i386-apple-darwin9-gcc- 
ranlib-mp-4.7 \
     -DMAKECOMMAND:STRING="${MAKECOMMAND}" \
     -DCMAKE_FIND_ROOT_PATH="/opt/local/libexec/gcc/i386-apple- 
darwin9/4.7.1/;/opt/local/bin" \
     \
     -DBUILD_CursesDialog:BOOL="ON" -DBUILD_QtDialog:BOOL="OFF" \
     ../cmake


gmake Experimental
...

That is my current result:
96% tests passed, 10 tests failed out of 246

Label Time Summary:
Label1    =   0.13 sec
Label2    =   0.13 sec

Total Test time (real) = 1304.76 sec

The following tests FAILED:
	 62 - Architecture (Failed)
	 90 - BuildDepends (Failed)
	 93 - CPackComponents (Failed)
	 98 - CPackComponentsForAll-DragNDrop-default (Failed)
	 99 - CPackComponentsForAll-DragNDrop-OnePackPerGroup (Failed)
	100 - CPackComponentsForAll-DragNDrop-IgnoreGroup (Failed)
	101 - CPackComponentsForAll-DragNDrop-AllInOne (Failed)
	139 - ObjC++ (Failed)
	140 - BundleGeneratorTest (Failed)
	246 - CMake.CheckSourceTree (Failed)
Performing coverage
  Cannot find any coverage files. Ignoring Coverage request.
Submit files (using http)
    Using HTTP submit method
    Drop site:http://www.cdash.org/CDash/submit.php?project=CMake
    Uploaded: /Users/clausklein/Downloads/CmakeMakeBuildDir/Testing/ 
20120714-1043/Build.xml
    Uploaded: /Users/clausklein/Downloads/CmakeMakeBuildDir/Testing/ 
20120714-1043/Configure.xml
    Uploaded: /Users/clausklein/Downloads/CmakeMakeBuildDir/Testing/ 
20120714-1043/Test.xml
    Submission successful
Errors while running CTest

And I have just the same errors with Nina generator!

claus-kleins-macbook-pro:CmakeMakeBuildDir clausklein$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.5.8
BuildVersion:	9L30


On 08.07.2012, at 14:47, Richard Wackerbarth wrote:

> If we need to test some other configurations, just let me know which  
> repositories/branches I should use for testing.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120714/68278bd7/attachment.html>


More information about the cmake-developers mailing list