Skip to content

Commit

Permalink
Update os-specific behavior to use detect_os (#32)
Browse files Browse the repository at this point in the history
* Update os-specific behavior to use detect_os

* Address code review feedback
  • Loading branch information
kdvalin authored Nov 7, 2023
1 parent ab6db11 commit 7660a85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions coremark/coremark_run
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ execute_coremark()
#
# Ubuntu breaking without this setting.
#
uname -a | grep -q Ubuntu
if [ $? -eq 0 ]; then
if [[ "`test_tools/detect_os`" == "Ubuntu" ]]; then
declare -x PORT_DIR="linux64"
fi
make_flags="-DMULTITHREAD=${2} -DUSE_PTHREAD -pthread"
Expand Down

0 comments on commit 7660a85

Please sign in to comment.