Commit 655b967
authored
Fix build-time race condition for NPU VM target (#36448)
### Details:
openvino_npu_vm_utils may be compiled before Level Zero headers are
copied into the build directory, causing a missing-header error on
parallel builds. Add an explicit dependency on prepare_ze_headers to
ensure correct build ordering.
### Tickets:
- https://jira.devtools.intel.com/browse/CVS-188745
### AI Assistance:
- *AI assistance used: yes*
- AI was asked to find the reason for build issue (missing header during
VPUx build), check if there're other related issues with the same CMake
target and propose a fix. Also AI was asked to propose a reproducer to
make issue visible locally on Ubuntu (originally build failed only on
Windows pre-commit of VPUx). I manually tested the build locally on
Ubuntu, checked with reproducer (manually remove copied headers and try
again) that issue now disappears and tested in Windows VPUx pre-commit,
where issue were originally reproduced to see if it was solved
Signed-off-by: Gleb Gladilov <8751635+ggladilov@users.noreply.github.com>1 parent cdd6cf0 commit 655b967
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments