diff options
author | iarspider <iarspider@gmail.com> | 2020-05-08 19:24:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 12:24:42 -0500 |
commit | 08528a73793660831c25bd9a9d5bc84600a37a4a (patch) | |
tree | ee1f76e8abfd98447d03771bb7fb2f6b397f3e94 | |
parent | fae55550f9a8a37617a657ebbf3b0c5ff73f7bc5 (diff) | |
download | spack-08528a73793660831c25bd9a9d5bc84600a37a4a.tar.gz spack-08528a73793660831c25bd9a9d5bc84600a37a4a.tar.bz2 spack-08528a73793660831c25bd9a9d5bc84600a37a4a.tar.xz spack-08528a73793660831c25bd9a9d5bc84600a37a4a.zip |
Gaudi: separate variant for building documentation (#16515)
* Gaudi: separate variant for building documentation
* Update package.py
-rw-r--r-- | var/spack/repos/builtin/packages/gaudi/package.py | 6 |
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 |