jinchengchenghh opened a new issue, #41867:
URL: https://github.com/apache/arrow/issues/41867

   ### Describe the enhancement requested
   
   Now we use
   ```
   <executable>cmake</executable>
   <commandlineArgs>--build cpp-jni --target install --config 
Release</commandlineArgs>
   ```
   
   The CI use `export CMAKE_BUILD_PARALLEL_LEVEL=NUM_THREAD` to accelerate 
build process.
   But user may not set this environment.
   Add `-j` to `commandlineArgs`
   ```
   -j [<jobs>], --parallel [<jobs>]
   New in version 3.12.
   
   The maximum number of concurrent processes to use when building. If <jobs> 
is omitted the native build tool's default number is used.
   
   The 
[CMAKE_BUILD_PARALLEL_LEVEL](https://cmake.org/cmake/help/latest/envvar/CMAKE_BUILD_PARALLEL_LEVEL.html#envvar:CMAKE_BUILD_PARALLEL_LEVEL)
 environment variable, if set, specifies a default parallel level when this 
option is not given.
   
   Some native build tools always build in parallel. The use of <jobs> value of 
1 can be used to limit to a single job.
   ```
   
   https://cmake.org/cmake/help/latest/manual/cmake.1.html#build-tool-mode
   
   If you think it is possible, I can help to implement it.
   
   ### Component(s)
   
   Java


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to