assignUser commented on code in PR #39522:
URL: https://github.com/apache/arrow/pull/39522#discussion_r1445547590


##########
cpp/cmake_modules/ThirdpartyToolchain.cmake:
##########
@@ -2040,10 +2040,17 @@ macro(build_jemalloc)
     # Enable jemalloc debug checks when Arrow itself has debugging enabled
     list(APPEND JEMALLOC_CONFIGURE_COMMAND "--enable-debug")
   endif()
+
   set(JEMALLOC_BUILD_COMMAND ${MAKE} ${MAKE_BUILD_ARGS})
+  # Paralleism for Make fails with CMake > 3.28 see #39517
+  if(${CMAKE_GENERATOR} MATCHES "Makefiles")
+    list(APPEND JEMALLOC_BUILD_COMMAND "-j1")

Review Comment:
   The problem has not occurred with any other dependency neither on CI nor in 
my own testing (or after the fix). For the smaller dependencies it might not 
make a difference but with the number of larger dependencies we have forcing 
the all to use -j1 if there is no actual issue seems like it would slow build 
times with no gain?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to