On Aug 7, 2013, at 4:09 PM, David Evans <[email protected]> wrote:
> On 8/7/13 12:57 PM, Jeremy Huddleston Sequoia wrote: >> This is probably not what you want to do. >> >> 1) use compiler.blacklist instead > It appears that none of the Xcode compilers available on SL will build > this properly > due to C++X11 features used in the code. Builds ok on Lion and ML. >> 2) This will break ppc builds (if they weren’t already) > True. Should probably make the conditional more restrictive. >> >> What is the problem you are trying to solve? >> >> > Getting it to build properly on SL (which the selected compiler does well). > > SL Buildbot log with failure using default compiler > > https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/19393/steps/compile/logs/stdio > > > SL Buildbot log with success using clang-3.1 > > https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/19395/steps/compile/logs/stdio > > All suggestions (and explanations) welcome. I replaced it with: if {[lsearch [get_canonical_archs] ppc] != -1 || [lsearch [get_canonical_archs] ppc64] != -1} { # Until llvm better supports darwin/ppc, the only C++11 compiler for ppc is gcc compiler.whitelist macports-gcc-4.7 } else { compiler.blacklist gcc-4.0 gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2 {clang < 300} } _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
