Introduce fftw-api virtual package for Intel-MKL and FFTW (#9618)
* Introduce FFTW2 and FFT3 providers for Intel-MKL and FFTW Spack packages. * make fftw default package for fftw-api virtual package * virtual package test assertion now provides location of default virtual packages. * Change name of virtual package to fftw-api and used versioned interface.
This commit is contained in:

committed by
Todd Gamblin

parent
988d37757f
commit
236b34f3df
@@ -47,9 +47,12 @@ def test_all_virtual_packages_have_default_providers():
|
||||
defaults = spack.config.get('packages', scope='defaults')
|
||||
default_providers = defaults['all']['providers']
|
||||
providers = spack.repo.path.provider_index.providers
|
||||
|
||||
default_providers_filename = \
|
||||
spack.config.config.scopes['defaults'].get_section_filename('packages')
|
||||
for provider in providers:
|
||||
assert provider in default_providers
|
||||
assert provider in default_providers, \
|
||||
"all providers must have a default in %s" \
|
||||
% default_providers_filename
|
||||
|
||||
|
||||
def test_package_version_consistency():
|
||||
|
Reference in New Issue
Block a user