3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-14 12:01:36 +02:00

[jenkins] set OMP_NUM_THREADS

This commit is contained in:
Dylan Simon 2021-06-15 10:13:55 -04:00
parent 84d45485f9
commit 4a74b446a2

3
Jenkinsfile vendored
View File

@ -88,7 +88,8 @@ for (int i = 0; i < osxPlatforms.size(); i++) {
"LIBRARY_PATH=$venv/lib:$hdf5/lib:${env.BREW}/lib", "LIBRARY_PATH=$venv/lib:$hdf5/lib:${env.BREW}/lib",
"LD_LIBRARY_PATH=$hdf5/lib", "LD_LIBRARY_PATH=$hdf5/lib",
"PYTHONPATH=$installDir/lib/python3.9/site-packages", "PYTHONPATH=$installDir/lib/python3.9/site-packages",
"CMAKE_PREFIX_PATH=$venv/lib/cmake/triqs"]) { "CMAKE_PREFIX_PATH=$venv/lib/cmake/triqs",
"OMP_NUM_THREADS=2"]) {
deleteDir() deleteDir()
/* note: this is installing into the parent (triqs) venv (install dir), which is thus shared among apps and so not be completely safe */ /* note: this is installing into the parent (triqs) venv (install dir), which is thus shared among apps and so not be completely safe */
sh "pip3 install -U -r $srcDir/requirements.txt" sh "pip3 install -U -r $srcDir/requirements.txt"