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
@@ -83,7 +83,7 @@ def make_build(openvino_root_dir, build_dir, install_dir, build_target: dict = N
|
||||
nproc = multiprocessing.cpu_count()
|
||||
cmd = (
|
||||
f"cmake -DENABLE_PROFILING_ITT=ON -DCMAKE_BUILD_TYPE=Release "
|
||||
f"-DPYTHON_EXECUTABLE={sys.executable} {additional_args_line}"
|
||||
f"-DPython3_EXECUTABLE={sys.executable} {additional_args_line}"
|
||||
f"-S {openvino_root_dir} -B {build_dir} && "
|
||||
f"cmake --build {build_dir} -j{nproc} && "
|
||||
f"{' '.join(build_target_arg_line)}"
|
||||
|
||||
Reference in new issue
Block a user