Skip to content

Commit

Permalink
Merge pull request #18963 from maxim-masterov/espresso_upd
Browse files Browse the repository at this point in the history
make sure Python dependency included for ESPResSo is actually used by specifying `-DPYTHON_EXECUTABLE`
  • Loading branch information
boegel authored Oct 11, 2023
2 parents 8ca0577 + 66cf178 commit e5df6cd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ dependencies = [
]

configopts = ' -DCMAKE_SKIP_RPATH=OFF -DWITH_TESTS=ON -DWITH_CUDA=ON'
# make sure the right Python is used (note: -DPython3_EXECUTABLE or -DPython_EXECUTABLE does not work!)
configopts += ' -DPYTHON_EXECUTABLE=$EBROOTPYTHON/bin/python '

runtest = 'check_unit_tests && make check_python'

Expand Down
2 changes: 2 additions & 0 deletions easybuild/easyconfigs/e/ESPResSo/ESPResSo-4.2.1-foss-2021a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ dependencies = [
]

configopts = ' -DCMAKE_SKIP_RPATH=OFF -DWITH_TESTS=ON -DWITH_CUDA=OFF'
# make sure the right Python is used (note: -DPython3_EXECUTABLE or -DPython_EXECUTABLE does not work!)
configopts += ' -DPYTHON_EXECUTABLE=$EBROOTPYTHON/bin/python '

runtest = 'check_unit_tests && make check_python'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ dependencies = [
]

configopts = ' -DCMAKE_SKIP_RPATH=OFF -DWITH_TESTS=ON -DWITH_CUDA=ON'
# make sure the right Python is used (note: -DPython3_EXECUTABLE or -DPython_EXECUTABLE does not work!)
configopts += ' -DPYTHON_EXECUTABLE=$EBROOTPYTHON/bin/python '

runtest = 'check_unit_tests && make check_python'

Expand Down
2 changes: 2 additions & 0 deletions easybuild/easyconfigs/e/ESPResSo/ESPResSo-4.2.1-foss-2022a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ dependencies = [
]

configopts = ' -DCMAKE_SKIP_RPATH=OFF -DWITH_TESTS=ON -DWITH_CUDA=OFF'
# make sure the right Python is used (note: -DPython3_EXECUTABLE or -DPython_EXECUTABLE does not work!)
configopts += ' -DPYTHON_EXECUTABLE=$EBROOTPYTHON/bin/python '

runtest = 'check_unit_tests && make check_python'

Expand Down

0 comments on commit e5df6cd

Please sign in to comment.