GCC48 & GCC47 + FFTW-3

Ryan Schmidt ryandesign at macports.org
Thu Aug 29 11:23:13 PDT 2013


On Aug 29, 2013, at 11:21, Ryan Schmidt wrote:

> You can use "port installed|grep +gcc47" to see what ports were installed with the +gcc47 variant. For each one, you can use "port variants" to see if a +gcc48 variable is available, and if so, you could rebuild the port with that, if you like.

And you could probably automate the whole process with:


port installed variant:gcc48 | awk '/\+gcc47/ {print $1}' | xargs -n 1 -J % sudo port -y upgrade --enforce-variants % -gcc47 +gcc48


This:
* gets the list of installed ports that have a gcc48 variant
* using awk, prints the names of those that were installed with the gcc47 variant
* upgrades each one to use gcc48 instead of gcc47




More information about the macports-users mailing list