From d96a16c51f73d9313c3fe7f1fed5abbdce8b4f2a Mon Sep 17 00:00:00 2001 From: Simon Branford Date: Sat, 3 Feb 2024 09:54:36 +0000 Subject: [PATCH] replace `run_cmd` with `run_shell_cmd` in custom easyblock for tbb (`tbb.py`) --- easybuild/easyblocks/t/tbb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easybuild/easyblocks/t/tbb.py b/easybuild/easyblocks/t/tbb.py index 995bfa854a..46e339058e 100644 --- a/easybuild/easyblocks/t/tbb.py +++ b/easybuild/easyblocks/t/tbb.py @@ -47,7 +47,7 @@ from easybuild.tools.build_log import EasyBuildError from easybuild.tools.modules import get_software_version from easybuild.tools.systemtools import POWER, get_cpu_architecture, get_gcc_version, get_platform_name -from easybuild.tools.run import run_cmd +from easybuild.tools.run import run_shell_cmd def get_tbb_gccprefix(libpath): @@ -214,7 +214,7 @@ def install_step(self): '-DSYSTEM_NAME=Linux', '-P tbb_config_installer.cmake', ] - run_cmd(' '.join(cmd), path=os.path.join(self.builddir, 'cmake')) + run_shell_cmd(' '.join(cmd), path=os.path.join(self.builddir, 'cmake')) def sanity_check_step(self): """Custom sanity check for TBB"""