Boost logo

Boost-Build :

From: Ian Fasel (ianfasel_at_[hidden])
Date: 2006-04-26 09:39:22


To test 64-bit darwin, user-config.jam has

    using darwin : 4.0 : : <compileflags>"-arch ppc64" <linkflags>"-
arch ppc64" ;
    using python : 2.3 : /System/Library/Frameworks/Python.framework/
Versions/2.3/bin/python ;

Then I ran this:
    ./regression.py --v2 --toolsets=darwin-4.0 --runner=darwin-
gcc40-64bit-V2 &

Seems to have run ok, but now there is no trace of the results
anywhere. The following result doesn't seem quite right:

  ./regression.py collect-logs --runner=darwin-gcc40-64bit-V2
# Collecting test logs into "/private/var/automount/home/ianfasel/
SCTL/boost_regressions/results/darwin-gcc40-64bit-V2.xml"...
# Reading comments file "/private/var/automount/home/ianfasel/SCTL/
boost_regressions/comment.html"...
# Collecting test logs ...
# Walking directory "/private/var/automount/home/ianfasel/SCTL/
boost_regressions/results" ...
# Done writing "/private/var/automount/home/ianfasel/SCTL/
boost_regressions/results/darwin-gcc40-64bit-V2.xml".
# Compressing "/private/var/automount/home/ianfasel/SCTL/
boost_regressions/results/darwin-gcc40-64bit-V2.xml"...
# Done writing "/private/var/automount/home/ianfasel/SCTL/
boost_regressions/results/darwin-gcc40-64bit-V2.zip".
sb6% cat results/darwin-gcc40-64bit-V2.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<test-run source="tarball" runner="darwin-gcc40-64bit-V2"
timestamp="2006-04-26T10:14:39Z" platform="Darwin" tag="CVS-HEAD" run-
type="full"><comment>&lt;p&gt;Tests are run on Darwin platform.&lt
sb6% ls -al results
total 27604
drwxr-xr-x 6 ianfasel users 204 Apr 26 06:26 .
drwxr-xr-x 9 ianfasel users 306 Apr 26 03:18 ..
-rw-r--r-- 1 ianfasel users 14130540 Apr 26 05:23 bjam.log
drwxr-xr-x 3 ianfasel users 102 Apr 26 03:19 boost
-rw-r--r-- 1 ianfasel users 266 Apr 26 06:30 darwin-
gcc40-64bit-V2.xml
-rw-r--r-- 1 ianfasel users 352 Apr 26 06:30 darwin-
gcc40-64bit-V2.zip

-Ian

On Apr 25, 2006, at 5:06 AM, Vladimir Prus wrote:

> On Tuesday 25 April 2006 02:36, Ian Fasel wrote:
>> On darwin, "gcc-4.0 -arch ppc64" seems to be all that is needed -- I
>> also had to pass "-arch ppc64" to the linker as well. I managed to
>> build boost-1-33-1 this way and have used it for some 64-bit
>> projects, but some modules failed to build completely. In particular
>> the testing framework didn't build (or maybe it just failed to link,
>> I can't remember).
>
> Then, you should be able to run Boost regression tests are
> documented here:
>
> https://zigzag.cs.msu.su/boost.build/wiki/BoostRegressionsV2
>
> by putting the following to your user-config.jam:
>
> using darwin : 4.0 : :
> <compileflags>"-arch ppc64" <linkflags>"-arch ppc64" ;
>
> using python : ........ ;
>
>> Do I also need e.g., some other defines, to let the preprocessor know
>> that this is being built in 64-bit mode (so that e.g., macros for 64-
>> bit clean-ness get turned on)?
>>
>> If it would be helpful I can come back with more detailed info about
>> the problems I ran into, if anyone could help me debug it.
>
> I think it would be helpful. I've no experience with OSX, but
> others on Boost
> list might suggest solutions for the problems you have.
>
> - Volodya
>
> --
> Vladimir Prus
> http://vladimir_prus.blogspot.com
> Boost.Build V2: http://boost.org/boost-build2
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/
> listinfo.cgi/boost-build
>


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk