diff options
author | Stephen McDowell <svenevs@users.noreply.github.com> | 2021-12-18 11:29:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 10:29:05 -0600 |
commit | 87978f7989b6f88a43324ea1617231b370ef52b4 (patch) | |
tree | 7bd35b5073b255060166364f3276f8339b1e875e | |
parent | e96b91dd3707c4fc38d2c0353dbf93e4f1757359 (diff) | |
download | spack-87978f7989b6f88a43324ea1617231b370ef52b4.tar.gz spack-87978f7989b6f88a43324ea1617231b370ef52b4.tar.bz2 spack-87978f7989b6f88a43324ea1617231b370ef52b4.tar.xz spack-87978f7989b6f88a43324ea1617231b370ef52b4.zip |
skip googletest and googlebenchmark for header only library (#28068)
-rw-r--r-- | var/spack/repos/builtin/packages/fxdiv/package.py | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/var/spack/repos/builtin/packages/fxdiv/package.py b/var/spack/repos/builtin/packages/fxdiv/package.py index daaaf2a211..ec9800fcae 100644 --- a/var/spack/repos/builtin/packages/fxdiv/package.py +++ b/var/spack/repos/builtin/packages/fxdiv/package.py @@ -23,25 +23,8 @@ class Fxdiv(CMakePackage): generator = 'Ninja' - resource( - name='googletest', - url='https://github.com/google/googletest/archive/release-1.10.0.zip', - sha256='94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91', - destination='deps', - placement='googletest', - ) - resource( - name='googlebenchmark', - url='https://github.com/google/benchmark/archive/v1.5.0.zip', - sha256='2d22dd3758afee43842bb504af1a8385cccb3ee1f164824e4837c1c1b04d92a0', - destination='deps', - placement='googlebenchmark', - ) - def cmake_args(self): return [ - self.define('GOOGLETEST_SOURCE_DIR', - join_path(self.stage.source_path, 'deps', 'googletest')), - self.define('GOOGLEBENCHMARK_SOURCE_DIR', - join_path(self.stage.source_path, 'deps', 'googlebenchmark')), + self.define('FXDIV_BUILD_TESTS', False), + self.define('FXDIV_BUILD_BENCHMARKS', False) ] |