Skip to content

Conversation

@Flamefire
Copy link
Contributor

When Python is used the CMakeMake easyblock already adds the required CMake options. As it has better logic to do so remove it from derived easyblocks.

There are 3 easyblocks (lammps, openbabel, root) that also set PYTHON_LIBRARY and PYTHON_INCLUDE_DIR. The comment in lammps "older lammps" and "deprecated CMake" hints at FindPythonLibs, i.e. find_package(PythonLibs) where they are indeed required. So I left those there for now.

@Flamefire Flamefire force-pushed the python-cmake-paths branch from 74ed31c to ef8e9ec Compare April 9, 2025 13:27
@Flamefire Flamefire force-pushed the python-cmake-paths branch from ef8e9ec to 16c45c6 Compare May 12, 2025 10:22
@boegel boegel added this to the release after 5.1.0 milestone May 21, 2025
@Flamefire Flamefire force-pushed the python-cmake-paths branch from 16c45c6 to eaafb26 Compare May 23, 2025 09:10
@boegel boegel changed the title Let CMakeMake set the Python paths for CMake clean up easyblocks to let CMakeMake they derive from set cmake option to specify Python paths Jul 3, 2025
@boegel boegel modified the milestones: 5.1.1, release after 5.1.1 Jul 3, 2025
When Python is used the CMakeMake easyblock already adds the required CMake options.
As it has better logic to do so remove it from derived easyblocks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants