fixed a bug and a test bug

This commit is contained in:
Gregory Becker 2016-03-02 14:17:46 -08:00
parent e46bac19fa
commit 676591ffc0
2 changed files with 19 additions and 6 deletions

View file

@ -1307,7 +1307,7 @@ def satisfies(self, other, deps=True, strict=False):
if not self.compiler.satisfies(other.compiler, strict=strict):
return False
elif strict and (other.compiler and not self.compiler):
return True
return False
if not self.variants.satisfies(other.variants, strict=strict):
return False

View file

@ -20,3 +20,16 @@ compilers:
modules:
- PrgEnv-gnu
- gcc/5.2.0
intel@15.0.1:
cc: cc
ccx: CC
f77: ftn
fc: ftn
modules:
- PrgEnv-intel
- intel/15.0.1
intel@15.1.2:
cc: /path/to/icc
cxx: /path/to/ic++
f77: /path/to/ifort
fc: /path/to/ifort