Skip to content

Commit

Permalink
[Java] Parallel to build JNI C++ code
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchengchenghh committed May 29, 2024
1 parent f904928 commit 4a51735
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@
<phase>generate-resources</phase>
<configuration>
<executable>cmake</executable>
<commandlineArgs>--build java-jni --target install --config Release</commandlineArgs>
<commandlineArgs>--build java-jni --target install --config Release -j</commandlineArgs>
<workingDirectory>../</workingDirectory>
</configuration>
</execution>
Expand Down Expand Up @@ -1207,7 +1207,7 @@
<phase>generate-resources</phase>
<configuration>
<executable>cmake</executable>
<commandlineArgs>--build cpp-jni --target install --config Release</commandlineArgs>
<commandlineArgs>--build cpp-jni --target install --config Release -j</commandlineArgs>
<workingDirectory>../</workingDirectory>
<skip>${cpp.dependencies.builded}</skip>
</configuration>
Expand Down Expand Up @@ -1244,7 +1244,7 @@
<phase>generate-resources</phase>
<configuration>
<executable>cmake</executable>
<commandlineArgs>--build java-jni --target install --config Release</commandlineArgs>
<commandlineArgs>--build java-jni --target install --config Release -j</commandlineArgs>
<workingDirectory>../</workingDirectory>
</configuration>
</execution>
Expand Down Expand Up @@ -1353,7 +1353,7 @@
<phase>generate-resources</phase>
<configuration>
<executable>cmake</executable>
<commandlineArgs>--build java-jni --target install --config Release</commandlineArgs>
<commandlineArgs>--build java-jni --target install --config Release -j</commandlineArgs>
<workingDirectory>../</workingDirectory>
</configuration>
</execution>
Expand Down

0 comments on commit 4a51735

Please sign in to comment.