Skip to content

Commit

Permalink
replace run_cmd with run_shell_cmd in custom easyblock for tbb (`…
Browse files Browse the repository at this point in the history
…tbb.py`)
  • Loading branch information
branfosj committed Feb 3, 2024
1 parent dcd646c commit d96a16c
Showing 1 changed file with 2 additions and 2 deletions.
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), path=os.path.join(self.builddir, 'cmake'))

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

0 comments on commit d96a16c

Please sign in to comment.