From d22f4fc9832072241042dcf40194cff10aecfbc8 Mon Sep 17 00:00:00 2001 From: Cyrus Harrison Date: Fri, 16 Apr 2021 18:16:09 -0700 Subject: 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 --- var/spack/repos/builtin/packages/conduit/package.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'var') 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")) -- cgit v1.2.3-60-g2f50