Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace run_cmd with run_shell_cmd in custom easyblock for tbb (tbb.py) #3145

Merged
merged 2 commits into from
Feb 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions easybuild/easyblocks/t/tbb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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), work_dir=os.path.join(self.builddir, 'cmake'))

def sanity_check_step(self):
"""Custom sanity check for TBB"""
Expand Down
Loading