From 5d9eaafd3eab410f2d395029b998434ed7c418b2 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Fri, 23 Jun 2023 14:02:19 -0500 Subject: [PATCH] acts: append Python_EXECUTABLE --- packages/acts/package.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/acts/package.py diff --git a/packages/acts/package.py b/packages/acts/package.py new file mode 100644 index 00000000..a02a7316 --- /dev/null +++ b/packages/acts/package.py @@ -0,0 +1,9 @@ +from spack import * +from spack.pkg.builtin.acts import Acts as BuiltinActs + + +class Acts(BuiltinActs): + def cmake_args(self): + args = super().cmake_args() + args.append(self.define("Python_EXECUTABLE", self.spec["python"].command.path)) + return args