diff options
author | Erik Schnetter <schnetter@gmail.com> | 2021-07-14 23:00:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 22:00:44 -0500 |
commit | 0a3f875b9561c3f1940c8a933892700e452e92e2 (patch) | |
tree | 73224e50e43e5d34d1ee5bbdbad7747bb255b790 /var | |
parent | 29f10624bd398442ab3530215e0a73b362e0559d (diff) | |
download | spack-0a3f875b9561c3f1940c8a933892700e452e92e2.tar.gz spack-0a3f875b9561c3f1940c8a933892700e452e92e2.tar.bz2 spack-0a3f875b9561c3f1940c8a933892700e452e92e2.tar.xz spack-0a3f875b9561c3f1940c8a933892700e452e92e2.zip |
boost: Run `b2 headers` after a git clone (#24889)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/boost/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py index d68db91162..411e20596b 100644 --- a/var/spack/repos/builtin/packages/boost/package.py +++ b/var/spack/repos/builtin/packages/boost/package.py @@ -551,6 +551,10 @@ class Boost(Package): threading_opts = self.determine_b2_options(spec, b2_options) + # Create headers if building from a git checkout + if '@develop' in spec: + b2('headers', *b2_options) + b2('--clean', *b2_options) # In theory it could be done on one call but it fails on |