easybuild-easyblocks icon indicating copy to clipboard operation
easybuild-easyblocks copied to clipboard

fix setting of `CMAKE_OPTIONS` for SuiteSparse versions between 5.1.2 and 6.0.0

Open boegel opened this issue 1 year ago • 3 comments

(created using eb --new-pr)

fix for failure when installing SuiteSparse-5.13.0-foss-2022a-METIS-5.1.0.eb:

CMake Error at cmake_install.cmake:57 (file):
  file INSTALL cannot copy file
  "/tmp/vsc40023/easybuild_build/SuiteSparse/5.13.0/foss-2022a-METIS-5.1.0/SuiteSparse-5.13.0/GraphBLAS/build/libgraphblas.so.7.2.0"
  to "/usr/local/lib64/libgraphblas.so.7.2.0": Permission denied.

This issue occurs because CMAKE_INSTALL_PREFIX is set by CMAKE_OPTIONS, but it's not getting pass to the make install command correctly...

I'm a bit confused as to why this didn't pop up in the test report for #3004, but maybe the subsequent changes in #3031 have something to do with it...

boegel avatar Oct 06 '24 18:10 boegel