Open
Description
With GCC 11.3.0
[100%] Built target lapacke_64_obj
[100%] Linking C shared library ../lib/liblapacke.so
/MyPkgBuild/lapack/src/lapack/LAPACKE/include/lapack.h:138:16: warning: type of ‘lsame_’ does not match original declaration [-Wlto-type-mismatch]
138 | lapack_logical LAPACK_lsame_base( const char* ca, const char* cb
| ^
/MyPkgBuild/lapack/src/lapack/LAPACKE/include/lapack.h:138:16: note: return value type mismatch
138 | lapack_logical LAPACK_lsame_base( const char* ca, const char* cb
| ^
/MyPkgBuild/lapack/src/lapack/LAPACKE/include/lapack.h:138:16: note: type ‘int32_t’ should match type ‘int64_t’
/MyPkgBuild/lapack/src/lapack/LAPACKE/include/lapack.h:138:16: note: ‘lsame_’ was previously declared here
/MyPkgBuild/lapack/src/lapack/LAPACKE/include/lapack.h:138:16: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
[100%] Built target lapacke
Build command:
build() {
cmake -B build -S $pkgbase \
-DCMAKE_SKIP_RPATH=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_Fortran_COMPILER=/usr/bin/gfortran-11 \
-DLAPACKE_WITH_TMG=ON \
-DCBLAS=ON
cmake --build build
cmake -B build64 -S $pkgbase \
-DCMAKE_SKIP_RPATH=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_Fortran_COMPILER=/usr/bin/gfortran-11 \
-DLAPACKE_WITH_TMG=ON \
-DCBLAS=ON \
-DBUILD_INDEX64=ON
cmake --build build64
}