From e6578bf11360e8e1c3e84cbb776f77d2129ebcb0 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Sun, 6 Oct 2024 20:01:21 +0200 Subject: [PATCH] fix setting of CMAKE_OPTIONS for SuiteSparse versions between 5.1.2 and 6.0.0 --- easybuild/easyblocks/s/suitesparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyblocks/s/suitesparse.py b/easybuild/easyblocks/s/suitesparse.py index 61e4e1642f..410f8ee257 100644 --- a/easybuild/easyblocks/s/suitesparse.py +++ b/easybuild/easyblocks/s/suitesparse.py @@ -170,7 +170,7 @@ def configure_step(self): if LooseVersion(self.version) >= LooseVersion('5.1.2'): # v5.0.0 until v5.1.2 has no CMAKE_OPTIONS to set, patches are needed - self.cfg.update('preinstallopts', 'CMAKE_OPTIONS="-DCMAKE_INSTALL_PREFIX=%s"' % self.installdir) + self.cfg.update('installopts', 'CMAKE_OPTIONS="-DCMAKE_INSTALL_PREFIX=%s"' % self.installdir) # set METIS library if parmetis or metis: