Skip to content
Snippets Groups Projects
Unverified Commit fb5afb4c authored by Hector's avatar Hector Committed by GitHub
Browse files

add source-highlight variant to gdb (#15634)

parent 0ca5ad23
Branches
Tags
No related merge requests found
......@@ -33,6 +33,7 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
variant('python', default=True, description='Compile with Python support')
variant('xz', default=True, description='Compile with lzma support')
variant('source-highlight', default=False, description='Compile with source-highlight support')
# Required dependency
depends_on('texinfo', type='build')
......@@ -40,6 +41,7 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
# Optional dependencies
depends_on('python', when='+python')
depends_on('xz', when='+xz')
depends_on('source-highlight', when='+source-highlight')
build_directory = 'spack-build'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment