openfst conflicts with intel@16: and gcc@6: . (#3671)

This commit is contained in:
健美猫 2017-04-04 02:35:04 +08:00 committed by Adam J. Stewart
parent 74bd894427
commit 734f90d11f

View file

@ -26,9 +26,9 @@
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:')