Skip to content

Commit c69be26

Browse files
committed
Fix compilation issue with CMake >= 3.28
By forcing make install -j1 for jemalloc library.
1 parent 8a3690e commit c69be26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/jemalloc.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ ExternalProject_Add(jemalloc
3838
"CFLAGS=${CMAKE_C_FLAGS} -Wno-missing-attributes"
3939

4040
BUILD_COMMAND ${MAKE}
41-
INSTALL_COMMAND make install
41+
# TODO: -j1 is a workaround for GH-39628: [C++] Use -j1 for cmake >= 3.28
42+
# Similar solution in Apache Arrow: https://github.com/apache/arrow/pull/39629
43+
INSTALL_COMMAND make install -j1
4244

4345
LOG_DOWNLOAD True
4446
LOG_UPDATE True

0 commit comments

Comments
 (0)