File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,13 @@ else()
161161 WORKING_DIRECTORY ${jemalloc_targ_SOURCE_DIR}
162162 OUTPUT ${jemalloc_targ_SOURCE_DIR} /Makefile
163163 DEPENDS ${jemalloc_targ_SOURCE_DIR} /configure)
164+
165+ if (NOT UMF_QEMU_BUILD)
166+ set (MAKE_ARGUMENTS "-j$(nproc)" )
167+ endif ()
168+
164169 add_custom_command (
165- COMMAND make
170+ COMMAND make ${MAKE_ARGUMENTS}
166171 WORKING_DIRECTORY ${jemalloc_targ_SOURCE_DIR}
167172 OUTPUT ${jemalloc_targ_SOURCE_DIR} /lib/libjemalloc.a
168173 DEPENDS ${jemalloc_targ_SOURCE_DIR} /Makefile)
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ cd build
2121
2222cmake .. \
2323 -DCMAKE_BUILD_TYPE=Debug \
24+ -DUMF_QEMU_BUILD=1 \
2425 -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON \
2526 -DUMF_BUILD_CUDA_PROVIDER=ON \
2627 -DUMF_FORMAT_CODE_STYLE=OFF \
You can’t perform that action at this time.
0 commit comments