diff options
author | Cyrus Harrison <cyrush@llnl.gov> | 2021-04-16 18:16:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 19:16:09 -0600 |
commit | d22f4fc9832072241042dcf40194cff10aecfbc8 (patch) | |
tree | fd78305f897f470c6f457e8a1eded7a2c0c71747 /var | |
parent | 117857ec72baa9db98753f196a9787051a498e66 (diff) | |
download | spack-d22f4fc9832072241042dcf40194cff10aecfbc8.tar.gz spack-d22f4fc9832072241042dcf40194cff10aecfbc8.tar.bz2 spack-d22f4fc9832072241042dcf40194cff10aecfbc8.tar.xz spack-d22f4fc9832072241042dcf40194cff10aecfbc8.zip |
bugfix for conduit py module install path (#23057)
* add lost logic for setting python install dir
* conduit: fix missing pass of python install path during build
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/conduit/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/conduit/package.py b/var/spack/repos/builtin/packages/conduit/package.py index 3a245b6d79..4f1bd9993c 100644 --- a/var/spack/repos/builtin/packages/conduit/package.py +++ b/var/spack/repos/builtin/packages/conduit/package.py @@ -422,6 +422,9 @@ class Conduit(CMakePackage): cfg.write("# python from spack \n") cfg.write(cmake_cache_entry("PYTHON_EXECUTABLE", spec['python'].command.path)) + cfg.write("# python module install dir\n") + cfg.write(cmake_cache_entry("PYTHON_MODULE_INSTALL_PREFIX", + site_packages_dir)) else: cfg.write(cmake_cache_entry("ENABLE_PYTHON", "OFF")) |