Sunday, November 01, 2020

Re: assembler error on trying to port OpenBLAS

On 2020/10/31 23:33, Aisha Tammy wrote:
> > But that's not an option for something that is to be commited to the tree.
> >
>
> Well damn...
> Is there any other method to fix the compiler to cc instead of
> this?
> I tried adding the lang/clang module before the fortran module
> MODULES = lang/clang fortran
> but that fixes the compiler to /usr/local/bin/clang instead of the
> /usr/bin/clang.
> I am not sure what else to try right now :(

The correct fix IMHO is the diff that Brad sent for ports/lang/gcc as
this not only fixes this, but fixes some other problems we run into
from time to time.

If there is some other idea of using a different C compiler for ports
which mix fortran+C then that should be handled in fortran ports modules
or other infrastructure rather than individual ports.

No comments:

Post a Comment