summaryrefslogtreecommitdiff
path: root/Modules/FindPython
Commit message (Collapse)AuthorAgeFilesLines
* FindPython: Add Windows/ARM supportMarc Chevrier2023-03-261-26/+84
| | | | Fixes: #24587
* FindPython: ensure Stable ABI is correctly handledMarc Chevrier2023-03-201-1/+1
| | | | Fixes: #24610
* FindPython: fix erroneous ${CMAKE_SHARED_LIBRARY_SUFFIX} matchingMarc Chevrier2023-03-011-3/+3
| | | | Fixes: #24556
* Merge topic 'FindPython-CMP0007-NEW'Brad King2023-01-241-0/+2
|\ | | | | | | | | | | | | 486b3c0850 FindPython: Policy CMP0007 must be set to NEW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8104
| * FindPython: Policy CMP0007 must be set to NEWMarc Chevrier2023-01-211-0/+2
| | | | | | | | Fixes: #24306
* | FindPython: add support for Stable ABIMarc Chevrier2022-11-291-91/+662
| | | | | | | | Fixes: #24141
* | FindPython: enhance SOABI computationMarc Chevrier2022-11-151-8/+31
|/ | | | Fixes: #24121, #23651
* FindPython: remove unnecessary components interdependenceMarc Chevrier2022-07-191-1/+9
| | | | Fixes: #23716
* Merge topic 'FindPython-multiple-queries'Brad King2022-06-281-2/+4
|\ | | | | | | | | | | | | ece3bedbf2 FindPython: fix error on multiple queries with different COMPONENTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7410
| * FindPython: fix error on multiple queries with different COMPONENTSMarc Chevrier2022-06-271-2/+4
| | | | | | | | | | Ensure that multiple queries with different COMPONENTS specified in different sub-directories are fully supported.
* | FindPython: enhance search criteriasMarc Chevrier2022-06-221-103/+124
| | | | | | | | | | | | | | | | Use VALIDATOR option of find_* commands to add more criterias to the search: * version * architecture Fixes: #22319
* | FindPython: enhance windows registry handlingMarc Chevrier2022-06-211-12/+25
|/
* FindPython*: enhance interpreter lookupMarc Chevrier2022-06-051-2/+11
| | | | Fixes: #23588
* FindPython: add support for Python 3.12Michael Hirsch2022-05-121-1/+1
|
* FindPython: fix typo errorMarc Chevrier2022-05-031-1/+1
| | | | Fixes: #23476
* FindPython: Add support for pypy v7.3.9 and uppersMarc Chevrier2022-04-201-1/+12
| | | | | | Library name versioning has changed. Fixes: #23439
* FindPython: fix various problems using pypy interpretersMarc Chevrier2022-03-171-10/+25
| | | | | | * add more possible directories for include file search * enhance version detection from library and include files * search for file pypy_decl.h when PyPy.h is not defined
* FindPython: Add support for Python 3.11Tomáš Hrnčiar2021-12-071-1/+1
|
* FindPython: Ensure homebrew on Mac M1 is usedMarc Chevrier2021-09-031-0/+1
| | | | Fixes: #22581
* Merge topic 'FindPython-fix-variable-handling'Brad King2021-02-161-2/+2
|\ | | | | | | | | | | | | 754f4f6876 FindPython: fix erroneous variable handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5816
| * FindPython: fix erroneous variable handlingMarc Chevrier2021-02-161-2/+2
| | | | | | | | Fixes: #21817
| * Merge topic 'FindPython-python2-soabi-suffix-fix' into release-3.19Brad King2020-12-081-2/+10
| |\ | | | | | | | | | | | | | | | | | | afb0ffcac7 FindPython2: avoid doubling the extension in CPython2 SOABI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5574
| * | cmake_path: remove new command from 3.19Marc Chevrier2020-11-031-3/+2
| | | | | | | | | | | | | | | | | | | | | Defer adding this command until post-3.19 development so that it has more time to mature before being included in a release. Issue: #21385
* | | Merge topic 'FindPython-python2-soabi-suffix-fix'Brad King2020-12-081-2/+10
|\ \ \ | | |/ | |/| | | | | | | | | | | | | afb0ffcac7 FindPython2: avoid doubling the extension in CPython2 SOABI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5574
| * | FindPython2: avoid doubling the extension in CPython2 SOABIBen Boeckel2020-12-041-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 951640f1f9 (FindPython: manage SOABI for all Python versions, 2020-08-11) extended support for Python2's SOABI variable in order to support the PyPy interpreter as well. This caused a regression in the way that the SOABI variable was built up for the CPython interpreter. This caused the variable to be set to `.so` which ended up causing a doubling of the resulting `SOABI` variable in the end. Co-Author: Marc Chevrier <marc.chevrier@gmail.com> Fixes: #21548
* | | FindPython: Adds control over artifact names to searchMarc Chevrier2020-11-031-2/+18
| |/ |/| | | | | Fixes: #21371
* | FindPython: Add support of version 3.10Marc Chevrier2020-10-161-1/+1
| |
* | FindPython: Ensure Apple Xcode python 3 is usableMarc Chevrier2020-10-121-0/+28
| | | | | | | | | | | | | | The python 3 distributed as part of Xcode requires the specification of a 'rpath' pointing at frameowrks root for a correct execution. Fixes: #21293
* | FindPython: Add version range supportMarc Chevrier2020-09-301-137/+272
|/ | | | Fixes: #21107
* FindPython: Fix erroneous regex in ABI checkMarc Chevrier2020-09-231-1/+1
| | | | | | | | A regex added by commit 6fdfe2428d (FindPython: enhance ABI checks against include directory, 2020-09-02, v3.18.3~17^2) was missing a backslash. Fixes: #21223
* FindPython: CMP0012 must be set to NEWMarc Chevrier2020-09-071-1/+11
| | | | Fixes: #21168
* FindPython: enhance ABI checks against include directoryMarc Chevrier2020-09-021-8/+18
| | | | Fixes: #21149
* FindPython: enhance robustness of version extraction from library nameMarc Chevrier2020-08-181-3/+4
| | | | Fixes: #21105
* FindPython: manage SOABI for all Python versionsMarc Chevrier2020-08-111-12/+4
| | | | Fixes: #21070
* FindPython: ensure user's policies are respectedMarc Chevrier2020-08-071-8/+5
| | | | | | | | | | | Do not set the policy version before recording our internal macros such as `__Python_add_library`. Otherwise callers get our policy version instead of theirs. Instead just set the specific policies we need. Also fix one case in our test suite where we were accidentally relying on the policy version to be set by `FindPython`. Fixes: #21042
* FindPython: use CMAKE specific variables to look-up debug libraryMarc Chevrier2020-05-181-0/+6
| | | | Fixes: #20714
* FindPython: Add IronPython support on all platformsMarc Chevrier2020-05-111-82/+337
|
* FindPython: ensure any specified version is correctly handledMarc Chevrier2020-05-071-47/+66
| | | | Fixes: #20674
* FindPython: Add support for 'PyPy'Marc Chevrier2020-05-011-9/+91
|
* FindPython: fix error on FPHSA callMarc Chevrier2020-04-291-20/+20
|
* FindPython: Add capability to specify Python implementationsMarc Chevrier2020-04-281-489/+547
| | | | | | | | Through hint Python_FIND_IMPLEMENTATIONS it is possble to specify, as an ordered list, which implementations must be searched for. Currently possible values are: * CPython * IronPython
* Merge topic 'FindPython-reason-failure'Brad King2020-04-271-21/+23
|\ | | | | | | | | | | | | a7eca04163 FindPython: fix reason failure propagation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4660
| * FindPython: fix reason failure propagationMarc Chevrier2020-04-241-21/+23
| |
* | Merge topic 'FindPython-fix-python-compiler-validation'Brad King2020-04-241-15/+16
|\ \ | |/ | | | | | | | | | | f39da773ee FindPython: fix python compiler validation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4655
| * FindPython: fix python compiler validationMarc Chevrier2020-04-231-15/+16
| | | | | | | | | | | | | | Ensure also the cache of properties is erased in case of multiple searches. Fixes: #20626, #20627
* | FindPython: remove unnecessary if checkBen Boeckel2020-04-201-3/+1
| | | | | | | | `list(REMOVE_DUPLICATES)` is safe on empty lists since 3.14.
* | FindPython: fix some indentationBen Boeckel2020-04-171-2/+2
| |
* | FindPython: add sub-components to Development componentMarc Chevrier2020-04-161-80/+220
| | | | | | | | Fixes: #20425
* | Merge topic 'FindPython-if-auto-deref'Brad King2020-04-151-9/+9
|\ \ | |/ | | | | | | | | | | | | 894fdea2a9 FindPython: remove extra dereference 0b9c9e2c8c FindPython: avoid autoderef in version comparisons Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4610
| * FindPython: remove extra dereferenceBen Boeckel2020-04-141-1/+1
| | | | | | | | | | If the version is not found (e.g., missing headers), this causes a CMake error about `if(blah VERSION_EQUAL)` being an invalid statement.