openvinotoolkit / openvino_tokenizers

OpenVINO Tokenizers extension
Apache License 2.0
17 stars 13 forks source link

Configure cmake similar to GenAI #175

Closed Wovchena closed 1 month ago

Wovchena commented 1 month ago

Compiling GenAI with OpenVINO from sources sets CMAKE_SKIP_INSTALL_RPATH to ON. I can’t reproduce it for openvino_tokenizers. RUNPATH exists in objdump -x openvino_tokenizers/lib/libopenvino_tokenizers.so | grep 'R.*PATH' while compiling everything from sources. RUNPATH is there in the wheel as well produced by CI. It’s only missing from the archive, which is fine because of setupvars. I can’t find why RUNPATH is set for openvino_tokenizers, but forcing CMAKE_SKIP_INSTALL_RPATH to OFF won’t harm anyway.

Wovchena commented 1 month ago

@ilya-lavrenov, @mryzhov

ilya-lavrenov commented 1 month ago

Let's port to master and then migrate to updated state in GenAI