set number of cpu threads in CI to min(nproc,64) (#2793)

This commit is contained in:
Illia Silin
2025-09-05 17:26:13 -07:00
committed by GitHub
parent 9e71e9f88c
commit 4e4a784d53

3
Jenkinsfile vendored
View File

@@ -33,9 +33,6 @@ def nthreads() {
def nproc = sh(returnStdout: true, script: 'nproc')
echo "Number of cores: ${nproc}"
def n = nproc.toInteger()
if (n > 32){
n /= 2
}
if (n > 64){
n = 64
}