Skip to content

FindPython Update, master branch (2020.07.28.)

Now using Python_FIND_VIRTUALENV to disable Conda's usage by default.

https://cmake.org/cmake/help/latest/module/FindPython.html#hints

This is to not allow projects built with Intel's development environment and an ATLAS nightly set up, to use Intel's Python version by default. Not unless they set up their environment "in an order" that would allow for that. See ATLINFR-3664 for a better description of the issue that this MR is trying to solve.

Note that I decided not to make this setting in the FindPython.cmake file itself, as I thought this setup would give us more flexibility with using Intel's Python version in case we do want to do that. (When starting the entire build using Intel's compiler for instance.) Though one may argue that I just made things more complicated like this... 🤔

Merge request reports