未验证 提交 cfc800b5 编写于 作者: R Riccardo 提交者: GitHub

Use dynamic number of cores (#685)

Co-authored-by: Ngasgallo <rgall@sertiscorp.com>
上级 07b935aa
......@@ -32,5 +32,5 @@ cmake -DCROSSTOOL_ROOT=${LINARO_AARCH64_LINUX_GNU} \
-DMACE_ENABLE_CODE_MODE=${MACE_ENABLE_CODE_MODE} \
-DCMAKE_INSTALL_PREFIX=install \
../../..
make -j6 VERBOSE=1 && make install
make -j$(nproc) VERBOSE=1 && make install
cd ../../..
......@@ -32,5 +32,5 @@ cmake -DCROSSTOOL_ROOT=${LINARO_ARM_LINUX_GNUEABIHF} \
-DMACE_ENABLE_CODE_MODE=${MACE_ENABLE_CODE_MODE} \
-DCMAKE_INSTALL_PREFIX=install \
../../..
make -j6 VERBOSE=1 && make install
make -j$(nproc) VERBOSE=1 && make install
cd ../../..
......@@ -47,5 +47,5 @@ cmake -DANDROID_ABI="arm64-v8a" \
-DMACE_ENABLE_RPCMEM=ON \
-DCMAKE_INSTALL_PREFIX=install \
../../..
make -j6 VERBOSE=1 && make install
make -j$(nproc) VERBOSE=1 && make install
cd ../../..
......@@ -49,5 +49,5 @@ cmake -DANDROID_ABI="armeabi-v7a" \
-DMACE_ENABLE_RPCMEM=ON \
-DCMAKE_INSTALL_PREFIX=install \
../../..
make -j6 VERBOSE=1 && make install
make -j$(nproc) VERBOSE=1 && make install
cd ../../..
......@@ -24,5 +24,5 @@ cmake -DMACE_ENABLE_NEON=OFF \
-DMACE_ENABLE_CODE_MODE=${MACE_ENABLE_CODE_MODE} \
-DCMAKE_INSTALL_PREFIX=install \
../../..
make -j6 VERBOSE=1 && make install
make -j$(nproc) VERBOSE=1 && make install
cd ../../..
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册