Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Apr 15, 2022
1 parent addadd3 commit 197e95f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions native-sql-engine/cpp/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,9 @@ cd ${CURRENT_DIR}
if [ -d build ]; then
rm -r build
fi
mkdir build
mkdir -p build
cd build
cmake .. -DTESTS=${TESTS} -DBUILD_ARROW=${BUILD_ARROW} -DSTATIC_ARROW=${STATIC_ARROW} -DBUILD_PROTOBUF=${BUILD_PROTOBUF} -DARROW_ROOT=${ARROW_ROOT} -DARROW_BFS_INSTALL_DIR=${ARROW_BFS_INSTALL_DIR} -DBUILD_JEMALLOC=${BUILD_JEMALLOC}
make -j2

set +eu

make -j2

set +eu
cores=$(grep -c ^processor /proc/cpuinfo 2>/dev/null)
make -j$cores

0 comments on commit 197e95f

Please sign in to comment.