[NPU]Move VCL API from compiler_adapter to utils#34662
Merged
pereanub merged 7 commits intoopenvinotoolkit:masterfrom Apr 3, 2026
Merged
[NPU]Move VCL API from compiler_adapter to utils#34662pereanub merged 7 commits intoopenvinotoolkit:masterfrom
pereanub merged 7 commits intoopenvinotoolkit:masterfrom
Conversation
aac6434 to
0b90283
Compare
lmielick
reviewed
Mar 17, 2026
9e5c748 to
152c0b9
Compare
XinWangIntel
approved these changes
Mar 19, 2026
pereanub
approved these changes
Mar 19, 2026
152c0b9 to
d4d2cfe
Compare
Signed-off-by: Kang, Wenjing <wenjing.kang@intel.com>
…adapter Signed-off-by: Kang, Wenjing <wenjing.kang@intel.com>
Signed-off-by: Kang, Wenjing <wenjing.kang@intel.com>
6bbdee2 to
4d0442b
Compare
Contributor
|
@lmielick please help to review again |
…rt deprecated api
lmielick
reviewed
Mar 30, 2026
lmielick
reviewed
Mar 30, 2026
lmielick
approved these changes
Mar 30, 2026
c681f64 to
52141af
Compare
6737dd0 to
1ff95cd
Compare
lmielick
reviewed
Apr 1, 2026
| source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SOURCES}) | ||
|
|
||
| add_library(${TARGET_NAME} STATIC ${SOURCES}) | ||
| add_library(${TARGET_NAME} STATIC ${SOURCES} $<TARGET_OBJECTS:openvino_npu_vcl_utils>) |
Contributor
There was a problem hiding this comment.
I think this was only needed in old cmake,
It should be enough to just link it with:
target_link_libraries(${TARGET_NAME} PRIVATE openvino_npu_vcl_utils)
that's more robust as will propagate public interface
Contributor
There was a problem hiding this comment.
Utilizing link libraries lead to dependency export issues with openvino_npu_vcl_utils(OBJECT ), as this PR's (use target_link_libraries to link vcl_utils ) report. And openvino_npu_vcl_utils is OBJECT target will not be exported.
CMake Error: install(EXPORT "OpenVINOTargets" ...) includes target "openvino_npu_compiler_adapter" which requires target "openvino_npu_vcl_utils" that is not in any export set.
github-merge-queue bot
pushed a commit
that referenced
this pull request
Apr 3, 2026
### Details: - Create a folder `vcl` in `utils` and move `VCLApi` to `utils` from `compiler_adapter` ### Tickets: - *CVS-182731* ### AI Assistance: - *AI assistance used: no / yes* - *If yes, summarize how AI was used and what human validation was performed (build/tests/manual checks).* --------- Signed-off-by: Kang, Wenjing <wenjing.kang@intel.com> Co-authored-by: Liu, Dan1 <dan1.liu@intel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details:
vclinutilsand moveVCLApitoutilsfromcompiler_adapterTickets:
AI Assistance: