Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Jan 10, 2025
1 parent 47d2191 commit 88781cb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sapi/scripts/cygwin/cygwin-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ mkdir -p bin/.libs
# export LDFLAGS="-all-static"

LOGICAL_PROCESSORS=$(nproc)
if test $LOGICAL_PROCESSORS -ge 4; then
LOGICAL_PROCESSORS=$((LOGICAL_PROCESSORS - 2))
fi
set +u
if [ -n "${GITHUB_ACTION}" ]; then
if test $LOGICAL_PROCESSORS -ge 4; then
Expand All @@ -30,8 +27,7 @@ if [ -n "${GITHUB_ACTION}" ]; then
make cli
# make -j $LOGICAL_PROCESSORS
else
# make -j $LOGICAL_PROCESSORS cli
make cli
make -j $LOGICAL_PROCESSORS cli
fi
set -u

Expand Down

0 comments on commit 88781cb

Please sign in to comment.