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:
Nichols A. Romero
2018-11-09 10:16:11 -06:00
committed by Todd Gamblin
parent 988d37757f
commit 236b34f3df
4 changed files with 10 additions and 2 deletions

View File

@@ -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():