> On Mar 15, 2018, at 8:29 AM, pagani laurent via macports-users > <macports-users@lists.macports.org> wrote: > > I reinstalled gcc5, both gcc5 and 7 are active but the result is the same. > I desactivate gcc7 but Xcode gcc takes precedence upon Macports/gcc5 even > when I deactivate/reactivate the later. >
I’m not familiar with ATLAS but I think you need to choose one of the variants in order to build it with another compiler: $ port variants atlas atlas has the variants: gcc49: build using macports-gcc-4.9 * conflicts with gcc5 mpclang37 perf gcc5: build using macports-gcc-5 * conflicts with gcc49 mpclang37 perf mpclang37: use mp-clang-3.7 and gfortran * conflicts with gcc49 gcc5 perf nofortran: Forgo use of fortran compiler universal: Build for multiple architectures Perhaps try sudo port install atlas +gcc5 Also, some packages can take a very long time to build. Adding the verbose flag can give you more feedback as the build progresses: sudo port -v install atlas +gcc5 Craig