Gaudi: separate variant for building documentation (#16515)
* Gaudi: separate variant for building documentation * Update package.py
This commit is contained in:
parent
fae55550f9
commit
08528a7379
@ -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 @@ def cmake_args(self):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user