mpimd-csc / flexiblas

FlexiBLAS - A BLAS and LAPACK wrapper library with runtime exchangeable backends. This is only a mirror of https://gitlab.mpi-magdeburg.mpg.de/software/flexiblas-release
https://www.mpi-magdeburg.mpg.de/projects/flexiblas
GNU Lesser General Public License v3.0
36 stars 7 forks source link

macOS Ventura 13.2.1 #35

Closed go-ski closed 1 year ago

go-ski commented 1 year ago

I am building flexiblas-3.3.0 on macOS 13.2.1 with brew installed cmake version 3.26.0 and all up to date on x86_64-apple-darwin22.3.0. The gcc is Apple clang version 14.0.0.

make gets to 54% with the error below. Please let me know if this something that I misconfigured or a real issue on macOS.

Thanks, George

[ 54%] Building C object src/CMakeFiles/flexiblas.dir/lapack_interface/wrapper/dsbgvd.c.o
[ 54%] Building C object src/CMakeFiles/flexiblas.dir/lapack_interface/wrapper/dsbgvx.c.o
[ 54%] Building C object src/CMakeFiles/flexiblas.dir/lapack_interface/wrapper/dsbtrd.c.o
[ 54%] Building C object src/CMakeFiles/flexiblas.dir/lapack_interface/wrapper/dsecnd.c.o
/Users/ost/Downloads/flexiblas-3.3.0/src/lapack_interface/wrapper/dsecnd.c:101:54: error: expected expression
double dsecnd(void){ return FC_GLOBAL(dsecnd,DSECND)(void); }
                                                     ^
/Users/ost/Downloads/flexiblas-3.3.0/src/lapack_interface/wrapper/dsecnd.c:125:66: error: expected expression
double flexiblas_real_dsecnd(void){return flexiblas_real_dsecnd_(void);}
                                                                 ^
/Users/ost/Downloads/flexiblas-3.3.0/src/lapack_interface/wrapper/dsecnd.c:155:68: error: expected expression
double flexiblas_chain_dsecnd(void){return flexiblas_chain_dsecnd_(void);}
                                                                   ^
3 errors generated.
make[2]: *** [src/CMakeFiles/flexiblas.dir/lapack_interface/wrapper/dsecnd.c.o] Error 1
make[1]: *** [src/CMakeFiles/flexiblas.dir/all] Error 2
make: *** [all] Error 2
GO2:build ost$ pwd
/Users/ost/Downloads/flexiblas-3.3.0/build
GO2:build ost$ cmake --version
cmake version 3.26.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).
GO2:build ost$ 
grisuthedragon commented 1 year ago

I found the issue in the code and I will fix it within the next days.

grisuthedragon commented 1 year ago

Will be fixed in 3.3.1.

go-ski commented 1 year ago

Many thanks! 3.3.1 works!