stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
138 stars 44 forks source link

jenkins: pass appropriate parallel arg to runPerformanceTests.py #1374

Closed dylex closed 8 months ago

dylex commented 8 months ago

Currently when jenkins runs compare-compilers.sh and compare-optimizer.sh, they end up running runPerformanceTest.py with no -j argument, so the resulting builds end up running -j80 or something (from number of CPUs), while in fact they only have access to 4 cores (as set with PARALLEL in jenkins env). As such the builds are running quite slowly. This should hopefully help.

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)