Open dryworld opened 1 year ago
I got the same problem if not compile it under docker. But it's OK when I compile it in 'docker'. In the following, some additional issues arose, but as I was only focusing on resolving the f95 issue, I didn't continue to review.
lapack 3.9.0 Configuring
(mkdir -p /home/osboxes/shared/buildroot/ma35d1/som_256/output/build/lapack-3.9.0//buildroot-build && cd /home/osboxes/shared/buildroot/ma35d1/som_256/output/build/lapack-3.9.0//buildroot-build && rm -f CMakeCache.txt && PATH="/home/osboxes/shared/buildroot/ma35d1/som_256/output/host/bin:/home/osboxes/shared/buildroot/ma35d1/som_256/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/osboxes/shared/buildroot/ma35d1/som_256/output/host/bin/cmake /home/osboxes/shared/buildroot/ma35d1/som_256/output/build/lapack-3.9.0/ -DCMAKE_TOOLCHAIN_FILE="/home/osboxes/shared/buildroot/ma35d1/som_256/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DLAPACKE=ON -DCBLAS=ON -DBUILD_COMPLEX=ON -DBUILD_COMPLEX16=ON )
-- The Fortran compiler identification is GNU 9.4.0
-- The C compiler identification is GNU 9.4.0
-- Check for working Fortran compiler: /usr/bin/f95
-- Check for working Fortran compiler: /usr/bin/f95 -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/f95 supports Fortran 90
-- Checking whether /usr/bin/f95 supports Fortran 90 -- yes
-- Check for working C compiler: /home/osboxes/shared/buildroot/ma35d1/som_256/output/host/bin/aarch64-nuvoton-linux-gnu-gcc
-- Check for working C compiler: /home/osboxes/shared/buildroot/ma35d1/som_256/output/host/bin/aarch64-nuvoton-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking if build type is 'Coverage'
-- Checking if build type is 'Coverage': 0
-- Build tests: OFF
-- Reducing RELEASE optimization level to O2
CMake Error: The current CMakeCache.txt directory /home/osboxes/shared/buildroot/ma35d1/som_256/output/build/lapack-3.9.0/buildroot-build/INSTALL/CMakeCache.txt is different than the directory /home/osboxes/buildroot/ma35d1/som_256/output/build/lapack-3.9.0/buildroot-build/INSTALL where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/home/osboxes/shared/buildroot/ma35d1/som_256/output/build/lapack-3.9.0/INSTALL/CMakeLists.txt" does not match the source "/home/osboxes/buildroot/ma35d1/som_256/output/build/lapack-3.9.0/INSTALL/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
CMake Error at CMAKE/CheckTimeFunction.cmake:10 (try_compile):
Failed to configure test project build system.
Call Stack (most recent call first):
CMakeLists.txt:163 (CHECK_TIME_FUNCTION)
-- Configuring incomplete, errors occurred!
See also "/home/osboxes/shared/buildroot/ma35d1/som_256/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/CMakeOutput.log".
See also "/home/osboxes/shared/buildroot/ma35d1/som_256/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/CMakeError.log".
make: *** [package/pkg-generic.mk:240: /home/osboxes/shared/buildroot/ma35d1/som_256/output/build/lapack-3.9.0/.stamp_configured] Error 1
osboxes@a28aa0606c51:~/shared/buildroot/ma35d1/som_256$
do you install gfortran in docker? If yes then how install the gfortran, My case install gfortran by apt then appear error.
drywo@bd35a407339a:~/shared/ma35d1_d$ sudo apt-get install gfortran Reading package lists... Done Building dependency tree Reading state information... Done Package gfortran is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'gfortran' has no installation candidate
and make error next follow.
drywo@bd35a407339a:~/shared/ma35d1_d$ make
lapack 3.9.0 Configuring (mkdir -p /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0//buildroot-build && cd /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0//buildroot-build && rm -f CMakeCache.txt && PATH="/home/drywo/shared/ma35d1_d/output/host/bin:/home/drywo/shared/ma35d1_d/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/drywo/shared/ma35d1_d/output/host/bin/cmake /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/ -DCMAKE_TOOLCHAIN_FILE="/home/drywo/shared/ma35d1_d/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DLAPACKE=ON -DCBLAS=ON -DBUILD_COMPLEX=ON -DBUILD_COMPLEX16=ON ) -- The Fortran compiler identification is unknown -- The C compiler identification is GNU 9.4.0 CMake Error at CMakeLists.txt:3 (project): No CMAKE_Fortran_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-- Check for working C compiler: /home/drywo/shared/ma35d1_d/output/host/bin/aarch64-nuvoton-linux-gnu-gcc -- Check for working C compiler: /home/drywo/shared/ma35d1_d/output/host/bin/aarch64-nuvoton-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Configuring incomplete, errors occurred! See also "/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/CMakeOutput.log". See also "/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/CMakeError.log". make: *** [package/pkg-generic.mk:240: /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/.stamp_configured] Error 1
Yes, I did install gfortran in docker. At first, I got the same error about install failure. After perform 'sudo apt update' and 'sudo apt upgrade', gfortran can be installed.
I install the gfortran in docker. and make again, the error appear.
drywo@a8cac83a6669:~/shared/ma35d1_d$ make
lapack 3.9.0 Configuring (mkdir -p /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0//buildroot-build && cd /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0//buildroot-build && rm -f CMakeCache.txt && PATH="/home/drywo/shared/ma35d1_d/output/host/bin:/home/drywo/shared/ma35d1_d/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/drywo/shared/ma35d1_d/output/host/bin/cmake /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/ -DCMAKE_TOOLCHAIN_FILE="/home/drywo/shared/ma35d1_d/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DLAPACKE=ON -DCBLAS=ON -DBUILD_COMPLEX=ON -DBUILD_COMPLEX16=ON ) -- The Fortran compiler identification is GNU 9.4.0 -- The C compiler identification is GNU 9.4.0 -- Check for working Fortran compiler: /usr/bin/f95 -- Check for working Fortran compiler: /usr/bin/f95 -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/f95 supports Fortran 90 -- Checking whether /usr/bin/f95 supports Fortran 90 -- yes -- Check for working C compiler: /home/drywo/shared/ma35d1_d/output/host/bin/aarch64-nuvoton-linux-gnu-gcc -- Check for working C compiler: /home/drywo/shared/ma35d1_d/output/host/bin/aarch64-nuvoton-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Checking if build type is 'Coverage' -- Checking if build type is 'Coverage': 0 -- Build tests: OFF -- Reducing RELEASE optimization level to O2 -- Looking for Fortran NONE - found -- Looking for Fortran INT_CPU_TIME - found -- Looking for Fortran EXT_ETIME - not found -- Looking for Fortran EXTETIME - not found -- Looking for Fortran INT_ETIME - found -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function. -- Build deprecated routines: OFF -- Build single precision real: ON -- Build double precision real: ON -- Build single precision complex: ON -- Build double precision complex: ON -- Using supplied NETLIB BLAS implementation -- CBLAS enable -- Detecting Fortran/C Interface -- Detecting Fortran/C Interface - Failed to compile -- Verifying Fortran/C Compiler Compatibility CMake Warning (dev) at /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface.cmake:309 (message): No FortranCInterface mangling known for VerifyFortran Call Stack (most recent call first): /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify/CMakeLists.txt:16 (FortranCInterface_HEADER) This warning is for project developers. Use -Wno-dev to suppress it.
-- Verifying Fortran/C Compiler Compatibility - Failed CMake Error at /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface.cmake:383 (message): The Fortran compiler:
/usr/bin/f95
and the C compiler:
/home/drywo/shared/ma35d1_d/output/host/bin/aarch64-nuvoton-linux-gnu-gcc
failed to compile a simple test project using both languages. The output was:
Change Dir: /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC
Run Build Command(s):/usr/bin/make VerifyFortranC && make[1]: Entering directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
/home/drywo/shared/ma35d1_d/output/host/bin/cmake -S/home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify -B/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/make -f CMakeFiles/Makefile2 VerifyFortranC
make[2]: Entering directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
/home/drywo/shared/ma35d1_d/output/host/bin/cmake -S/home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify -B/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0
/home/drywo/shared/ma35d1_d/output/host/bin/cmake -E cmake_progress_start /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles 5
/usr/bin/make -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all
make[3]: Entering directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend
make[4]: Entering directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
cd /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC && /home/drywo/shared/ma35d1_d/output/host/bin/cmake -E cmake_depends "Unix Makefiles" /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/DependInfo.cmake
Scanning dependencies of target VerifyFortran
make[4]: Leaving directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build
make[4]: Entering directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
[ 20%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
/usr/bin/f95 --sysroot=/home/drywo/shared/ma35d1_d/output/host/aarch64-nuvoton-linux-gnu/sysroot -I/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC -O2 -DNDEBUG -O2 -c /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
[ 40%] Linking Fortran static library libVerifyFortran.a
/home/drywo/shared/ma35d1_d/output/host/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake
/home/drywo/shared/ma35d1_d/output/host/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1
/usr/bin/ar qc libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
/usr/bin/ranlib libVerifyFortran.a
make[4]: Leaving directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
[ 40%] Built target VerifyFortran
/usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend
make[4]: Entering directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
cd /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC && /home/drywo/shared/ma35d1_d/output/host/bin/cmake -E cmake_depends "Unix Makefiles" /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake
Scanning dependencies of target VerifyFortranC
make[4]: Leaving directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
/usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build
make[4]: Entering directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
[ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o
/home/drywo/shared/ma35d1_d/output/host/bin/aarch64-nuvoton-linux-gnu-gcc --sysroot=/home/drywo/shared/ma35d1_d/output/host/aarch64-nuvoton-linux-gnu/sysroot -I/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/main.c.o -c /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify/main.c
[ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o
/home/drywo/shared/ma35d1_d/output/host/bin/aarch64-nuvoton-linux-gnu-gcc --sysroot=/home/drywo/shared/ma35d1_d/output/host/aarch64-nuvoton-linux-gnu/sysroot -I/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c /home/drywo/shared/ma35d1_d/output/host/share/cmake-3.15/Modules/FortranCInterface/Verify/VerifyC.c
[100%] Linking C executable VerifyFortranC
/home/drywo/shared/ma35d1_d/output/host/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1
/home/drywo/shared/ma35d1_d/output/host/bin/aarch64-nuvoton-linux-gnu-gcc --sysroot=/home/drywo/shared/ma35d1_d/output/host/aarch64-nuvoton-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -o VerifyFortranC -L/usr/lib/gcc/x86_64-linux-gnu/9 libVerifyFortran.a -lgfortran -lm -lquadmath -lm
aarch64-nuvoton-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib/gcc/x86_64-linux-gnu/9'
make[4]: *** [CMakeFiles/VerifyFortranC.dir/build.make:103: VerifyFortranC] Error 1
make[4]: Leaving directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
make[3]: *** [CMakeFiles/Makefile2:80: CMakeFiles/VerifyFortranC.dir/all] Error 2
make[3]: Leaving directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
make[2]: *** [CMakeFiles/Makefile2:92: CMakeFiles/VerifyFortranC.dir/rule] Error 2
make[2]: Leaving directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
make[1]: *** [Makefile:121: VerifyFortranC] Error 2
make[1]: Leaving directory '/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/FortranCInterface/VerifyC'
Call Stack (most recent call first): CBLAS/CMakeLists.txt:9 (FortranCInterface_VERIFY)
-- Configuring incomplete, errors occurred! See also "/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/CMakeOutput.log". See also "/home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/buildroot-build/CMakeFiles/CMakeError.log". make: *** [package/pkg-generic.mk:240: /home/drywo/shared/ma35d1_d/output/build/lapack-3.9.0/.stamp_configured] Error 1
this error is same not docker.
I tried enable Target packages -> Libraries -> Other lapack/blas option, this option needed enable Toolchain -> Enable Fortran support
also I install gfortran my build system.
next error happened.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Looking for Fortran NONE - found CMake Deprecation Warning at /home/drywo/ma35d1_/output/build/lapack-3.9.0/INSTALL/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Looking for Fortran INT_CPUTIME - found CMake Deprecation Warning at /home/drywo/ma35d1/output/build/lapack-3.9.0/INSTALL/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Looking for Fortran EXTETIME - not found CMake Deprecation Warning at /home/drywo/ma35d1/output/build/lapack-3.9.0/INSTALL/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Looking for Fortran EXTETIME - not found CMake Deprecation Warning at /home/drywo/ma35d1_/output/build/lapack-3.9.0/INSTALL/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Looking for Fortran INT_ETIME - found -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function. -- Build deprecated routines: OFF -- Build single precision real: ON -- Build double precision real: ON -- Build single precision complex: ON -- Build double precision complex: ON -- Using supplied NETLIB BLAS implementation -- CBLAS enable -- Verifying Fortran/C Compiler Compatibility CMake Warning (dev) at /home/drywo/.local/lib/python3.10/site-packages/cmake/data/share/cmake-3.26/Modules/FortranCInterface.cmake:309 (message): No FortranCInterface mangling known for VerifyFortran Call Stack (most recent call first): /home/drywo/.local/lib/python3.10/site-packages/cmake/data/share/cmake-3.26/Modules/FortranCInterface/Verify/CMakeLists.txt:16 (FortranCInterface_HEADER) This warning is for project developers. Use -Wno-dev to suppress it.
-- Verifying Fortran/C Compiler Compatibility - Failed CMake Error at /home/drywo/.local/lib/python3.10/site-packages/cmake/data/share/cmake-3.26/Modules/FortranCInterface.cmake:396 (message): The Fortran compiler:
and the C compiler:
failed to compile a simple test project using both languages. The output was:
Call Stack (most recent call first): CBLAS/CMakeLists.txt:9 (FortranCInterface_VERIFY)
-- Configuring incomplete, errors occurred! make[1]: [package/pkg-generic.mk:240: /home/drywo/ma35d1_/output/build/lapack-3.9.0/.stamp_configured] Error 1 make: [Makefile:84: _all] Error 2