[Insight-developers] 32/64 bits universal builds cause itk test failures.

Sean McBride sean at rogue-research.com
Fri Dec 21 15:06:06 EST 2007


On 12/21/07 2:56 PM, Mathieu Coursolle said:

>I may be wrong, but if this flag is set inside the CMakeList file, it
>means that it will be the same for all builds of the universal build
>(32 and 64 bits).

Bill,

In case you are not familiar with the term 'universal build' it's Apple-
speak for 'doing multiple compilation passes, one per CPU type, and
merging the results into one library/executable'.  It's basically a
cross-compilation.  Our 'InsightBS' dashboards are built for 4
architectures: 32 bit PowerPC, 32 bit Intel, 64 bit PPC, and 64 bit
Intel.  Any kind of TRY_RUN to detect sizes or endianness breaks this
kind of build because the TRY_RUN runs once and the compiler runs 4 times.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



More information about the Insight-developers mailing list