summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Payerle <payerle@umd.edu>2020-09-04 17:12:53 -0400
committerGitHub <noreply@github.com>2020-09-04 16:12:53 -0500
commit2cc7718edd8fde7e9bf41b7acc2ee533527aa267 (patch)
tree1e51f9e2d2aa6babd92ce822860f84d805cb4389
parent518372ccd1d8057e80e6cb7afd3766f2d9197bac (diff)
downloadspack-2cc7718edd8fde7e9bf41b7acc2ee533527aa267.tar.gz
spack-2cc7718edd8fde7e9bf41b7acc2ee533527aa267.tar.bz2
spack-2cc7718edd8fde7e9bf41b7acc2ee533527aa267.tar.xz
spack-2cc7718edd8fde7e9bf41b7acc2ee533527aa267.zip
bml: Add build dependency on python (#18489) (#18491)
At some point in the build phase a script spack-src/scripts/convert-template has a shebang looking for python in the path. Currently this picks up system python if in invoker's path, but should be using python from spack, so add a build dependency on python.
-rw-r--r--var/spack/repos/builtin/packages/bml/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bml/package.py b/var/spack/repos/builtin/packages/bml/package.py
index 9cc70e14f5..48a263f85e 100644
--- a/var/spack/repos/builtin/packages/bml/package.py
+++ b/var/spack/repos/builtin/packages/bml/package.py
@@ -30,6 +30,7 @@ class Bml(CMakePackage):
depends_on("blas")
depends_on("lapack")
depends_on('mpi', when='+mpi')
+ depends_on('python', type='build')
def cmake_args(self):
args = [