summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython
Commit message (Collapse)AuthorAgeFilesLines
* FindPython: Add support for Python 3.14Miro Hrončok2024-10-181-1/+1
|
* FindPython: ensure all ABI are searched by defaultMarc Chevrier2024-09-121-35/+19
| | | | Fixes: #26279
* Merge topic 'FindPython-free-threaded-python' into release-3.30Brad King2024-08-271-0/+27
|\ | | | | | | | | | | | | 10abd2ac5a FindPython: ensure a usable environment is set for the free threaded Python Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9775
| * FindPython: ensure a usable environment is set for the free threaded PythonMarc Chevrier2024-08-271-0/+27
| | | | | | | | | | | | | | | | Define the `Python_DEFINITIONS` variable for the support of free threaded Python developments on Windows. This is a complement to commit 9a0dee7257 (FindPython: Add support for free threaded python, 2024-05-30).
* | FindPython: fix regression of NumPy detection with Intel MKL libraryEven Rouault2024-08-261-9/+8
|/ | | | | | | | | Fix commit df551ee538 (FindPython: fix NumPy detection when Intel MKL library is installed, 2024-03-20, v3.30.0-rc1~361^2) by setting `MKL_ENABLE_INSTRUCTIONS` to `SSE4_2`, but only if `MKL_ENABLE_INSTRUCTIONS` is not set in the calling environment. Fixes: #26240
* FindPython: Fix usage of cached variable _Python_EXECUTABLE_DEBUGMarc Chevrier2024-07-261-2/+20
| | | | Fixes: #26163
* FindPython: Add support for free threaded pythonMarc Chevrier2024-06-041-68/+115
| | | | Fixes: #26016
* FindPython: On Windows, Enhance python debug version supportMarc Chevrier2024-05-091-14/+85
| | | | | | | | | | | | | | Add the following variables: * Python_EXECUTABLE_DEBUG * Python_INTERPRETER * Python_DEBUG_POSTFIX and target Python::InterpreterDebug. python_add_library() command Manage DEBUG_POSTFIX target property based on the value of Python_DEBUG_POSTFIX variable. Fixes: #25874
* Modules: Fix CMP0159 warnings in modules when tracingJuan Ramos2024-03-291-0/+2
| | | | Closes: #25829
* FindPython: fix NumPy detection when Intel MKL library is installedEven Rouault2024-03-211-0/+16
| | | | | | | | | | | | | | | In an environment where both NumPy and a recent Intel MKL library are installed, the detection of numpy include directory fails because a 'import numpy' outputs a MKL related warning message on stdout... (namely "Intel MKL WARNING: Support of Intel(R) Advanced Vector Extensions (Intel(R) AVX) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library will use Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) instructions instead.") I've successfully tested the workaround mentioned at https://github.com/numpy/numpy/issues/23775#issuecomment-1923327310 which consists in setting the MKL_ENABLE_INSTRUCTIONS=SSE4_2 environment before importing numpy, hence this proposed workaround.
* Merge topic 'FindPython-3.13'Brad King2023-08-161-1/+1
|\ | | | | | | | | | | | | | | dfab044c44 FindPython: add support for Python 3.13 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8712
| * FindPython: add support for Python 3.13Vasily Ryabov2023-08-151-1/+1
| | | | | | | | | | Python 3.13.0a0 can be built from main branch of python/cpython though there were no official releases yet.
* | FindPython: enhance MinGW supportMarc Chevrier2023-08-051-11/+54
| | | | | | | | Ensure python-config script can be used.
* | Merge topic 'FindPython-Debian-workaround'Brad King2023-08-011-1/+1
|\ \ | |/ | | | | | | | | | | b02f3872d0 FindPython: Restore Python_SITE* values for versions below 3.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8672
| * FindPython: Restore Python_SITE* values for versions below 3.10Marc Chevrier2023-07-311-1/+1
| | | | | | | | | | | | | | Debian based distributions have a buggy sysconfig package. So, rely on distutils.sysconfig if python version is less than 3.10. Fixes: #25135
* | FindPython: Add tests for IronPython v3Marc Chevrier2023-06-291-2/+2
|/
* FindPython: update for distutils module deprecationMarc Chevrier2023-06-051-6/+6
| | | | Fixes: #24956
* Merge topic 'FindPython-fix-launcher-typo'Brad King2023-05-181-1/+1
|\ | | | | | | | | | | | | 31faf3945f FindPython: fix interpreter launcher variable spelling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8487
| * FindPython: fix interpreter launcher variable spellingBen Boeckel2023-05-171-1/+1
| | | | | | | | Reported-by: Johannes (#cmake Slack)
* | 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