Skip to content
Snippets Groups Projects
Unverified Commit 518d1439 authored by Mathias Anselmann's avatar Mathias Anselmann Committed by GitHub
Browse files

Suite sparse compilation fix for 5.7.0 and 5.7.1 (#15289)

Suite-sparse 5.7.0 and 5.7.1 need separate make and make install run to be able to compile, too
parent dc4e4368
Branches
Tags
No related merge requests found
......@@ -131,8 +131,7 @@ def install(self, spec, prefix):
# In those SuiteSparse versions calling "make install" in one go is
# not possible, mainly because of GraphBLAS. Thus compile first and
# install in a second run.
if (self.spec.version >= Version('5.4.0') and
self.spec.version <= Version('5.6.0')):
if '@5.4.0:' in self.spec:
make('default', *make_args)
make('install', *make_args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment