On Thu, Oct 29, 2020 at 08:25:05PM -0400, Aisha Tammy wrote:
> I'm trying to port OpenBLAS to the tree and am currently getting
> some weird assembler errors (port makefile is attached at end math/openblas)
[...]
>
> Presumably this is happening due to the assembler being used is
> the one from base as we don't build the ports egcc with gas for
> anything except aarch64 and arm.
> I'm kind of stumped here as it seems like using gfortran sets the
> compiler to egcc (compiling the above file with cc works).
> Is it possible to mix gfortran with base-clang C compiler?
it is certainly possible to build OpenBLAS with clang as C compiler and
gfortran as Fortran compiler.
Not sure how to do this using OpenBLAS port machinery, but
CC=clang FC=egfortran cmake && gmake && gmake test
works for me on 6.7. It seems that clang's llvm assembler is used in such a
configuration.
(I suppose egfortran is installed as a part of g95 package, and provides gfortran 8.3)
Hope this helps.
Dima
[...]
No comments:
Post a Comment