Update for new version of Pastix/SPM
To compile MaPHyS with the latest version of Pastix, I had to make these modifications to look for spm and spmf instead of pastix_spmf and pastix_bcsc.
Merge request reports
Activity
891 set(PASTIX_LIBRARIES_FORTRAN "PASTIX_LIBRARIES_FORTRAN-NOTFOUND") 892 endif() 882 foreach( _libf pastixf spmf ) 883 find_library(PASTIX_${_libf}_LIBRARY 884 NAMES ${_libf} 885 HINTS ${PASTIX_LIBRARY_DIRS}) 886 mark_as_advanced(PASTIX_${_libf}_LIBRARY) 887 if (PASTIX_${_libf}_LIBRARY) 888 set(PASTIX_LIBRARIES_FORTRAN ${PASTIX_${_libf}_LIBRARY}) 889 list(INSERT PASTIX_LIBRARIES 0 "${PASTIX_LIBRARIES_FORTRAN}") 890 list(INSERT PASTIX_LIBRARIES_DEP 0 "${PASTIX_LIBRARIES_FORTRAN}") 891 else() 892 set(PASTIX_LIBRARIES_FORTRAN "PASTIX_LIBRARIES_FORTRAN-NOTFOUND") 893 endif() 894 endforeach() 893 895 endif() I'm ok with this, but maybe we should have a FindSPM package. @fpruvost, what do you think?
Edited by Mathieu Faverge