Currently, our flexiblas installations provide
flexiblas.pc flexiblas_api.pc lapack.pc lapacke.pc
where in particular
$ cat /apps/Test/software/FlexiBLAS/3.4.5-GCC-14.3.0/lib/pkgconfig/lapack.pc
libdir=/apps/Test/software/FlexiBLAS/3.4.5-GCC-14.3.0/lib
includedir=/apps/Test/software/FlexiBLAS/3.4.5-GCC-14.3.0/include/flexiblas
Name: LAPACK
Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage
Version: 3.12.0
URL: http://www.netlib.org/lapack/
Libs: -L${libdir} -llapack
Requires.private: blas
makes no sense. This file should either not exist at all (since there is no "liblapack.so", and there is no "blas.pc" either).
Even just attempting to use it it broken
pkg-config --libs lapack
Package blas was not found in the pkg-config search path.
Perhaps you should add the directory containing `blas.pc'
This file should either just be removed, or perhaps a better choice is to make both blas.pc and lapack.pc just be symlinks to flexiblas.pc.
Secondly, the lapacke.pc
$ cat /apps/Test/software/FlexiBLAS/3.4.5-GCC-14.3.0/lib/pkgconfig/lapacke.pc
libdir=/apps/Test/software/FlexiBLAS/3.4.5-GCC-14.3.0/lib
includedir=/apps/Test/software/FlexiBLAS/3.4.5-GCC-14.3.0/include/flexiblas
Name: LAPACKE
Description: C Standard Interface to LAPACK Linear Algebra PACKage
Version: 3.12.0
URL: http://www.netlib.org/lapack/#_standard_c_language_apis_for_lapack
Libs: -L${libdir} -llapacke
Cflags: -I${includedir}
Requires.private: lapack
is again just indirectly broken as it points to lapack(.pc) which is broken by itself. so. I suppose this would just be fixed it we did the symlink above, or we should change it to Requires.private: flexiblas.
Currently, our flexiblas installations provide
where in particular
makes no sense. This file should either not exist at all (since there is no "liblapack.so", and there is no "blas.pc" either).
Even just attempting to use it it broken
This file should either just be removed, or perhaps a better choice is to make both blas.pc and lapack.pc just be symlinks to
flexiblas.pc.Secondly, the
lapacke.pcis again just indirectly broken as it points to lapack(.pc) which is broken by itself. so. I suppose this would just be fixed it we did the symlink above, or we should change it to
Requires.private: flexiblas.