#38938: Update cadabra and modglue -------------------------------+----------------------- Reporter: kasper.peeters@… | Owner: gwright@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cadabra modglue | -------------------------------+----------------------- Comment (by larryv@…): Replying to [comment:3 kasper.peeters@…]:
Note: cadabra needs a relatively new gcc, and I probably used a bit of a hack to force it to pick Apple's gcc-4.2. Neither clang nor llvm produce working code (for clang because of unsupported c++ features, for llvm I am not sure why).
There is no compiler called `llvm`. I assume you mean LLVM-GCC, which is `llvm-gcc-4.2`. `apple-gcc-4.2` represents the compiler provided by MacPorts’ `apple- gcc42` port. Setting `configure.compiler` to this value precludes the use of Xcode’s GCC 4.2 on systems that have it. If Apple’s GCC 4.2 really is the only usable compiler, you should do this instead: {{{ compiler.whitelist gcc-4.2 apple-gcc-4.2 if {${configure.compiler} eq "apple-gcc-4.2"} { depends_build-append port:apple-gcc42 } }}} -- Ticket URL: <https://trac.macports.org/ticket/38938#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X