mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 10:15:43 +00:00
fix: use configured parallel jobs for ninja install (#49405)
#48783 Signed-off-by: luzhang <luzhang@zilliz.com> Co-authored-by: luzhang <luzhang@zilliz.com>
This commit is contained in:
@@ -303,7 +303,7 @@ if [[ ${RUN_CPPLINT} == "ON" ]]; then
|
||||
else
|
||||
# compile and build
|
||||
if [ "$CMAKE_GENERATOR" = "Ninja" ]; then
|
||||
ninja -j 4 install || exit 1
|
||||
ninja -j ${jobs} install || exit 1
|
||||
else
|
||||
make -j ${jobs} install || exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user