new directive: conflicts() (#3125)

* Add conflicts(<spec>) directive
* openblas: added conflicts for intel@16 refs #3119
* added brief docs and unit tests
This commit is contained in:
Massimiliano Culpo
2017-04-02 20:40:09 +02:00
committed by Todd Gamblin
parent 0e785e0500
commit ffef681377
7 changed files with 193 additions and 1 deletions

View File

@@ -59,6 +59,8 @@ class Openblas(MakefilePackage):
parallel = False
conflicts('%intel@16', when='@0.2.15:0.2.19')
@run_before('edit')
def check_compilers(self):
# As of 06/2016 there is no mechanism to specify that packages which