summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author健美猫 <weijianwen@gmail.com>2017-04-04 02:35:04 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2017-04-03 13:35:04 -0500
commit734f90d11fcca1d59a817a55b5309ad5a31392ec (patch)
tree5cd20e840044bfcf55f87073eed7b05efc78fb27
parent74bd8944272d7d943410e0bf20dce6ec2e5b65f2 (diff)
downloadspack-734f90d11fcca1d59a817a55b5309ad5a31392ec.tar.gz
spack-734f90d11fcca1d59a817a55b5309ad5a31392ec.tar.bz2
spack-734f90d11fcca1d59a817a55b5309ad5a31392ec.tar.xz
spack-734f90d11fcca1d59a817a55b5309ad5a31392ec.zip
openfst conflicts with intel@16: and gcc@6: . (#3671)
-rw-r--r--var/spack/repos/builtin/packages/openfst/package.py15
1 files 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:')