Use FindPython3.cmake (#19847)
* Use FindPython3.cmake
* Fixed compilation on macOS 14 with new core development tools
* Try to use Python3_SOABI instead of PYTHON_MODULE_EXTENSION
* Use Development.Module
* Keep specifying only Python3_EXECUTABLE
* Print PYTHON_MODULE_EXTENSION
* Added check for minimal cmake version for python API
* Returned Python3_INCLUDE_DIR for cross-compilation case
* Try to allow cmake older than 3.18
* Use build python interpreter to check cython dependency
* revert changes in .ci/openvino-onnx/Dockerfile
* removed unused code
* Fixed issue with variables scope
* Experiment: remove include dirs
* Corrected docs
* Use pybind11 function to set extension
* Revert "Experiment: remove include dirs"
This reverts commit 6f7f90211c.
* Refactor ConvolutionBackpropDataLayerTest, ConvolutionLayerTest, DeformableConvolutionLayerTest (#19810)
* Refactor ConvolutionBackpropDataLayerTest
* Refactor ConvolutionLayerTest
* Refactor DeformableConvolutionLayerTest
* Apply comments
* Apply comments
* Fix
* Updated minimum cmake version for Windows
* Simplified check
* Removed useless message status
* Use puiblic option
---------
Co-authored-by: Oleg Pipikin <oleg.pipikin@intel.com>
This commit is contained in:
1 parent
7852b44c5f
commit
8349849e1c
53 files changed
+237
-238
No files matched your search
@@ -173,7 +173,7 @@ jobs:
|
||||
cmake -UPYTHON* \
|
||||
-DCPACK_GENERATOR=DEB \
|
||||
-DENABLE_PYTHON_PACKAGING=ON \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python3.8 \
|
||||
-DPython3_EXECUTABLE=/usr/bin/python3.8 \
|
||||
-DENABLE_TESTS=OFF \
|
||||
-S ${OPENVINO_REPO} \
|
||||
-B ${BUILD_DIR}
|
||||
|
||||
@@ -161,8 +161,7 @@ jobs:
|
||||
-DENABLE_WHEEL=ON \
|
||||
-DPYBIND11_PYTHONLIBS_OVERWRITE=OFF \
|
||||
-DPYTHON_MODULE_EXTENSION=$(aarch64-linux-gnu-python3-config --extension-suffix) \
|
||||
-DPYTHON_LIBRARY=/usr/lib/aarch64-linux-gnu/libc-2.31.so \
|
||||
-DPYTHON_INCLUDE_DIR=$(python3 -c "import sysconfig; print(sysconfig.get_path('include'))") \
|
||||
-DPython3_INCLUDE_DIR=$(python3 -c "import sysconfig; print(sysconfig.get_path('include'))") \
|
||||
-DENABLE_TESTS=ON \
|
||||
-DENABLE_SYSTEM_TBB=ON \
|
||||
-DENABLE_SYSTEM_PROTOBUF=ON \
|
||||
|
||||
@@ -138,7 +138,7 @@ jobs:
|
||||
- name: CMake CC ON
|
||||
run: |
|
||||
& "${{ env.VCVARSPATH }}" x64 && cmake -G "Visual Studio 17 2022" `
|
||||
-DVERBOSE_BUILD=ON `
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON `
|
||||
-DENABLE_CPPLINT=OFF `
|
||||
-DENABLE_GAPI_PREPROCESSING=OFF `
|
||||
-DENABLE_PROFILING_ITT=OFF `
|
||||
|
||||
Reference in new issue
Block a user