On 28/10/2025 5:59 am, Dan Hitt wrote:
Hi,

I'm using macports version 2.11.5 on macos 10.15.7 catalina.

I'm trying to install atlas via the command
sudo port install atlas +gcc15

I have gcc15 installed and selected.

I have clang-5.0 installed and selected.

When i try to install atlas, i get this message:
clang-3.7 is known to fail. Try to install anyway? [y/N]

Sure enough, it does fail.

But i don't want to use clang-3.7, i want to use clang-5.0.  This is not because i expect anything better from clang-5.0, but just so i can try to get past the failure: if clang-5.0 fails, then i would try other versions of clang.  'port select clang' lists 6 versions i can try.  And clang-3.7 is not even listed among the possibilities.

So . . . how can i get gcc15 to use something besides clang 3.7?

That isn't your problem. gcc15 does not use clang 3.7. As you say yourself, you already have gcc15 install so clearly doing that did not need this clang version.

Did you check what variants atlas has, as for me it doesn't have a gcc15 variant so adding '+gcc15' is doing nothing for you.


Larissa ~/Projects/MacPorts/ports > port info atlas
atlas @3.10.2_2 (math)
Variants:             gcc49, [+]gcc5, mpclang37, nofortran, universal

Description:          Provides a complete BLAS and LAPACK API.
ATLAS achieves performance on par with machine-specific tuned libraries.
Homepage:             http://math-atlas.sourceforge.net/

Build Dependencies:   gcc5
Library Dependencies: libgcc, libgcc6
Platforms:            darwin < 20
License:              BSD
Maintainers:          Email: [email protected], GitHub: Veence

so what you are likely seeing is the dependency tree for gcc5, which is of course much much older.

If you think atlas should have more options for gcc to use, then check for a trac ticket and if there isn't one you should submit one.

Chris

Reply via email to