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()
161
161
WORKING_DIRECTORY ${jemalloc_targ_SOURCE_DIR}
162
162
OUTPUT ${jemalloc_targ_SOURCE_DIR} /Makefile
163
163
DEPENDS ${jemalloc_targ_SOURCE_DIR} /configure )
164
+
165
+ if (NOT UMF_QEMU_BUILD )
166
+ set (MAKE_ARGUMENTS "-j$(nproc)" )
167
+ endif ()
168
+
164
169
add_custom_command (
165
- COMMAND make
170
+ COMMAND make ${MAKE_ARGUMENTS}
166
171
WORKING_DIRECTORY ${jemalloc_targ_SOURCE_DIR}
167
172
OUTPUT ${jemalloc_targ_SOURCE_DIR} /lib/libjemalloc.a
168
173
DEPENDS ${jemalloc_targ_SOURCE_DIR} /Makefile )
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ cd build
21
21
22
22
cmake .. \
23
23
-DCMAKE_BUILD_TYPE=Debug \
24
+ -DUMF_QEMU_BUILD=1 \
24
25
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON \
25
26
-DUMF_BUILD_CUDA_PROVIDER=ON \
26
27
-DUMF_FORMAT_CODE_STYLE=OFF \
You can’t perform that action at this time.
0 commit comments