Skip to content

Commit

Permalink
Get num cores correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Baltoli committed Nov 3, 2023
1 parent b1b22ea commit d03df81
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion k-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>get-cpu-count</id>
<goals>
<goal>cpu-count</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
Expand Down Expand Up @@ -108,7 +121,7 @@
<configuration>
<target>
<exec dir="${ktestDir}" executable="make" failonerror="true">
<arg value="-j12" />
<arg value="-j${cpu.count}" />
<arg line="${make.args}" />
</exec>
</target>
Expand Down

0 comments on commit d03df81

Please sign in to comment.