Skip to content

Commit

Permalink
[fix] Fix BAZEL_JOBS parameter pass in build.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Ketor <[email protected]>
  • Loading branch information
ketor committed Jul 15, 2024
1 parent 99700cd commit 8ae601b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ cp ${dir}/thirdparties/etcdclient/libetcdclient.h ${dir}/include/etcdclient/etcd

if [ `gcc -dumpversion | awk -F'.' '{print $1}'` -le 6 ]
then
bazelflags='--jobs=${BAZEL_JOBS}'
bazelflags="--jobs=${BAZEL_JOBS}"
else
bazelflags='--copt -faligned-new --jobs=${BAZEL_JOBS}'
bazelflags="--copt -faligned-new --jobs=${BAZEL_JOBS}"
fi

if [ "$1" = "debug" ]
Expand Down Expand Up @@ -208,4 +208,4 @@ else
fi
fi

echo "end compile"
echo "end compile"

0 comments on commit 8ae601b

Please sign in to comment.