summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Fischer <rpf2116@columbia.edu>2018-05-18 13:39:30 -0400
committerscheibelp <scheibel1@llnl.gov>2018-05-18 10:39:30 -0700
commit780cc9d72da9165470290393aeee278ad04e93de (patch)
tree640552a1d7def8a0166e2afeb9283a71a986c631
parent5641c1923b3b4c312cb7f7a37000b3666cadcd0d (diff)
downloadspack-780cc9d72da9165470290393aeee278ad04e93de.tar.gz
spack-780cc9d72da9165470290393aeee278ad04e93de.tar.bz2
spack-780cc9d72da9165470290393aeee278ad04e93de.tar.xz
spack-780cc9d72da9165470290393aeee278ad04e93de.zip
antlr: Turn off CSharp (#8157)
Spack doesn't have a CSharp package, so the only time ANTLR would succeed is if a system-installed CSharp was available. This disables CSharp support, which enables building on systems without system-installed CSharp.
-rw-r--r--var/spack/repos/builtin/packages/antlr/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/antlr/package.py b/var/spack/repos/builtin/packages/antlr/package.py
index 706adda2e3..0455a257b6 100644
--- a/var/spack/repos/builtin/packages/antlr/package.py
+++ b/var/spack/repos/builtin/packages/antlr/package.py
@@ -51,6 +51,7 @@ class Antlr(AutotoolsPackage):
spec = self.spec
return [
+ '--disable-csharp',
'--{0}-cxx'.format('enable' if '+cxx' in spec else 'disable'),
'--{0}-java'.format('enable' if '+java' in spec else 'disable'),
'--{0}-python'.format('enable' if '+python' in spec else 'disable')