rm -rf build mkdir -p build mkdir -p build/xinclude echo "#define IDXTYPEWIDTH 32" > build/xinclude/metis.h echo "#define REALTYPEWIDTH 32" >> build/xinclude/metis.h cat include/metis.h >> build/xinclude/metis.h cp include/CMakeLists.txt build/xinclude cd build && cmake /build/metis/src/METIS-5.2.1 -DCMAKE_VERBOSE_MAKEFILE=1 -DGKLIB_PATH=/usr -DCMAKE_INSTALL_PREFIX=/usr -DSHARED=1 -DCMAKE_C_COMPILER=gcc CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 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. -- The C compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/lib/ccache/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for execinfo.h -- Looking for execinfo.h - found -- Looking for getline -- Looking for getline - found -- Configuring done (1.1s) -- Generating done (0.0s) -- Build files have been written to: /build/metis/src/METIS-5.2.1/build