From 2cc7718edd8fde7e9bf41b7acc2ee533527aa267 Mon Sep 17 00:00:00 2001 From: Tom Payerle Date: Fri, 4 Sep 2020 17:12:53 -0400 Subject: [PATCH] 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. --- var/spack/repos/builtin/packages/bml/package.py | 1 + 1 file changed, 1 insertion(+) 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 = [