From 734f90d11fcca1d59a817a55b5309ad5a31392ec Mon Sep 17 00:00:00 2001 From: 健美猫 Date: Tue, 4 Apr 2017 02:35:04 +0800 Subject: openfst conflicts with intel@16: and gcc@6: . (#3671) --- var/spack/repos/builtin/packages/openfst/package.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/var/spack/repos/builtin/packages/openfst/package.py b/var/spack/repos/builtin/packages/openfst/package.py index e96575798b..9711605462 100644 --- a/var/spack/repos/builtin/packages/openfst/package.py +++ b/var/spack/repos/builtin/packages/openfst/package.py @@ -26,9 +26,9 @@ from spack import * class Openfst(AutotoolsPackage): - """OpenFst is a library for constructing, combining, optimizing, - and searching weighted finite-state transducers (FSTs). Weighted - finite-state transducers are automata where each transition has + """OpenFst is a library for constructing, combining, optimizing, + and searching weighted finite-state transducers (FSTs). Weighted + finite-state transducers are automata where each transition has an input label, an output label, and a weight.""" homepage = "http://www.openfst.org" @@ -45,10 +45,5 @@ class Openfst(AutotoolsPackage): version('1.4.1', 'ca8f1730b9b9b281e515611fa9ae23c0') version('1.4.0', '662367ec91084ffab48ee9b5716de39c') - @run_before('autoreconf') - def check_compilers(self): - # Fails to built openfst with %gcc@6: or %intel@16 - if self.spec.satisfies('%intel@16:') or self.spec.satisfies('gcc@6:'): - raise InstallError( - 'openfst does not support Intel compiler >= 16 and gcc >= 6 ' - ) + conflicts('%intel@16:') + conflicts('%gcc@6:') -- cgit v1.2.3-70-g09d2