summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/gaudi/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gaudi/package.py b/var/spack/repos/builtin/packages/gaudi/package.py
index ba8b8bcf63..ed37ee96f7 100644
--- a/var/spack/repos/builtin/packages/gaudi/package.py
+++ b/var/spack/repos/builtin/packages/gaudi/package.py
@@ -26,6 +26,8 @@ class Gaudi(CMakePackage):
variant('optional', default=False,
description='Build most optional components and tests')
+ variant('docs', default=False,
+ description='Build documentation with Doxygen')
variant('vtune', default=False,
description='Build with Intel VTune profiler support')
@@ -62,7 +64,7 @@ class Gaudi(CMakePackage):
depends_on('clhep', when='+optional')
depends_on('cppgsl', when='+optional')
depends_on('cppunit', when='+optional')
- depends_on('doxygen +graphviz', when='+optional')
+ depends_on('doxygen +graphviz', when='+docs')
depends_on('gperftools', when='+optional')
depends_on('gdb', when='+optional')
depends_on('gsl', when='+optional')
@@ -92,7 +94,7 @@ class Gaudi(CMakePackage):
self.define_from_variant("GAUDI_USE_CPPUNIT", "optional"),
self.define_from_variant("GAUDI_USE_UNWIND", "optional"),
self.define_from_variant("GAUDI_USE_GPERFTOOLS", "optional"),
- self.define_from_variant("GAUDI_USE_DOXYGEN", "optional"),
+ self.define_from_variant("GAUDI_USE_DOXYGEN", "docs"),
self.define_from_variant("GAUDI_USE_INTELAMPLIFIER", "optional"),
self.define_from_variant("GAUDI_USE_JEMALLOC", "optional"),
# this is not really used in spack builds, but needs to be set