remove redundant cmake flag in unix.sh and set max processes for linux to 4

release/4.3a0
Varun Agrawal 2023-03-01 18:01:37 -05:00
parent d66b8b4fee
commit 32e266d5ab
1 changed files with 2 additions and 3 deletions

View File

@ -71,8 +71,7 @@ function configure()
-DGTSAM_USE_SYSTEM_EIGEN=${GTSAM_USE_SYSTEM_EIGEN:-OFF} \
-DGTSAM_USE_SYSTEM_METIS=${GTSAM_USE_SYSTEM_METIS:-OFF} \
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
-DGTSAM_SINGLE_TEST_EXE=OFF \
-DBoost_ARCHITECTURE=-x64
-DGTSAM_SINGLE_TEST_EXE=OFF
}
@ -95,7 +94,7 @@ function build ()
if [ "$(uname)" == "Linux" ]; then
if (($(nproc) > 2)); then
make -j$(nproc)
make -j4
else
make -j2
fi