@@ -73,14 +73,14 @@ SPDX-License-Identifier: Apache-2.0
7373 It keeps old build commands and previous cmake-flags. -->
7474 <delete dir =" ${opensmt.path}/build" quiet =" true" />
7575 <exec executable =" make" dir =" ${opensmt.path}" failonerror =" false" resultproperty =" build.returnCode" >
76+ <env key =" CMAKE_BUILD_PARALLEL_LEVEL" value =" 8" />
7677 <arg value =" INSTALL_DIR=${opensmt.installPath}" />
7778 <!-- The next arg is ONE large parameter. If executed manually outside of ant, please wrap it in quotes. -->
7879 <arg value =" CMAKE_FLAGS=
7980 -DFORCE_STATIC_GMP=ON
8081 -DGMP_LIBRARY=${gmp-linux-x64.path}/lib/libgmp.a
8182 -DGMPXX_LIBRARY=${gmp-linux-x64.path}/lib/libgmpxx.a
8283 -DGMP_INCLUDE_DIR=${gmp-linux-x64.path}/include" />
83- <arg value =" -j8" />
8484 <arg value =" install" />
8585 </exec >
8686
@@ -121,6 +121,7 @@ SPDX-License-Identifier: Apache-2.0
121121 It keeps old build commands and previous cmake-flags. -->
122122 <delete dir =" ${opensmt.path}/build" quiet =" true" />
123123 <exec executable =" make" dir =" ${opensmt.path}" failonerror =" false" resultproperty =" build.returnCode" >
124+ <env key =" CMAKE_BUILD_PARALLEL_LEVEL" value =" 8" />
124125 <arg value =" INSTALL_DIR=${opensmt.installPath}" />
125126 <!-- The next arg is ONE large parameter. If executed manually outside of ant, please wrap it in quotes. -->
126127 <arg value =" CMAKE_FLAGS=
@@ -130,7 +131,6 @@ SPDX-License-Identifier: Apache-2.0
130131 -DGMP_LIBRARY=${gmp-linux-arm64.path}/lib/libgmp.a
131132 -DGMPXX_LIBRARY=${gmp-linux-arm64.path}/lib/libgmpxx.a
132133 -DGMP_INCLUDE_DIR=${gmp-linux-arm64.path}/include" />
133- <arg value =" -j8" />
134134 <arg value =" install" />
135135 </exec >
136136
0 commit comments