On 2022-7-4 23:24 , Mark Brethen wrote:
Here’s what I’ve observed:

compilers.choose fc cc
compiler.setup  require_fortran -g95 -clang

If I issue sudo port xyz +gcc11, I get ${configure.cc} = /usr/bin/clang.

What is xyz? When are you reading the variable? If it's before the variants execute, you won't see the changes they make.

- Josh

Reply via email to