Don't use FindPythonInterp #389
Labels
No labels
api-spec
bug
CLA requested
CLA valid
compliance
DO NOT MERGE
duplicate
enhancement
feature branch
good first issue
HEADER FORMATTING ISSUE
help wanted
Information
invalid
Jira status: AWAITING REVIEW
Jira status: CLOSED
Jira status: DONE
Jira status: IN PROGRESS
Jira status: IN REVIEW
Jira status: OPEN
Jira status: REOPENED
Jira status: RESOLVED
mirrored
mirror internally
needs: backports
needs: ci
needs: design review
needs: preceding PR
needs: review
needs: work
notabug
open for community contribution
Product Backlog
question
ready for merge
security
stale
type: bug
type: enhancement
type: question
web pages
wontfix
writing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-ARMmbed/mbed-crypto#389
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Issue request type
see https://cmake.org/cmake/help/latest/module/FindPythonInterp.html
FindPythonInterp may failed when python 2 found first
Note that we do want to maintain backward compatibility with somewhat older versions of cmake, at least cmake 3.5.1 which is the version of Ubuntu 16.04. So we can't just switch to
FindPython3orFindPython.can we add a progressive upgraded behaviour?
for example if cmake version > 3.x do
FindPython3instead ofFindPythonInterpSure. As long as the file can be parsed with older versions, that's ok. We have tests on
GCC_VERSION, we can have tests onCMAKE_VERSIONas well (or oncmake_is_module_available("FindPython3")if there's such a thing?).