File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ script:
6868 ./build.sh || exit 1;
6969 fi;
7070
71- - |
71+ - |
7272 if [[ "$USE_DOCKER" == "TRUE" ]]; then
7373 if [[ "$USE_OPENMP" == "TRUE" ]]; then
7474 docker run -it -v $(pwd):/root/repo nnvmc/base /bin/bash -c "cd /root/repo/build && make test";
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- if [ " $1 " == " " ]; then
3+ if [ " $1 " = " " ]; then
44 echo " Expected the name of the benchmark to run as first argument."
55else
66 bench=$1
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- if [ " $1 " == " " ]; then
3+ if [ " $1 " = " " ]; then
44 echo " Expected the name of the benchmark to run as first argument."
5- elif [ " $2 " == " " ]; then
5+ elif [ " $2 " = " " ]; then
66 echo " Expected the path of libprofiler.so as second argument."
77else
88 bench=$1
Original file line number Diff line number Diff line change 44mkdir -p build && cd build
55cmake -DCMAKE_CXX_COMPILER=" ${CXX_COMPILER} " -DUSER_CXX_FLAGS=" ${CXX_FLAGS} " -DUSE_COVERAGE=" ${USE_COVERAGE} " -DUSE_OPENMP=" ${USE_OPENMP} " -DGSL_ROOT_DIR=" ${GSL_ROOT} " ..
66
7- if [ " $1 " == " " ]; then
7+ if [ " $1 " = " " ]; then
88 make -j$( nproc 2> /dev/null || sysctl -n hw.ncpu 2> /dev/null || getconf _NPROCESSORS_ONLN 2> /dev/null)
99else
1010 make -j$1
You can’t perform that action at this time.
0 commit comments