add source-highlight variant to gdb (#15634)
This commit is contained in:
parent
0ca5ad237a
commit
fb5afb4cb4
@ -33,6 +33,7 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
|
|||||||
|
|
||||||
variant('python', default=True, description='Compile with Python support')
|
variant('python', default=True, description='Compile with Python support')
|
||||||
variant('xz', default=True, description='Compile with lzma support')
|
variant('xz', default=True, description='Compile with lzma support')
|
||||||
|
variant('source-highlight', default=False, description='Compile with source-highlight support')
|
||||||
|
|
||||||
# Required dependency
|
# Required dependency
|
||||||
depends_on('texinfo', type='build')
|
depends_on('texinfo', type='build')
|
||||||
@ -40,6 +41,7 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
|
|||||||
# Optional dependencies
|
# Optional dependencies
|
||||||
depends_on('python', when='+python')
|
depends_on('python', when='+python')
|
||||||
depends_on('xz', when='+xz')
|
depends_on('xz', when='+xz')
|
||||||
|
depends_on('source-highlight', when='+source-highlight')
|
||||||
|
|
||||||
build_directory = 'spack-build'
|
build_directory = 'spack-build'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user