diff options
author | Tom Payerle <payerle@umd.edu> | 2021-12-17 11:32:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 09:32:59 -0700 |
commit | c3a929fdfc7ae12a0b99eca57bbcf9cbbd0b8db0 (patch) | |
tree | 00c24073ffa60b3c5205ccb9c3eeeb1e60736284 /lib | |
parent | 6313d84d3857519f86463656e25b781aa8153cdf (diff) | |
download | spack-c3a929fdfc7ae12a0b99eca57bbcf9cbbd0b8db0.tar.gz spack-c3a929fdfc7ae12a0b99eca57bbcf9cbbd0b8db0.tar.bz2 spack-c3a929fdfc7ae12a0b99eca57bbcf9cbbd0b8db0.tar.xz spack-c3a929fdfc7ae12a0b99eca57bbcf9cbbd0b8db0.zip |
suite-sparse: fix issues with tbb (#28054)
* suite-sparse: Fix check for +/- tbb variant
Changed
'tbb' in spec
to
'+tbb' in spec
The former would configure suite-sparse to use tbb if any dependency
package (e.g. intel-oneapi-mkl) depends on tbb, even if
suite-sparse~tbb was specified.
* suite-sparse: conflict when trying to use 2021.x versions of tbb
See https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/72
suite-sparse depends on task_schedule_init to control the number
of threads when e.g. interfacing with MATLAB. However, Intel
dropped task_schedule_init in the 2021.x releases of TBB (it has
been deprecated since TBB 4.3.5).
We just raise a spack conflict when using tbb @2021.x and +tbb
Because tbb is a virtual package and is not versioned, I have
instead checked for either intel-oneapi-tbb@2021: or
intel-tbb@2021:, not the most elegant but should do the job
* suite-sparse: fix style issues
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions