Skip to content

OpenVINO Wheel does not install Debug libraries when CMAKE_BUILD_TYPE is Debug #18786

@sspintel

Description

@sspintel
  • OpenVINO Source => GitHub
  • OpenVINO Version => master branch
  • Operating System / Platform =>Ubuntu 20
  • Compiler => Cmake 3.27.0
  • Problem classification: Python Wheel
  • Device use: CPU

When building OpenVINO runtime and the python wheel using Debug mode, the libs installed onto the Python wheel seem to be Release libs. The runtime Debug libs are not being installed into the wheel. This makes it hard to debug OpenVINO libs when working with the Python API during development.

My CMake command:

cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_MODELS=OFF -DENABLE_VALIDATION_SET=OFF -DENABLE_AVX2=ON -DENABLE_AVX512F=ON -DENABLE_TESTS=OFF -DENABLE_FUNCTIONAL_TESTS=OFF -DENABLE_PROFILING_ITT=ON -DENABLE_INTEL_GPU=ON -DENABLE_INTEL_CPU=ON -DENABLE_ONEDNN_FOR_GPU=OFF -DENABLE_PYTHON=OFF -DENABLE_INTEL_MYRIAD_COMMON=OFF -DENABLE_INTEL_MYRIAD=OFF -DENABLE_GAPI_TESTS=OFF -DENABLE_DATA=OFF -DENABLE_BEH_TESTS=OFF -DENABLE_OV_ONNX_FRONTEND=OFF -DENABLE_OV_PADDLE_FRONTEND=OFF -DENABLE_OV_TF_FRONTEND=OFF -DENABLE_OV_TF_LITE_FRONTEND=OFF -DENABLE_PLUGINS_XML=ON -DENABLE_INTEL_GNA=OFF -DENABLE_OPENCV=ON -DUSE_Z7=1 -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -DENABLE_OV_PYTORCH_FRONTEND=ON

Relates to #18029

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions