File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4444 pip install nanobind==2.4.0
4545 pip install typing_extensions==4.12.2
4646 mkdir build && cd build
47- cmake ../tests/cpp/accuracy/
47+ cmake ../tests/cpp/accuracy/ -DPython_ROOT_DIR=$(python -c "import sys; print(sys.prefix)")
4848 make -j
4949 - name : Run CPP Test
5050 run : |
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ find_package(OpenCV REQUIRED COMPONENTS core imgproc)
3535
3636# Looking for OpenVINO in the python distribution. It doesn't work for cross-compiling build
3737if (NOT CMAKE_CROSSCOMPILING )
38- set (Python_FIND_VIRTUALENV ONLY )
38+ set (Python_FIND_VIRTUALENV FIRST )
3939 find_package (Python COMPONENTS Interpreter Development REQUIRED)
4040 execute_process (
4141 COMMAND ${Python_EXECUTABLE} -c "from openvino.utils import get_cmake_path; print(get_cmake_path(), end='')"
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33#
44
5- set (Python_FIND_VIRTUALENV ONLY )
5+ set (Python_FIND_VIRTUALENV FIRST )
66find_package (Python COMPONENTS Interpreter Development REQUIRED)
77
88execute_process (
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ include(../cmake/common.cmake)
6565
6666find_package (OpenCV REQUIRED COMPONENTS core highgui videoio imgproc imgcodecs)
6767
68- set (Python_FIND_VIRTUALENV ONLY )
68+ set (Python_FIND_VIRTUALENV FIRST )
6969find_package (Python REQUIRED)
7070execute_process (
7171 COMMAND ${Python_EXECUTABLE} -c "from openvino.utils import get_cmake_path; print(get_cmake_path(), end='')"
You can’t perform that action at this time.
0 commit comments