| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| |
| | |
41a4a32135 FindPython: Avoid implicit link library on Windows
811f00f9ad FindPython: rely on ABIFLAGS on Windows for ABI profile
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10800
|
| | |
| |
| |
| |
| |
| |
| | |
Starting with version 3.14, on Windows, by specifying macro Py_NO_LINK_LIB,
the python library is no longer implicitly specified at the link step.
Fixes: #26756
|
| | |
| |
| |
| |
| | |
Starting with Python 3.14, the config_var ABIFLAGS is now also available
on Windows.
|
| | |
| |
| |
| | |
Fixes: #26881
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
```
git grep -lz 'Copyright.txt or https://cmake.org/licensing ' |
while IFS= read -r -d $'\0' f ; do
sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / {
s/Copyright.txt/LICENSE.rst/
}' "$f" ; done
```
|
| | |
| |
| |
| |
| | |
This is a complement to commit 9b0510fa57 (FindPython: add support for
multiple searches in same directory, 2025-01-05).
|
| | |
| |
| |
| |
| |
| |
| | |
Since commit d74210a8bd (CMP0017: Remove support for OLD behavior,
2024-11-17) we can rely on CMP0017's NEW behavior unconditionally.
Calling `include(FindPackageHandleStandardArgs)` in a builtin module
will always get the builtin `FindPackageHandleStandardArgs`.
|
| | |
| |
| |
| | |
As a result, the IMPORTED_LOCATION_RELEASE property of the SABIModule target was empty, instead of pointing to the Python runtime library for the Stable Application Binary Interface.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
In some situations, like cross-compilation, it can be required to search for
the host python interpreter as well as the cross-compilation development
artifacts.
By managing different prefixes for the artifacts, multiple and independent
searches can be achieved.
|
| | |
| |
| |
| |
| | |
Avoid to rely on _Python_EXECUTABLE variable if the Interpreter component
is not part of the current search.
|
| |/
|
|
|
|
|
|
| |
To enable to locate development artifacts, in the context of virtual
environment, without requiring Interpreter component, rely on the
configuration file pyvenv.cfg.
Fixes: #26505
|
| |
|
|
| |
Fixes: #26493
|
| | |
|
| |
|
|
| |
Fixes: #26279
|
| |\
| |
| |
| |
| |
| |
| | |
10abd2ac5a FindPython: ensure a usable environment is set for the free threaded Python
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9775
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |/
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Fixes: #26163
|
| |
|
|
| |
Fixes: #26016
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Closes: #25829
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| |
| |
| |
| |
| | |
dfab044c44 FindPython: add support for Python 3.13
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8712
|
| | |
| |
| |
| |
| | |
Python 3.13.0a0 can be built from main branch of python/cpython though
there were no official releases yet.
|
| | |
| |
| |
| | |
Ensure python-config script can be used.
|
| |\ \
| |/
| |
| |
| |
| |
| | |
b02f3872d0 FindPython: Restore Python_SITE* values for versions below 3.10
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8672
|
| | |
| |
| |
| |
| |
| |
| | |
Debian based distributions have a buggy sysconfig package.
So, rely on distutils.sysconfig if python version is less than 3.10.
Fixes: #25135
|
| |/ |
|
| |
|
|
| |
Fixes: #24956
|
| |\
| |
| |
| |
| |
| |
| | |
31faf3945f FindPython: fix interpreter launcher variable spelling
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8487
|
| | |
| |
| |
| | |
Reported-by: Johannes (#cmake Slack)
|
| |/
|
|
| |
Fixes: #24587
|
| |
|
|
| |
Fixes: #24610
|
| |
|
|
| |
Fixes: #24556
|
| |\
| |
| |
| |
| |
| |
| | |
486b3c0850 FindPython: Policy CMP0007 must be set to NEW
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8104
|
| | |
| |
| |
| | |
Fixes: #24306
|
| | |
| |
| |
| | |
Fixes: #24141
|
| |/
|
|
| |
Fixes: #24121, #23651
|
| |
|
|
| |
Fixes: #23716
|
| |\
| |
| |
| |
| |
| |
| | |
ece3bedbf2 FindPython: fix error on multiple queries with different COMPONENTS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7410
|
| | |
| |
| |
| |
| | |
Ensure that multiple queries with different COMPONENTS specified in
different sub-directories are fully supported.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Use VALIDATOR option of find_* commands to add more criterias to the search:
* version
* architecture
Fixes: #22319
|
| |/ |
|
| |
|
|
| |
Fixes: #23588
|
| | |
|
| |
|
|
| |
Fixes: #23476
|
| |
|
|
|
|
| |
Library name versioning has changed.
Fixes: #23439
|