DrTimothyAldenDavis / SuiteSparse

The official SuiteSparse library: a suite of sparse matrix algorithms authored or co-authored by Tim Davis, Texas A&M University.
https://people.engr.tamu.edu/davis/suitesparse.html
Other
1.17k stars 262 forks source link

readme for openmp; remove "set ( CMAKE_MACOSX_RPATH TRUE )" from all cmake scripts #637

Closed DrTimothyAldenDavis closed 10 months ago

DrTimothyAldenDavis commented 10 months ago

CMAKE_MACOSX_RPATH defaults to ON for cmake 3.0 and later, so this is no longer needed in any cmake script of SuiteSparse (MacPorts prefers to set this OFF), all of which require at least 3.13 (CSparse), or 3.20 or higher (the rest of SuiteSparse). Note that there are some cmake scripts in dependent packages with 2.x requirements, but those cmake scripts are not used to build those packages; SuiteSparse uses its own cmake scripts to build them.

Also added more discussion of *_USE_OPENMP cmake options in the top level README.

See https://cmake.org/cmake/help/latest/prop_tgt/MACOSX_RPATH.html