Skip to content

Commit dd07d36

Browse files
committed
remove unused part
1 parent 34671b8 commit dd07d36

11 files changed

Lines changed: 429 additions & 267 deletions

src/vpux_driver_compiler/README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,25 +69,5 @@ Driver Compiler provides npu_driver_compiler, compilerTest, profilingTest and lo
6969
- [linux](./docs/how_to_build_driver_compiler_on_linux.md)
7070
- [windows](./docs/how_to_build_driver_compiler_on_windows.md)
7171

72-
73-
## How to release Driver Compiler package
74-
75-
Unlike local build of Driver Compiler related targets, we need to apply some patches to [OpenVINO Project] and [NPU-Plugin Project] and also pack the elf, pdb and tbb files together to meet driver requirements.
76-
77-
To get more info about Driver Compiler package, refer to [introduction of Driver Compiler package](https://github.com/intel-innersource/applications.ai.vpu-accelerators.flex-cid-tools/blob/develop/docs/introductio-of-driver_compiler_package.md) in [CiD project] repo.
78-
79-
To build Driver Compiler package, refer to [How to Release Driver Compiler package.md](https://github.com/intel-innersource/applications.ai.vpu-accelerators.flex-cid-tools/blob/develop/docs/how-to-release-package.md) in [CiD project] repo.
80-
81-
82-
## How to test
83-
84-
Please refer to [How to test](./docs/how_to_test.md).
85-
86-
87-
## How to debug
88-
89-
Please refer to [How to debug](./docs/how_to_debug.md).
90-
9172
[OpenVINO Project]: https://github.com/openvinotoolkit/openvino
9273
[NPU-Plugin Project]: https://github.com/intel-innersource/applications.ai.vpu-accelerators.vpux-plugin
93-
[CiD Project]: https://github.com/intel-innersource/applications.ai.vpu-accelerators.flex-cid-tools

src/vpux_driver_compiler/docs/driver-compiler-windows-env-setup.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ This document introduces how to set up windows environment for Driver Compiler p
5151

5252
## <span id="Install_Python">Step 3: Install Python</span>
5353

54-
1) According to OV/install_build_dependencie.sh and how-to-build.md, the minor python version is `3.9`. Here choose the Python 3.9.10 to use. download with the following link to and turn to the download path.
55-
https://www.python.org/ftp/python/3.9.10/python-3.9.10-amd64.exe
54+
1) According to OV/install_build_dependencie.sh and how-to-build.md, the minor python version is `3.9`. Here choose the Python 3.9.10 to use. Download with the [link](https://www.python.org/ftp/python/3.9.10/python-3.9.10-amd64.exe)
5655

5756
2) Double click the .exe file to install Python.
5857

@@ -69,7 +68,7 @@ https://www.python.org/ftp/python/3.9.10/python-3.9.10-amd64.exe
6968

7069
Below is an example for Visual Studio2019.
7170

72-
1) According to [OV/install_build_dependencie.sh](https://github.com/openvinotoolkit/openvino/blob/master/install_build_dependencies.sh#L208), the Visual Studio needed to use is 2019 with version 16.3 or higher. Here choose Visual Studio 2019 community version 16.11 in the [link](https://my.visualstudio.com/Downloads?q=visual%20studio%202019&wt.mc_id=o~msft~vscom~older-downloads). Click the `Download` and then turn to the download path.
71+
1) According to [OpenVINO Project]/install_build_dependencie.sh, the Visual Studio needed to use is 2019 with version 16.3 or higher. Here choose Visual Studio 2019 community version 16.11 in the [link](https://my.visualstudio.com/Downloads?q=visual%20studio%202019&wt.mc_id=o~msft~vscom~older-downloads). Click the `Download` and then turn to the download path.
7372

7473
<img src=./imgs/VisualStudioDownloadweb.png width=80% />
7574

@@ -117,24 +116,24 @@ You can download the windows WDK with the [guide link](https://learn.microsoft.c
117116

118117
<img src=./imgs/WDKdownloadweb.png width=60% />
119118
120-
2) Double click wdksetup.exe, and click Next with default installer path.
119+
2) Double click wdksetup.exe, and click Next with default installer path.
121120

122-
3) Choose `No` when collect insight for the windows Kits and Click `Next`.
121+
3) Choose `No` when collect insight for the windows Kits and Click `Next`.
123122

124-
4) Click Next and click `Install`.
123+
4) Click Next and click `Install`.
125124

126-
5) Then maybe get a message box as follow. Choose the `Install Windows Driver Kit Visual Studio extension` and click the `close` button.
125+
5) Then maybe get a message box as follow. Choose the `Install Windows Driver Kit Visual Studio extension` and click the `close` button.
127126

128127
<img src=./imgs/WDKinstalled.png width=60% />
129128

130-
6) will prompt a windows to info you the change of installation, click `yes` and trun to install page and click `install`.
129+
6) Prompt a windows to info you the change of installation, click `yes` and trun to install page and click `install`.
131130

132131
<img src=./imgs/WDKextension.png width=60% />
133132

134133
6) Then, waiting for the installation and the final installation result is as follows and click `Close`.
135134

136135
<img src=./imgs/WDKextensioninstalled.png width=60% />
137136

138-
Note: Please note that api validator tool is part of WDK for Windows 10. If you did not special the install path in the beginning of installation WDK, this tool is located in C:\Program Files (x86)\Windows Kits\10\bin. Otherwise, it will be in the path you specified.
137+
Note: Please note that api validator tool is part of WDK for Windows 10. If you did not special the install path in the beginning of installation WDK, this tool is located in C:\Program Files (x86)\Windows Kits\10\bin. Otherwise, it will be in the path you specified.
139138

140-
**More setup detil info, please refer to this [link](https://jira.devtools.intel.com/browse/EISW-86721).**
139+
[OpenVINO Project]: https://github.com/openvinotoolkit/openvino
Lines changed: 109 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,115 @@
11
# How to build TBB
22

3-
Here are the steps for generating the TBB library on both Windows and Linux. To successfully pass some binary scanning tools, some patches are applied prior to building the TBB library.
3+
Here are the steps for generating the TBB library on both Windows and Linux. To successfully pass some binary scanning tools on Windows, some patches are applied prior to building the TBB library.
44

55
## Content
6-
* [Build Windows TBB library](#Build_Windows_TBB_library)
76
* [Build Linux TBB library](#Build_Linux_TBB_library)
7+
* [Build Windows TBB library](#Build_Windows_TBB_library)
8+
9+
## <span id="Build_Linux_TBB_library">Build Linux TBB library</span>
10+
11+
`hwloc_2_9_2.diff` patch is located in [here](./patch/linux/hwloc_2_9_2.diff).
12+
13+
1. First, build hwloc:
14+
15+
```sh
16+
export WORKDIR=$(pwd)
17+
wget https://github.com/open-mpi/hwloc/archive/refs/tags/hwloc-2.9.2.tar.gz
18+
tar zxvf hwloc-2.9.2.tar.gz
19+
cd hwloc-hwloc-2.9.2/
20+
./autogen.sh
21+
./configure --disable-io --disable-libudev --disable-libxml2 --disable-cairo CFLAGS="-fPIC -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2"
22+
make -j8
23+
make install prefix=$(pwd)/install
24+
```
25+
26+
2. build static TBB
27+
28+
```sh
29+
cd ${WORKDIR}
30+
wget https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.2.4.tar.gz
31+
tar zxvf v2021.2.4.tar.gz
32+
cd oneTBB-2021.2.4
33+
cp $WORKDIR/npu_splugin/src/vpux_driver_compiler/docs/patch/linux/hwloc_2_9_2.diff ./
34+
git apply hwloc_2_9_2.diff
35+
mkdir build_release
36+
cd build_release
37+
cmake -D BUILD_SHARED_LIBS=OFF \
38+
-D CMAKE_HWLOC_2_9_LIBRARY_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib/libhwloc.so \
39+
-D CMAKE_HWLOC_2_9_INCLUDE_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/include \
40+
-D CMAKE_HWLOC_2_9_DLL_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib \
41+
-D TBB_STRICT=OFF \
42+
-D TBB_TEST=OFF \
43+
-D CMAKE_CXX_FLAGS=-fPIC \
44+
-D TBB_COMMON_COMPILE_FLAGS="-fstack-protector-all -D_FORTIFY_SOURCE=2" \
45+
-D TBB_LIB_LINK_FLAGS="-Wl,-z,now" \
46+
-D CMAKE_BUILD_TYPE=Release \
47+
..
48+
cmake --build . --config Release
49+
cmake --install . --prefix ../install --config Release
50+
cp ../LICENSE.txt ../install/LICENSE
51+
cd ..
52+
mkdir build_debug
53+
cd build_debug
54+
cmake -D BUILD_SHARED_LIBS=OFF \
55+
-D CMAKE_HWLOC_2_9_LIBRARY_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib/libhwloc.so \
56+
-D CMAKE_HWLOC_2_9_INCLUDE_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/include \
57+
-D CMAKE_HWLOC_2_9_DLL_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib \
58+
-D TBB_STRICT=OFF \
59+
-D TBB_TEST=OFF \
60+
-D CMAKE_CXX_FLAGS=-fPIC \
61+
-D TBB_COMMON_COMPILE_FLAGS="-fstack-protector-all" \
62+
-D TBB_LIB_LINK_FLAGS="-Wl,-z,now" \
63+
-D CMAKE_BUILD_TYPE=Debug \
64+
..
65+
cmake --build . --config Debug
66+
cmake --install . --prefix ../install --config Debug
67+
```
68+
69+
3. build dynamic TBB
70+
71+
```sh
72+
cd ${WORKDIR}
73+
wget https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.2.4.tar.gz
74+
tar zxvf v2021.2.4.tar.gz
75+
cd oneTBB-2021.2.4
76+
cp $WORKDIR/npu_splugin/src/vpux_driver_compiler/docs/patch/linux/hwloc_2_9_2.diff ./
77+
git apply hwloc_2_9_2.diff
78+
mkdir build_release
79+
cd build_release
80+
cmake -D BUILD_SHARED_LIBS=ON \
81+
-D CMAKE_HWLOC_2_9_LIBRARY_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib/libhwloc.so \
82+
-D CMAKE_HWLOC_2_9_INCLUDE_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/include \
83+
-D CMAKE_HWLOC_2_9_DLL_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib \
84+
-D TBB_STRICT=OFF \
85+
-D TBB_TEST=OFF \
86+
-D CMAKE_CXX_FLAGS=-fPIC \
87+
-D TBB_COMMON_COMPILE_FLAGS="-fstack-protector-all -D_FORTIFY_SOURCE=2" \
88+
-D TBB_LIB_LINK_FLAGS="-Wl,-z,now" \
89+
-D CMAKE_BUILD_TYPE=Release \
90+
..
91+
cmake --build . --config Release
92+
cmake --install . --prefix ../install --config Release
93+
cp ../LICENSE.txt ../install/LICENSE
94+
cd ..
95+
mkdir build_debug
96+
cd build_debug
97+
cmake -D BUILD_SHARED_LIBS=ON \
98+
-D CMAKE_HWLOC_2_9_LIBRARY_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib/libhwloc.so \
99+
-D CMAKE_HWLOC_2_9_INCLUDE_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/include \
100+
-D CMAKE_HWLOC_2_9_DLL_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib \
101+
-D TBB_STRICT=OFF \
102+
-D TBB_TEST=OFF \
103+
-D CMAKE_CXX_FLAGS=-fPIC \
104+
-D TBB_COMMON_COMPILE_FLAGS="-fstack-protector-all" \
105+
-D TBB_LIB_LINK_FLAGS="-Wl,-z,now" \
106+
-D CMAKE_BUILD_TYPE=Debug \
107+
..
108+
cmake --build . --config Debug
109+
cmake --install . --prefix ../install --config Debug
110+
```
111+
112+
Finally, you need to set the environment variable TBBROOT to this oneTBB install folder `export TBBROOT="${WORKDIR}/oneTBB-2021.2.4/install"` to perform Driver compiler build.
8113

9114

10115
## <span id="Build_Windows_TBB_library">Build Windows oneTBB library</span>
@@ -31,7 +136,7 @@ cd %TBB_HOME%
31136
git checkout v20xx.x
32137
```
33138

34-
To generate pdb file for TBB release, need to add following code to CMakeLists.txt. Or you can use [this patch](../release-tools/manual/tbb_patch/windows/1.static_patch.diff) in oneTBB repo.
139+
To generate pdb file for TBB release, need to add following code to CMakeLists.txt. Or you can use [this patch](./patch/winodws/1.static_patch.diff) in oneTBB repo.
35140

36141
```cmake
37142
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
@@ -87,7 +192,7 @@ To avoid BinSkim issue for TBB, need to add following code to CMakeLists.txt
87192

88193
And need to change tbbmalloc warning level from ```set(TBB_WARNING_SUPPRESS ${TBB_WARNING_SUPPRESS} /wd4267 /wd4244 /wd4245 /wd4018 /wd4458)``` to ```set(TBB_WARNING_SUPPRESS ${TBB_WARNING_SUPPRESS} /W3 /wd4245 /wd4458)``` on [oneTBB/src/tbbmalloc/CMakeLists.txt](https://github.com/oneapi-src/oneTBB/blob/47061f128b14f758d1a9d5e90d0cfc5fa9793b89/src/tbbmalloc/CMakeLists.txt#L50)
89194

90-
Or to fix the above issue, you can use [this patch](../release-tools/manual/tbb_patch/windows/2.2tbb_dynmaic.diff) in oneTBB repo.
195+
Or to fix the above issue, you can use [this patch](./patch/winodws/2.2tbb_dynmaic.diff) in oneTBB repo.
91196

92197
Then, build dynamic onecore TBB
93198

@@ -117,110 +222,5 @@ The install folder contains all the dynamic TBB library, which is named as relea
117222

118223
**Do NOT forget to copy pdb files into final TBB package.**
119224

120-
## <span id="Build_Linux_TBB_library">Build Linux TBB library</span>
121-
122-
dynmaic TBB use OpenVINO official TBB library, please follow the steps to build static Linux TBB library:
123-
124-
1. First, build hwloc:
125-
126-
```sh
127-
export WORKDIR=$(pwd)
128-
wget https://github.com/open-mpi/hwloc/archive/refs/tags/hwloc-2.9.2.tar.gz
129-
tar zxvf hwloc-2.9.2.tar.gz
130-
cd hwloc-hwloc-2.9.2/
131-
./autogen.sh
132-
./configure --disable-io --disable-libudev --disable-libxml2 --disable-cairo CFLAGS="-fPIC -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2"
133-
make -j8
134-
make install prefix=$(pwd)/install
135-
```
136-
137-
2. build static TBB
138-
139-
```sh
140-
cd ${WORKDIR}
141-
wget https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.2.4.tar.gz
142-
tar zxvf v2021.2.4.tar.gz
143-
cd oneTBB-2021.2.4
144-
cp $WORKDIR/applications.ai.vpu-accelerators.flex-cid-tools/release-tools/manual/tbb_patch/linux/hwloc_2_9_2.diff ./
145-
git apply [hwloc_2_9_2.diff](../release-tools/manual/tbb_patch/linux/hwloc_2_9_2.diff)
146-
mkdir build_release
147-
cd build_release
148-
cmake -D BUILD_SHARED_LIBS=OFF \
149-
-D CMAKE_HWLOC_2_9_LIBRARY_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib/libhwloc.so \
150-
-D CMAKE_HWLOC_2_9_INCLUDE_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/include \
151-
-D CMAKE_HWLOC_2_9_DLL_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib \
152-
-D TBB_STRICT=OFF \
153-
-D TBB_TEST=OFF \
154-
-D CMAKE_CXX_FLAGS=-fPIC \
155-
-D TBB_COMMON_COMPILE_FLAGS="-fstack-protector-all -D_FORTIFY_SOURCE=2" \
156-
-D TBB_LIB_LINK_FLAGS="-Wl,-z,now" \
157-
-D CMAKE_BUILD_TYPE=Release \
158-
..
159-
cmake --build . --config Release
160-
cmake --install . --prefix ../install --config Release
161-
cp ../LICENSE.txt ../install/LICENSE
162-
cd ..
163-
mkdir build_debug
164-
cd build_debug
165-
cmake -D BUILD_SHARED_LIBS=OFF \
166-
-D CMAKE_HWLOC_2_9_LIBRARY_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib/libhwloc.so \
167-
-D CMAKE_HWLOC_2_9_INCLUDE_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/include \
168-
-D CMAKE_HWLOC_2_9_DLL_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib \
169-
-D TBB_STRICT=OFF \
170-
-D TBB_TEST=OFF \
171-
-D CMAKE_CXX_FLAGS=-fPIC \
172-
-D TBB_COMMON_COMPILE_FLAGS="-fstack-protector-all" \
173-
-D TBB_LIB_LINK_FLAGS="-Wl,-z,now" \
174-
-D CMAKE_BUILD_TYPE=Debug \
175-
..
176-
cmake --build . --config Debug
177-
cmake --install . --prefix ../install --config Debug
178-
```
179-
180-
3. build dynamic TBB
181-
182-
```sh
183-
cd ${WORKDIR}
184-
wget https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.2.4.tar.gz
185-
tar zxvf v2021.2.4.tar.gz
186-
cd oneTBB-2021.2.4
187-
cp $WORKDIR/applications.ai.vpu-accelerators.flex-cid-tools/release-tools/manual/tbb_patch/linux/hwloc_2_9_2.diff ./
188-
git apply [hwloc_2_9_2.diff](../release-tools/manual/tbb_patch/linux/hwloc_2_9_2.diff)
189-
mkdir build_release
190-
cd build_release
191-
cmake -D BUILD_SHARED_LIBS=ON \
192-
-D CMAKE_HWLOC_2_9_LIBRARY_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib/libhwloc.so \
193-
-D CMAKE_HWLOC_2_9_INCLUDE_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/include \
194-
-D CMAKE_HWLOC_2_9_DLL_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib \
195-
-D TBB_STRICT=OFF \
196-
-D TBB_TEST=OFF \
197-
-D CMAKE_CXX_FLAGS=-fPIC \
198-
-D TBB_COMMON_COMPILE_FLAGS="-fstack-protector-all -D_FORTIFY_SOURCE=2" \
199-
-D TBB_LIB_LINK_FLAGS="-Wl,-z,now" \
200-
-D CMAKE_BUILD_TYPE=Release \
201-
..
202-
cmake --build . --config Release
203-
cmake --install . --prefix ../install --config Release
204-
cp ../LICENSE.txt ../install/LICENSE
205-
cd ..
206-
mkdir build_debug
207-
cd build_debug
208-
cmake -D BUILD_SHARED_LIBS=ON \
209-
-D CMAKE_HWLOC_2_9_LIBRARY_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib/libhwloc.so \
210-
-D CMAKE_HWLOC_2_9_INCLUDE_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/include \
211-
-D CMAKE_HWLOC_2_9_DLL_PATH=${WORKDIR}/hwloc-hwloc-2.9.2/install/lib \
212-
-D TBB_STRICT=OFF \
213-
-D TBB_TEST=OFF \
214-
-D CMAKE_CXX_FLAGS=-fPIC \
215-
-D TBB_COMMON_COMPILE_FLAGS="-fstack-protector-all" \
216-
-D TBB_LIB_LINK_FLAGS="-Wl,-z,now" \
217-
-D CMAKE_BUILD_TYPE=Debug \
218-
..
219-
cmake --build . --config Debug
220-
cmake --install . --prefix ../install --config Debug
221-
```
222-
223-
Finally, you need to set the environment variable TBBROOT to this oneTBB install folder
224-
export TBBROOT="${WORKDIR}/oneTBB-2021.2.4/install" to perform CID build
225225

226226
[oneTBB Project]: https://github.com/oneapi-src/oneTBB

src/vpux_driver_compiler/docs/how_to_build_driver_compiler_on_linux.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,14 +254,9 @@ Driver Compiler is built with OpenVINO static runtime. To build the library and
254254

255255
### See also
256256

257-
Follow the blow guide to build the Driver Compiler library and test targets with Ninja:
258-
* `Using ninja` section of [how-to-build.md](../../../guides/how-to-build.md) of [NPU-Plugin Project].
259-
260-
To use cmake presets to build, please see
257+
To use cmake presets and ninja to build, please see
261258
* [how to build Driver Compiler with Cmake Presets on Linux](./how_to_build_driver_compiler_withCmakePresets_on_linux.md)
262259

263-
Driver compiler build is a static build, to get a static build of [NPU-Plugin Project] repo, please see
264-
* [how to build static](../../../guides/how-to-build-static.md).
265260

266261
[OpenVINO Project]: https://github.com/openvinotoolkit/openvino
267262
[NPU-Plugin Project]: https://github.com/openvinotoolkit/npu_plugin

src/vpux_driver_compiler/docs/how_to_build_driver_compiler_on_windows.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ All instructions are perfromed on **x64 Native Tools Command Prompt for VS XXXX*
5959
2. Create build folder and run build commands:
6060

6161
2.1 Build instructions
62-
63-
Please ensure that you are performing a clean build, or that you have not previously built CID targets; otherwise, you may encounter a link mismatch issue as the second `Notice`.
6462

6563
<details>
6664
<summary>Executed in x64 Native Tools Command Prompt for VS XXXX</summary>
@@ -136,7 +134,7 @@ All instructions are perfromed on **x64 Native Tools Command Prompt for VS XXXX*
136134
<details>
137135
<summary>2.2.2 Build option list in OpenVino Project</summary>
138136

139-
For more details on the build options, please refer to this [OpenVino features.cmake](https://github.com/openvinotoolkit/openvino/blob/13a6f317dc4ed18c2fca83d601f54e8a7319b018/cmake/features.cmake) and this [NPU features.cmake](https://github.com/openvinotoolkit/openvino/blob/13a6f317dc4ed18c2fca83d601f54e8a7319b018/src/plugins/intel_npu/cmake/features.cmake) in [OpenVINO Project], which provides explanations for all the available build options.
137+
For more details on the build options, please refer to this [OpenVino features.cmake](https://github.com/openvinotoolkit/openvino/blob/13a6f317dc4ed18c2fca83d601f54e8a7319b018/cmake/features.cmake) and this [NPU features.cmake](https://github.com/openvinotoolkit/openvino/blob/13a6f317dc4ed18c2fca83d601f54e8a7319b018/src/plugins/intel_npu/cmake/features.cmake) in [OpenVINO Project], which provides explanations for all the available build options.
140138

141139
```sh
142140
# Specify external repo
@@ -256,14 +254,9 @@ All instructions are perfromed on **x64 Native Tools Command Prompt for VS XXXX*
256254

257255
### See also
258256

259-
Follow the blow guide to build the Driver Compiler library and test targets with Ninja:
260-
* `Using ninja` section of [how-to-build.md](../../../guides/how-to-build.md) of [NPU-Plugin Project].
261-
262-
To use cmake presets to build, please see
257+
To use cmake presets and ninja to build, please see
263258
* [how to build Driver Compiler with Cmake Presets on Windows](./how_to_build_driver_compiler_withCmakePresets_on_windows.md)
264259

265-
Driver compiler build is a static build, to get a static build of [NPU-Plugin Project] repo, please see
266-
* [how to build static](../../../guides/how-to-build-static.md).
267260

268261
[OpenVINO Project]: https://github.com/openvinotoolkit/openvino
269262
[NPU-Plugin Project]: https://github.com/openvinotoolkit/npu_plugin

0 commit comments

Comments
 (0)