diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-06-16 01:27:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-16 08:27:20 +0200 |
commit | 8a938978a481fd54dc5f52c8699958ad00514b1d (patch) | |
tree | 83d3d8b20c79c1653dca17977e3992b55f1d0c4a /var | |
parent | a067b48112655d11d1c115d8905b0614fc3d8930 (diff) | |
download | spack-8a938978a481fd54dc5f52c8699958ad00514b1d.tar.gz spack-8a938978a481fd54dc5f52c8699958ad00514b1d.tar.bz2 spack-8a938978a481fd54dc5f52c8699958ad00514b1d.tar.xz spack-8a938978a481fd54dc5f52c8699958ad00514b1d.zip |
pthreadpool: more specific resource destination (#24346)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/pthreadpool/package.py | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/pthreadpool/package.py b/var/spack/repos/builtin/packages/pthreadpool/package.py index c14be0a857..aa8de2ed9d 100644 --- a/var/spack/repos/builtin/packages/pthreadpool/package.py +++ b/var/spack/repos/builtin/packages/pthreadpool/package.py @@ -23,25 +23,31 @@ class Pthreadpool(CMakePackage): resource( name='fxdiv', git='https://github.com/Maratyszcza/FXdiv.git', - branch='master' + branch='master', + destination='deps', + placement='fxdiv', ) resource( name='googletest', url='https://github.com/google/googletest/archive/release-1.10.0.zip', - sha256='94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91' + sha256='94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91', + destination='deps', + placement='googletest', ) resource( name='googlebenchark', url='https://github.com/google/benchmark/archive/v1.5.3.zip', - sha256='bdefa4b03c32d1a27bd50e37ca466d8127c1688d834800c38f3c587a396188ee' + sha256='bdefa4b03c32d1a27bd50e37ca466d8127c1688d834800c38f3c587a396188ee', + destination='deps', + placement='googlebenchmark', ) def cmake_args(self): return [ self.define('FXDIV_SOURCE_DIR', - join_path(self.stage.source_path, 'FXdiv')), + join_path(self.stage.source_path, 'deps', 'fxdiv')), self.define('GOOGLETEST_SOURCE_DIR', - join_path(self.stage.source_path, 'googletest-release-1.10.0')), + join_path(self.stage.source_path, 'deps', 'googletest')), self.define('GOOGLEBENCHMARK_SOURCE_DIR', - join_path(self.stage.source_path, 'benchmark-1.5.3')), + join_path(self.stage.source_path, 'deps', 'googlebenchmark')), ] |