Compare commits
170 Commits
2023.0.0.d
...
customer_A
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e464e992e | ||
|
|
d1a7b0e3c0 | ||
|
|
b692afc764 | ||
|
|
4c81ede32e | ||
|
|
ccd9cadb14 | ||
|
|
494d688d7c | ||
|
|
833c2865c3 | ||
|
|
7b2273362e | ||
|
|
8967b4de50 | ||
|
|
f0fa2184e6 | ||
|
|
dddec34f35 | ||
|
|
46843777fa | ||
|
|
7bb043287a | ||
|
|
bb02a94d4a | ||
|
|
3e0474ac2f | ||
|
|
cd28f2e4f8 | ||
|
|
550b127b87 | ||
|
|
1c562982df | ||
|
|
eff35123de | ||
|
|
fd33cc3b49 | ||
|
|
358efd2d06 | ||
|
|
a11ae5b690 | ||
|
|
580eebbc33 | ||
|
|
b0277c865b | ||
|
|
eb8b47002d | ||
|
|
9e1329fd61 | ||
|
|
b3f2187a17 | ||
|
|
e52e6e6547 | ||
|
|
c28f91d031 | ||
|
|
1b1c9eff70 | ||
|
|
3e70387903 | ||
|
|
8c85a3b8d3 | ||
|
|
96f79b64cd | ||
|
|
aa330736cc | ||
|
|
4211cc38b8 | ||
|
|
5770daf303 | ||
|
|
3c8ec29423 | ||
|
|
ae52cb3e48 | ||
|
|
da5eb6843c | ||
|
|
567eac4d8f | ||
|
|
c28bf68e30 | ||
|
|
2462e6ae89 | ||
|
|
7f229478ef | ||
|
|
8fbdd05782 | ||
|
|
d4e1694491 | ||
|
|
b7f4c87553 | ||
|
|
2f2c7d23ad | ||
|
|
be74074758 | ||
|
|
8f9a4faa06 | ||
|
|
977ad1b093 | ||
|
|
d47deaaca6 | ||
|
|
4a893dc6de | ||
|
|
46921acd37 | ||
|
|
c939c70f0d | ||
|
|
a2dc739da4 | ||
|
|
e998013e2e | ||
|
|
6c9c5cb70d | ||
|
|
c6b17afa81 | ||
|
|
1285443993 | ||
|
|
cc2c03c95d | ||
|
|
bbdedc5860 | ||
|
|
1552beaab2 | ||
|
|
ae537310dc | ||
|
|
43c8af2fce | ||
|
|
9da0800b31 | ||
|
|
196d01b952 | ||
|
|
d7607a2415 | ||
|
|
810b7e198e | ||
|
|
efa7cae5a0 | ||
|
|
5f601a5f63 | ||
|
|
bf8d662050 | ||
|
|
29d7cd87d0 | ||
|
|
8f7af3299f | ||
|
|
aabda64bd8 | ||
|
|
f3a25e9d1b | ||
|
|
2257dc8a53 | ||
|
|
38911e4cb7 | ||
|
|
57c2a07406 | ||
|
|
418b455883 | ||
|
|
563847bb76 | ||
|
|
e9bb5a2bb7 | ||
|
|
b11a977efd | ||
|
|
7c9482a3ca | ||
|
|
b260cb2f1e | ||
|
|
430e532a62 | ||
|
|
935059f0dc | ||
|
|
048667ca70 | ||
|
|
afc7f8f3a0 | ||
|
|
a1245a95a4 | ||
|
|
4b6765a50c | ||
|
|
8b4f1d9616 | ||
|
|
c6c8ac6a0d | ||
|
|
56ac14f276 | ||
|
|
d2bd73a7e7 | ||
|
|
827025f8ee | ||
|
|
349d1f6647 | ||
|
|
61c9deb284 | ||
|
|
9a7c0caf6c | ||
|
|
88166c1c61 | ||
|
|
0990540083 | ||
|
|
578e979334 | ||
|
|
791385f140 | ||
|
|
0df7039fe7 | ||
|
|
a18d32a639 | ||
|
|
7deb3293e7 | ||
|
|
d857067aae | ||
|
|
bd96363730 | ||
|
|
d80f3afe05 | ||
|
|
9752fafe8e | ||
|
|
3111e2394c | ||
|
|
b2feb56b22 | ||
|
|
7da99de9ae | ||
|
|
756b0de9bf | ||
|
|
1a72966d4e | ||
|
|
4c7c9418a5 | ||
|
|
00d462b1d6 | ||
|
|
21ae66ad5f | ||
|
|
a5c616bc3c | ||
|
|
d33d6b7a6d | ||
|
|
dffe45ebd1 | ||
|
|
bba7e77242 | ||
|
|
5f8d05e342 | ||
|
|
b84161848e | ||
|
|
7904b34679 | ||
|
|
bda7227502 | ||
|
|
f3964bcea0 | ||
|
|
8f13a77a15 | ||
|
|
97ae79fe80 | ||
|
|
ed5e237403 | ||
|
|
7338f4b049 | ||
|
|
288b5326cb | ||
|
|
6f5edfa942 | ||
|
|
ad0ef56665 | ||
|
|
7e1b9353d5 | ||
|
|
ece291a246 | ||
|
|
669d35b3e6 | ||
|
|
12b019e027 | ||
|
|
b07fea664f | ||
|
|
4f9a8757c8 | ||
|
|
12afd97e14 | ||
|
|
9183d96394 | ||
|
|
2d0f8b4f27 | ||
|
|
05d8648854 | ||
|
|
3914fd8aa8 | ||
|
|
4911f80f37 | ||
|
|
53265f0097 | ||
|
|
3dd6b50bff | ||
|
|
9b8ab44500 | ||
|
|
7e87923f0c | ||
|
|
083a17e89e | ||
|
|
67bbc7361c | ||
|
|
0121921068 | ||
|
|
5cfc3cbf5d | ||
|
|
85506f263c | ||
|
|
36c6d58fb2 | ||
|
|
690a10c386 | ||
|
|
bceb7dbfe1 | ||
|
|
57d8e96a30 | ||
|
|
2d072e8129 | ||
|
|
36ab5c2192 | ||
|
|
afa9bdde93 | ||
|
|
970d53b420 | ||
|
|
633fe397a3 | ||
|
|
5c33eff533 | ||
|
|
8680791ffe | ||
|
|
edb3f3e820 | ||
|
|
0eebb124c9 | ||
|
|
cc886509c6 | ||
|
|
a9ad74b690 | ||
|
|
6947916541 |
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -17,6 +18,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -32,7 +34,7 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/openvino_contrib
|
name: openvinotoolkit/openvino_contrib
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: android_arm64
|
- job: android_arm64
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -16,6 +17,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -30,13 +32,13 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/openvino_contrib
|
name: openvinotoolkit/openvino_contrib
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
- repository: testdata
|
- repository: testdata
|
||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/testdata
|
name: openvinotoolkit/testdata
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Lin
|
- job: Lin
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -17,6 +18,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -32,7 +34,7 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/openvino_contrib
|
name: openvinotoolkit/openvino_contrib
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: linux_arm64
|
- job: linux_arm64
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -16,6 +17,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -30,6 +32,7 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/testdata
|
name: openvinotoolkit/testdata
|
||||||
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: LinCC
|
- job: LinCC
|
||||||
@@ -150,7 +153,7 @@ jobs:
|
|||||||
- script: ls -alR $(REPO_DIR)/bin/
|
- script: ls -alR $(REPO_DIR)/bin/
|
||||||
displayName: 'List bin files ON'
|
displayName: 'List bin files ON'
|
||||||
# TODO: ebable after the fix on CPU side
|
# TODO: ebable after the fix on CPU side
|
||||||
# - script: |
|
- script: |
|
||||||
# $(REPO_DIR)/bin/intel64/Release/benchmark_app -niter 1 -nireq 1 -m $(MODELS_PATH)/models/test_model/test_model_fp32.xml -d CPU
|
$(REPO_DIR)/bin/intel64/Release/benchmark_app -niter 1 -nireq 1 -m $(MODELS_PATH)/models/test_model/test_model_fp32.xml -d CPU
|
||||||
# workingDirectory: $(REPO_DIR)
|
workingDirectory: $(REPO_DIR)
|
||||||
# displayName: 'Use OpenVINO after CC'
|
displayName: 'Use OpenVINO after CC'
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/openvino_contrib
|
name: openvinotoolkit/openvino_contrib
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Lin
|
- job: Lin
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -17,6 +18,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -37,11 +39,13 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/openvino_contrib
|
name: openvinotoolkit/openvino_contrib
|
||||||
|
ref: releases/2022/3
|
||||||
|
|
||||||
- repository: testdata
|
- repository: testdata
|
||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/testdata
|
name: openvinotoolkit/testdata
|
||||||
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: CUDAPlugin_Lin
|
- job: CUDAPlugin_Lin
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -16,6 +17,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -30,13 +32,13 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/openvino_contrib
|
name: openvinotoolkit/openvino_contrib
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
- repository: testdata
|
- repository: testdata
|
||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/testdata
|
name: openvinotoolkit/testdata
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Lin_Debian
|
- job: Lin_Debian
|
||||||
@@ -284,7 +286,7 @@ jobs:
|
|||||||
sudo apt-get install --no-install-recommends gnupg -y
|
sudo apt-get install --no-install-recommends gnupg -y
|
||||||
echo "deb https://apt.repos.intel.com/openvino/2022 focal main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2022.list
|
echo "deb https://apt.repos.intel.com/openvino/2022 focal main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2022.list
|
||||||
sudo apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/intel-openvino-2022.list
|
sudo apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/intel-openvino-2022.list
|
||||||
sudo apt-get install openvino -y
|
sudo apt-get install openvino -y || exit 1
|
||||||
# install our local one and make sure the conflicts are resolved
|
# install our local one and make sure the conflicts are resolved
|
||||||
sudo apt-get install --no-install-recommends dpkg-dev -y
|
sudo apt-get install --no-install-recommends dpkg-dev -y
|
||||||
rm -r _CPack_Packages
|
rm -r _CPack_Packages
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# type: github
|
# type: github
|
||||||
# endpoint: openvinotoolkit
|
# endpoint: openvinotoolkit
|
||||||
# name: openvinotoolkit/testdata
|
# name: openvinotoolkit/testdata
|
||||||
# ref: master
|
# ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Lin_lohika
|
- job: Lin_lohika
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -17,6 +18,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -17,6 +18,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -16,6 +17,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -30,13 +32,13 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/openvino_contrib
|
name: openvinotoolkit/openvino_contrib
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
- repository: testdata
|
- repository: testdata
|
||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/testdata
|
name: openvinotoolkit/testdata
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Mac
|
- job: Mac
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -16,6 +17,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -30,13 +32,13 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/openvino_contrib
|
name: openvinotoolkit/openvino_contrib
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
- repository: testdata
|
- repository: testdata
|
||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/testdata
|
name: openvinotoolkit/testdata
|
||||||
ref: master
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Win
|
- job: Win
|
||||||
@@ -71,8 +73,6 @@ jobs:
|
|||||||
INSTALL_DIR: $(WORK_DIR)\install_pkg
|
INSTALL_DIR: $(WORK_DIR)\install_pkg
|
||||||
INSTALL_TEST_DIR: $(INSTALL_DIR)\tests
|
INSTALL_TEST_DIR: $(INSTALL_DIR)\tests
|
||||||
SETUPVARS: $(INSTALL_DIR)\setupvars.bat
|
SETUPVARS: $(INSTALL_DIR)\setupvars.bat
|
||||||
IB_DIR: C:\Program Files (x86)\IncrediBuild
|
|
||||||
IB_TESTCONSOLE: $(IB_DIR)\IBTestConsole.exe
|
|
||||||
PYTHON_DIR: C:\hostedtoolcache\windows\Python\3.10.7\x64
|
PYTHON_DIR: C:\hostedtoolcache\windows\Python\3.10.7\x64
|
||||||
CMAKE_VERSION: 3.24.0
|
CMAKE_VERSION: 3.24.0
|
||||||
CMAKE_CMD: $(WORK_DIR)\cmake-$(CMAKE_VERSION)-windows-x86_64\cmake-$(CMAKE_VERSION)-windows-x86_64\bin\cmake.exe
|
CMAKE_CMD: $(WORK_DIR)\cmake-$(CMAKE_VERSION)-windows-x86_64\cmake-$(CMAKE_VERSION)-windows-x86_64\bin\cmake.exe
|
||||||
@@ -122,12 +122,6 @@ jobs:
|
|||||||
set
|
set
|
||||||
displayName: 'System info'
|
displayName: 'System info'
|
||||||
|
|
||||||
- script: |
|
|
||||||
curl -O https://openvinoweb.z5.web.core.windows.net/incredibuild/install_ib_console.bat
|
|
||||||
call install_ib_console.bat
|
|
||||||
workingDirectory: $(WORK_DIR)
|
|
||||||
displayName: 'Install IncrediBuild'
|
|
||||||
|
|
||||||
- checkout: self
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
lfs: false
|
lfs: false
|
||||||
@@ -201,8 +195,8 @@ jobs:
|
|||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set PATH=$(WORK_DIR)\ninja-win;%PATH%
|
set PATH=$(WORK_DIR)\ninja-win;%PATH%
|
||||||
call "$(MSVS_VARS_PATH)" && "C:\Program Files (x86)\IncrediBuild\BuildConsole.exe" /COMMAND="$(CMAKE_CMD) --build $(BUILD_DIR) --config Release"
|
call "$(MSVS_VARS_PATH)" && $(CMAKE_CMD) --build $(BUILD_DIR) --config Release"
|
||||||
displayName: 'Build Win - IB'
|
displayName: 'Build Win'
|
||||||
|
|
||||||
- script: dir $(REPO_DIR)\bin\ /s
|
- script: dir $(REPO_DIR)\bin\ /s
|
||||||
displayName: 'List bin files'
|
displayName: 'List bin files'
|
||||||
@@ -302,8 +296,6 @@ jobs:
|
|||||||
displayName: 'Transformations Tests'
|
displayName: 'Transformations Tests'
|
||||||
continueOnError: false
|
continueOnError: false
|
||||||
|
|
||||||
# set PATH=$(IB_DIR);%PATH%
|
|
||||||
# call $(SETUPVARS) && "$(IB_TESTCONSOLE)" $(INSTALL_TEST_DIR)\InferenceEngineUnitTests.exe --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-InferenceEngineUnitTests-IB.xml
|
|
||||||
- script: call $(SETUPVARS) && $(INSTALL_TEST_DIR)\InferenceEngineUnitTests --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-InferenceEngineUnitTests.xml
|
- script: call $(SETUPVARS) && $(INSTALL_TEST_DIR)\InferenceEngineUnitTests --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-InferenceEngineUnitTests.xml
|
||||||
displayName: 'IE UT old'
|
displayName: 'IE UT old'
|
||||||
continueOnError: false
|
continueOnError: false
|
||||||
@@ -340,8 +332,6 @@ jobs:
|
|||||||
displayName: 'TEMPLATE FuncTests'
|
displayName: 'TEMPLATE FuncTests'
|
||||||
continueOnError: false
|
continueOnError: false
|
||||||
|
|
||||||
# set PATH=$(IB_DIR);%PATH%
|
|
||||||
# call $(SETUPVARS) && "$(IB_TESTCONSOLE)" $(INSTALL_TEST_DIR)\ov_cpu_func_tests.exe --gtest_filter=*smoke*:-*CompareWithRefs/base_size=16_pre_nms_topn=100_post_nms_topn=100_nms_thresh=0.7_feat_stride=1_min_size=1_ratio*:*smoke_GRUSequenceCommonZeroClip/GRUSequenceTest.CompareWithRefs/mode=CONVERT_TO_TI_MAX_SEQ_LEN_CONST_seq_lengths* --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-ov_cpu_func_tests-IB.xml /testlevel=24
|
|
||||||
- script: call $(SETUPVARS) && $(INSTALL_TEST_DIR)\ov_cpu_func_tests --gtest_filter=*smoke* --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-ov_cpu_func_tests.xml
|
- script: call $(SETUPVARS) && $(INSTALL_TEST_DIR)\ov_cpu_func_tests --gtest_filter=*smoke* --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-ov_cpu_func_tests.xml
|
||||||
displayName: 'CPU FuncTests'
|
displayName: 'CPU FuncTests'
|
||||||
continueOnError: false
|
continueOnError: false
|
||||||
@@ -373,8 +363,3 @@ jobs:
|
|||||||
buildPlatform: 'x64' # Optional
|
buildPlatform: 'x64' # Optional
|
||||||
buildConfiguration: 'Windows' # Optional
|
buildConfiguration: 'Windows' # Optional
|
||||||
#publishRunAttachments: true # Optional
|
#publishRunAttachments: true # Optional
|
||||||
|
|
||||||
- script: echo Stop IncrediBuild_Agent && net stop IncrediBuild_Agent
|
|
||||||
displayName: Stop IncrediBuild
|
|
||||||
continueOnError: true
|
|
||||||
enabled: false
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -16,6 +17,7 @@ pr:
|
|||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
- releases/*
|
- releases/*
|
||||||
|
- customer_A
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/
|
- docs/
|
||||||
@@ -30,6 +32,7 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/testdata
|
name: openvinotoolkit/testdata
|
||||||
|
ref: releases/2022/3
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: WinCC
|
- job: WinCC
|
||||||
@@ -102,7 +105,6 @@ jobs:
|
|||||||
-DSELECTIVE_BUILD=COLLECT ^
|
-DSELECTIVE_BUILD=COLLECT ^
|
||||||
-DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
|
-DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
|
||||||
-DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
|
-DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
|
||||||
-DENABLE_CLDNN=OFF ^
|
|
||||||
-DENABLE_INTEL_GPU=OFF ^
|
-DENABLE_INTEL_GPU=OFF ^
|
||||||
-DENABLE_MULTI=OFF ^
|
-DENABLE_MULTI=OFF ^
|
||||||
-DENABLE_AUTO=OFF ^
|
-DENABLE_AUTO=OFF ^
|
||||||
@@ -145,7 +147,6 @@ jobs:
|
|||||||
-DSELECTIVE_BUILD_STAT=$(BUILD_DIR)\*.csv ^
|
-DSELECTIVE_BUILD_STAT=$(BUILD_DIR)\*.csv ^
|
||||||
-DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
|
-DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
|
||||||
-DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
|
-DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
|
||||||
-DENABLE_CLDNN=OFF ^
|
|
||||||
-DENABLE_INTEL_GPU=OFF ^
|
-DENABLE_INTEL_GPU=OFF ^
|
||||||
-DENABLE_MULTI=OFF ^
|
-DENABLE_MULTI=OFF ^
|
||||||
-DENABLE_AUTO=OFF ^
|
-DENABLE_AUTO=OFF ^
|
||||||
|
|||||||
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -64,6 +64,7 @@
|
|||||||
*.gif filter=lfs diff=lfs merge=lfs -text
|
*.gif filter=lfs diff=lfs merge=lfs -text
|
||||||
*.vsdx filter=lfs diff=lfs merge=lfs -text
|
*.vsdx filter=lfs diff=lfs merge=lfs -text
|
||||||
*.bmp filter=lfs diff=lfs merge=lfs -text
|
*.bmp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.svg filter=lfs diff=lfs merge=lfs -text
|
||||||
|
|
||||||
#POT attributes
|
#POT attributes
|
||||||
tools/pot/tests/data/test_cases_refs/* filter=lfs diff=lfs merge=lfs -text
|
tools/pot/tests/data/test_cases_refs/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
|||||||
16
.github/workflows/build_doc.yml
vendored
16
.github/workflows/build_doc.yml
vendored
@@ -1,6 +1,9 @@
|
|||||||
name: Documentation
|
name: Documentation
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
env:
|
||||||
|
DOXY_VER: '1.9.6'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
@@ -65,16 +68,9 @@ jobs:
|
|||||||
tar -xf doxyrest-2.1.3-linux-amd64.tar.xz
|
tar -xf doxyrest-2.1.3-linux-amd64.tar.xz
|
||||||
echo "$(pwd)/doxyrest-2.1.3-linux-amd64/bin/" >> $GITHUB_PATH
|
echo "$(pwd)/doxyrest-2.1.3-linux-amd64/bin/" >> $GITHUB_PATH
|
||||||
# install doxygen
|
# install doxygen
|
||||||
mkdir doxygen
|
wget https://www.doxygen.nl/files/doxygen-$DOXY_VER.linux.bin.tar.gz
|
||||||
cd doxygen
|
tar -xzf doxygen-$DOXY_VER.linux.bin.tar.gz
|
||||||
git clone --depth 1 https://github.com/doxygen/doxygen.git -b Release_1_9_2
|
echo "$(pwd)/doxygen-$DOXY_VER/bin/" >> $GITHUB_PATH
|
||||||
cmake \
|
|
||||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
|
||||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
|
||||||
-S doxygen \
|
|
||||||
-B ../doxygen-build
|
|
||||||
cmake --build ../doxygen-build -j`nproc`
|
|
||||||
sudo cmake --build ../doxygen-build --target install
|
|
||||||
|
|
||||||
- name: CMake doc
|
- name: CMake doc
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
21
.github/workflows/code_snippets.yml
vendored
21
.github/workflows/code_snippets.yml
vendored
@@ -27,22 +27,19 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- name: Check cmake
|
- name: Install OpenCL
|
||||||
run: |
|
uses: awalsh128/cache-apt-pkgs-action@v1.2.4
|
||||||
which cmake
|
if: runner.os == 'Linux'
|
||||||
cmake --version
|
with:
|
||||||
|
packages: ocl-icd-opencl-dev opencl-headers
|
||||||
|
version: 3.0
|
||||||
|
|
||||||
- name: CMake
|
- name: CMake configure
|
||||||
run: |
|
run: cmake -DENABLE_INTEL_MYRIAD_COMMON=OFF -DCMAKE_BUILD_TYPE=Release -B build
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake -DENABLE_INTEL_MYRIAD_COMMON=OFF -DCMAKE_BUILD_TYPE=Release ..
|
|
||||||
|
|
||||||
- name: Get number of CPU cores
|
- name: Get number of CPU cores
|
||||||
uses: SimenB/github-actions-cpu-cores@v1
|
uses: SimenB/github-actions-cpu-cores@v1
|
||||||
id: cpu-cores
|
id: cpu-cores
|
||||||
|
|
||||||
- name: Build snippets
|
- name: Build snippets
|
||||||
run: |
|
run: cmake --build build --target ie_docs_snippets -j${{ steps.cpu-cores.outputs.count }}
|
||||||
cmake --build . --target ie_docs_snippets -j${{ steps.cpu-cores.outputs.count }}
|
|
||||||
working-directory: build
|
|
||||||
|
|||||||
54
.github/workflows/mo.yml
vendored
54
.github/workflows/mo.yml
vendored
@@ -2,10 +2,15 @@ name: MO
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'openvino/tools/mo/**'
|
- 'tools/mo/**'
|
||||||
|
- '.github/workflows/mo.yml'
|
||||||
|
branches:
|
||||||
|
- 'master'
|
||||||
|
- 'releases/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'openvino/tools/mo/**'
|
- 'tools/mo/**'
|
||||||
|
- '.github/workflows/mo.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -17,53 +22,36 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: true
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.7
|
python-version: '3.10'
|
||||||
|
|
||||||
- name: Cache pip
|
- name: Cache pip
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('openvino/tools/mo/requirements*.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('tools/mo/requirements*.txt') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pip-
|
${{ runner.os }}-pip-
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
|
|
||||||
# tensorflow 1.15 causes modules import
|
|
||||||
# errors, most likely due to https://github.com/PyCQA/pylint/issues/2603
|
|
||||||
# for tensorflow.core.framework and tensorflow.contrib
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools
|
python -m pip install --upgrade pip setuptools
|
||||||
# For UT
|
# For UT
|
||||||
pip install unittest-xml-reporting==3.0.2
|
pip install unittest-xml-reporting==3.0.2
|
||||||
# MO requirements
|
# MO requirements
|
||||||
pip install -r requirements.txt
|
pip install -r requirements_mxnet.txt
|
||||||
|
pip install -r requirements_caffe.txt
|
||||||
|
pip install -r requirements_kaldi.txt
|
||||||
|
pip install -r requirements_onnx.txt
|
||||||
|
pip install -r requirements_tf2.txt
|
||||||
pip install -r requirements_dev.txt
|
pip install -r requirements_dev.txt
|
||||||
# requrements for CMake
|
working-directory: tools/mo
|
||||||
sudo apt update
|
|
||||||
sudo apt --assume-yes install libusb-1.0-0-dev
|
|
||||||
working-directory: openvino/tools/mo
|
|
||||||
|
|
||||||
- name: Pylint
|
- name: Pylint
|
||||||
run: pylint -d C,R,W openvino/tools/mo/ openvino/tools/mo/mo.py
|
run: pylint -d C,R,W openvino/tools/mo
|
||||||
working-directory: openvino/tools/mo
|
working-directory: tools/mo
|
||||||
|
|
||||||
- name: CMake
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
|
|
||||||
- name: UT
|
|
||||||
run: |
|
|
||||||
export PYTHONPATH=$PYTHONPATH:`pwd`
|
|
||||||
export MO_ROOT=`pwd`
|
|
||||||
env
|
|
||||||
mkdir ../mo-ut-logs
|
|
||||||
python3 -m xmlrunner discover -p *_test.py --output=../mo-ut-logs
|
|
||||||
working-directory: openvino/tools/mo
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -107,7 +107,10 @@ endif()
|
|||||||
|
|
||||||
add_subdirectory(thirdparty)
|
add_subdirectory(thirdparty)
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(samples)
|
|
||||||
|
if(ENABLE_SAMPLES OR ENABLE_TESTS OR ENABLE_COMPILE_TOOL)
|
||||||
|
add_subdirectory(samples)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Enable interpreter backend for tests
|
# Enable interpreter backend for tests
|
||||||
if (ENABLE_TESTS OR ENABLE_TEMPLATE)
|
if (ENABLE_TESTS OR ENABLE_TEMPLATE)
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ The latest documentation for OpenVINO™ Toolkit is available [here](https://doc
|
|||||||
|
|
||||||
The list of OpenVINO tutorials:
|
The list of OpenVINO tutorials:
|
||||||
|
|
||||||
- [Jupiter notebooks](https://github.com/openvinotoolkit/openvino_notebooks)
|
- [Jupyter notebooks](https://github.com/openvinotoolkit/openvino_notebooks)
|
||||||
|
|
||||||
## Products which use OpenVINO
|
## Products which use OpenVINO
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -24,7 +24,6 @@ function(set_ci_build_number)
|
|||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
include(features)
|
include(features)
|
||||||
include(message)
|
|
||||||
|
|
||||||
set_ci_build_number()
|
set_ci_build_number()
|
||||||
|
|
||||||
@@ -215,6 +214,8 @@ set(CMAKE_POLICY_DEFAULT_CMP0026 NEW)
|
|||||||
set(CMAKE_POLICY_DEFAULT_CMP0042 NEW)
|
set(CMAKE_POLICY_DEFAULT_CMP0042 NEW)
|
||||||
# CMake 3.9+: `RPATH` settings on macOS do not affect `install_name`.
|
# CMake 3.9+: `RPATH` settings on macOS do not affect `install_name`.
|
||||||
set(CMAKE_POLICY_DEFAULT_CMP0068 NEW)
|
set(CMAKE_POLICY_DEFAULT_CMP0068 NEW)
|
||||||
|
# CMake 3.12+: find_package() uses <PackageName>_ROOT variables.
|
||||||
|
set(CMAKE_POLICY_DEFAULT_CMP0074 NEW)
|
||||||
# CMake 3.13+: option() honors normal variables.
|
# CMake 3.13+: option() honors normal variables.
|
||||||
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
||||||
# CMake 3.22+ :cmake_dependent_option() supports full Condition Syntax
|
# CMake 3.22+ :cmake_dependent_option() supports full Condition Syntax
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,64 +1,81 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(PROGRAMFILES_ENV "ProgramFiles(X86)")
|
set(PROGRAMFILES_ENV "ProgramFiles(X86)")
|
||||||
file(TO_CMAKE_PATH $ENV{${PROGRAMFILES_ENV}} PROGRAMFILES)
|
file(TO_CMAKE_PATH $ENV{${PROGRAMFILES_ENV}} PROGRAMFILES)
|
||||||
set(UWP_SDK_PATH "${PROGRAMFILES}/Windows Kits/10/bin/${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}/x64")
|
|
||||||
|
|
||||||
message(STATUS "Trying to find apivalidator in: ${UWP_SDK_PATH}")
|
set(WDK_PATHS "${PROGRAMFILES}/Windows Kits/10/bin/${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}/x64"
|
||||||
find_host_program(UWP_API_VALIDATOR
|
"${PROGRAMFILES}/Windows Kits/10/bin/x64")
|
||||||
|
|
||||||
|
message(STATUS "Trying to find apivalidator in: ")
|
||||||
|
foreach(wdk_path IN LISTS WDK_PATHS)
|
||||||
|
message(" * ${wdk_path}")
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
find_host_program(ONECORE_API_VALIDATOR
|
||||||
NAMES apivalidator
|
NAMES apivalidator
|
||||||
PATHS "${UWP_SDK_PATH}"
|
PATHS ${WDK_PATHS}
|
||||||
DOC "ApiValidator for UWP compliance")
|
DOC "ApiValidator for OneCore compliance")
|
||||||
|
|
||||||
if(UWP_API_VALIDATOR)
|
if(ONECORE_API_VALIDATOR)
|
||||||
message(STATUS "Found apivalidator: ${UWP_API_VALIDATOR}")
|
message(STATUS "Found apivalidator: ${ONECORE_API_VALIDATOR}")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
function(_ie_add_api_validator_post_build_step_recursive)
|
function(_ie_add_api_validator_post_build_step_recursive)
|
||||||
cmake_parse_arguments(API_VALIDATOR "" "TARGET" "" ${ARGN})
|
cmake_parse_arguments(API_VALIDATOR "" "TARGET" "" ${ARGN})
|
||||||
|
|
||||||
list(APPEND API_VALIDATOR_TARGETS ${API_VALIDATOR_TARGET})
|
|
||||||
set(API_VALIDATOR_TARGETS ${API_VALIDATOR_TARGETS} PARENT_SCOPE)
|
|
||||||
|
|
||||||
get_target_property(IS_IMPORTED ${API_VALIDATOR_TARGET} IMPORTED)
|
|
||||||
if(IS_IMPORTED)
|
|
||||||
return()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
get_target_property(LIBRARY_TYPE ${API_VALIDATOR_TARGET} TYPE)
|
get_target_property(LIBRARY_TYPE ${API_VALIDATOR_TARGET} TYPE)
|
||||||
if(LIBRARY_TYPE STREQUAL "EXECUTABLE" OR LIBRARY_TYPE STREQUAL "SHARED_LIBRARY")
|
if(LIBRARY_TYPE MATCHES "^(SHARED_LIBRARY|MODULE_LIBRARY|EXECUTABLE)$" AND
|
||||||
get_target_property(LINKED_LIBRARIES ${API_VALIDATOR_TARGET} LINK_LIBRARIES)
|
NOT ${API_VALIDATOR_TARGET} IN_LIST API_VALIDATOR_TARGETS)
|
||||||
if(LINKED_LIBRARIES)
|
list(APPEND API_VALIDATOR_TARGETS ${API_VALIDATOR_TARGET})
|
||||||
foreach(ITEM IN LISTS LINKED_LIBRARIES)
|
|
||||||
if(NOT TARGET ${ITEM})
|
|
||||||
continue()
|
|
||||||
endif()
|
|
||||||
get_target_property(LIBRARY_TYPE_DEPENDENCY ${ITEM} TYPE)
|
|
||||||
if(LIBRARY_TYPE_DEPENDENCY STREQUAL "SHARED_LIBRARY")
|
|
||||||
_ie_add_api_validator_post_build_step_recursive(TARGET ${ITEM})
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
# keep checks target list to track cyclic dependencies, leading to infinite recursion
|
||||||
|
list(APPEND checked_targets ${API_VALIDATOR_TARGET})
|
||||||
|
|
||||||
|
if(NOT LIBRARY_TYPE STREQUAL "INTERFACE_LIBRARY")
|
||||||
|
get_target_property(LINKED_LIBRARIES ${API_VALIDATOR_TARGET} LINK_LIBRARIES)
|
||||||
|
else()
|
||||||
|
set(LINKED_LIBRARIES)
|
||||||
|
endif()
|
||||||
|
get_target_property(INTERFACE_LINKED_LIBRARIES ${API_VALIDATOR_TARGET} INTERFACE_LINK_LIBRARIES)
|
||||||
|
|
||||||
|
foreach(library IN LISTS LINKED_LIBRARIES INTERFACE_LINKED_LIBRARIES)
|
||||||
|
if(TARGET "${library}")
|
||||||
|
get_target_property(orig_library ${library} ALIASED_TARGET)
|
||||||
|
if(orig_library IN_LIST checked_targets OR library IN_LIST checked_targets)
|
||||||
|
# in case of cyclic dependencies, we need to skip current target
|
||||||
|
continue()
|
||||||
|
endif()
|
||||||
|
if(TARGET "${orig_library}")
|
||||||
|
_ie_add_api_validator_post_build_step_recursive(TARGET ${orig_library})
|
||||||
|
else()
|
||||||
|
_ie_add_api_validator_post_build_step_recursive(TARGET ${library})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
set(API_VALIDATOR_TARGETS ${API_VALIDATOR_TARGETS} PARENT_SCOPE)
|
set(API_VALIDATOR_TARGETS ${API_VALIDATOR_TARGETS} PARENT_SCOPE)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
set(VALIDATED_LIBRARIES "" CACHE INTERNAL "")
|
set(VALIDATED_TARGETS "" CACHE INTERNAL "")
|
||||||
|
|
||||||
function(_ov_add_api_validator_post_build_step)
|
function(_ov_add_api_validator_post_build_step)
|
||||||
set(UWP_API_VALIDATOR_APIS "${PROGRAMFILES}/Windows Kits/10/build/universalDDIs/x64/UniversalDDIs.xml")
|
find_file(ONECORE_API_VALIDATOR_APIS NAMES UniversalDDIs.xml
|
||||||
set(UWP_API_VALIDATOR_EXCLUSION "${UWP_SDK_PATH}/BinaryExclusionlist.xml")
|
PATHS "${PROGRAMFILES}/Windows Kits/10/build/${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}/universalDDIs/x64"
|
||||||
|
"${PROGRAMFILES}/Windows Kits/10/build/universalDDIs/x64"
|
||||||
|
DOC "Path to UniversalDDIs.xml file")
|
||||||
|
find_file(ONECORE_API_VALIDATOR_EXCLUSION NAMES BinaryExclusionlist.xml
|
||||||
|
PATHS ${WDK_PATHS}
|
||||||
|
DOC "Path to BinaryExclusionlist.xml file")
|
||||||
|
|
||||||
if((NOT UWP_API_VALIDATOR) OR (WINDOWS_STORE OR WINDOWS_PHONE))
|
if((NOT ONECORE_API_VALIDATOR) OR (WINDOWS_STORE OR WINDOWS_PHONE))
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
cmake_parse_arguments(API_VALIDATOR "" "TARGET" "" ${ARGN})
|
cmake_parse_arguments(API_VALIDATOR "" "TARGET" "EXTRA" "" ${ARGN})
|
||||||
|
|
||||||
if(NOT API_VALIDATOR_TARGET)
|
if(NOT API_VALIDATOR_TARGET)
|
||||||
message(FATAL_ERROR "RunApiValidator requires TARGET to validate!")
|
message(FATAL_ERROR "RunApiValidator requires TARGET to validate!")
|
||||||
@@ -69,74 +86,81 @@ function(_ov_add_api_validator_post_build_step)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# collect targets
|
# collect targets
|
||||||
|
|
||||||
_ie_add_api_validator_post_build_step_recursive(TARGET ${API_VALIDATOR_TARGET})
|
_ie_add_api_validator_post_build_step_recursive(TARGET ${API_VALIDATOR_TARGET})
|
||||||
|
if (API_VALIDATOR_EXTRA)
|
||||||
|
foreach(target IN LISTS API_VALIDATOR_EXTRA)
|
||||||
|
_ie_add_api_validator_post_build_step_recursive(TARGET ${target})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
# remove targets which were tested before
|
# remove targets which were tested before
|
||||||
foreach(target IN LISTS API_VALIDATOR_TARGETS)
|
|
||||||
list(FIND VALIDATED_LIBRARIES ${target} index)
|
|
||||||
if (NOT index EQUAL -1)
|
|
||||||
list(APPEND VALIDATED_TARGETS ${target})
|
|
||||||
endif()
|
|
||||||
if(TARGET "${target}")
|
|
||||||
get_target_property(orig_target ${target} ALIASED_TARGET)
|
|
||||||
list(FIND VALIDATED_LIBRARIES ${orig_target} index)
|
|
||||||
if (NOT index EQUAL -1)
|
|
||||||
list(APPEND VALIDATED_TARGETS ${target})
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
foreach(item IN LISTS VALIDATED_TARGETS)
|
foreach(item IN LISTS VALIDATED_TARGETS)
|
||||||
list(REMOVE_ITEM API_VALIDATOR_TARGETS ${item})
|
list(REMOVE_ITEM API_VALIDATOR_TARGETS ${item})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
list(REMOVE_DUPLICATES API_VALIDATOR_TARGETS)
|
|
||||||
|
|
||||||
if(NOT API_VALIDATOR_TARGETS)
|
if(NOT API_VALIDATOR_TARGETS)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# apply check
|
# apply check
|
||||||
|
|
||||||
macro(api_validator_get_target_name)
|
macro(api_validator_get_target_name)
|
||||||
get_target_property(IS_IMPORTED ${target} IMPORTED)
|
get_target_property(is_imported ${target} IMPORTED)
|
||||||
get_target_property(orig_target ${target} ALIASED_TARGET)
|
get_target_property(orig_target ${target} ALIASED_TARGET)
|
||||||
if(IS_IMPORTED)
|
if(is_imported)
|
||||||
get_target_property(target_location ${target} LOCATION)
|
get_target_property(imported_configs ${target} IMPORTED_CONFIGURATIONS)
|
||||||
get_filename_component(target_name "${target_location}" NAME_WE)
|
foreach(imported_config RELEASE RELWITHDEBINFO DEBUG)
|
||||||
|
if(imported_config IN_LIST imported_configs)
|
||||||
|
get_target_property(target_location ${target} IMPORTED_LOCATION_${imported_config})
|
||||||
|
get_filename_component(target_name "${target_location}" NAME_WE)
|
||||||
|
break()
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
unset(imported_configs)
|
||||||
elseif(TARGET "${orig_target}")
|
elseif(TARGET "${orig_target}")
|
||||||
set(target_name ${orig_target})
|
set(target_name ${orig_target})
|
||||||
|
set(target_location $<TARGET_FILE:${orig_target}>)
|
||||||
else()
|
else()
|
||||||
set(target_name ${target})
|
set(target_name ${target})
|
||||||
|
set(target_location $<TARGET_FILE:${target}>)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
unset(orig_target)
|
||||||
|
unset(is_imported)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
foreach(target IN LISTS API_VALIDATOR_TARGETS)
|
foreach(target IN LISTS API_VALIDATOR_TARGETS)
|
||||||
api_validator_get_target_name()
|
api_validator_get_target_name()
|
||||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.21 AND OV_GENERATOR_MULTI_CONFIG)
|
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.20 AND OV_GENERATOR_MULTI_CONFIG)
|
||||||
set(output_file "${CMAKE_BINARY_DIR}/api_validator/$<CONFIG>/${target_name}.txt")
|
set(output_file "${OpenVINO_BINARY_DIR}/api_validator/$<CONFIG>/${target_name}.txt")
|
||||||
else()
|
else()
|
||||||
set(output_file "${CMAKE_BINARY_DIR}/api_validator/${target_name}.txt")
|
set(output_file "${OpenVINO_BINARY_DIR}/api_validator/${target_name}.txt")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_custom_command(TARGET ${API_VALIDATOR_TARGET} POST_BUILD
|
list(APPEND post_build_commands
|
||||||
COMMAND ${CMAKE_COMMAND} --config $<CONFIG>
|
${CMAKE_COMMAND} --config $<CONFIG>
|
||||||
-D UWP_API_VALIDATOR=${UWP_API_VALIDATOR}
|
-D ONECORE_API_VALIDATOR=${ONECORE_API_VALIDATOR}
|
||||||
-D UWP_API_VALIDATOR_TARGET=$<TARGET_FILE:${target}>
|
-D ONECORE_API_VALIDATOR_TARGET=${target_location}
|
||||||
-D UWP_API_VALIDATOR_APIS=${UWP_API_VALIDATOR_APIS}
|
-D ONECORE_API_VALIDATOR_APIS=${ONECORE_API_VALIDATOR_APIS}
|
||||||
-D UWP_API_VALIDATOR_EXCLUSION=${UWP_API_VALIDATOR_EXCLUSION}
|
-D ONECORE_API_VALIDATOR_EXCLUSION=${ONECORE_API_VALIDATOR_EXCLUSION}
|
||||||
-D UWP_API_VALIDATOR_OUTPUT=${output_file}
|
-D ONECORE_API_VALIDATOR_OUTPUT=${output_file}
|
||||||
-D CMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
|
-D CMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
|
||||||
-P "${IEDevScripts_DIR}/api_validator/api_validator_run.cmake"
|
-P "${IEDevScripts_DIR}/api_validator/api_validator_run.cmake")
|
||||||
BYPRODUCTS ${output_file}
|
list(APPEND byproducts_files ${output_file})
|
||||||
COMMENT "[apiValidator] Check ${target_name} for OneCore compliance"
|
|
||||||
VERBATIM)
|
unset(target_name)
|
||||||
|
unset(target_location)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
add_custom_command(TARGET ${API_VALIDATOR_TARGET} POST_BUILD
|
||||||
|
COMMAND ${post_build_commands}
|
||||||
|
BYPRODUCTS ${byproducts_files}
|
||||||
|
COMMENT "[apiValidator] Check ${API_VALIDATOR_TARGET} and dependencies for OneCore compliance"
|
||||||
|
VERBATIM)
|
||||||
|
|
||||||
# update list of validated libraries
|
# update list of validated libraries
|
||||||
|
|
||||||
list(APPEND VALIDATED_LIBRARIES ${API_VALIDATOR_TARGETS})
|
list(APPEND VALIDATED_TARGETS ${API_VALIDATOR_TARGETS})
|
||||||
set(VALIDATED_LIBRARIES "${VALIDATED_LIBRARIES}" CACHE INTERNAL "" FORCE)
|
set(VALIDATED_TARGETS "${VALIDATED_TARGETS}" CACHE INTERNAL "" FORCE)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
cmake_policy(SET CMP0012 NEW)
|
cmake_policy(SET CMP0012 NEW)
|
||||||
|
|
||||||
foreach(var UWP_API_VALIDATOR UWP_API_VALIDATOR_TARGET
|
foreach(var ONECORE_API_VALIDATOR ONECORE_API_VALIDATOR_TARGET
|
||||||
UWP_API_VALIDATOR_APIS UWP_API_VALIDATOR_EXCLUSION
|
ONECORE_API_VALIDATOR_APIS ONECORE_API_VALIDATOR_EXCLUSION
|
||||||
UWP_API_VALIDATOR_OUTPUT CMAKE_TOOLCHAIN_FILE)
|
ONECORE_API_VALIDATOR_OUTPUT CMAKE_TOOLCHAIN_FILE)
|
||||||
if(NOT DEFINED ${var})
|
if(NOT DEFINED ${var})
|
||||||
message(FATAL_ERROR "Variable ${var} is not defined")
|
message(FATAL_ERROR "Variable ${var} is not defined")
|
||||||
endif()
|
endif()
|
||||||
@@ -14,18 +14,18 @@ endforeach()
|
|||||||
|
|
||||||
# create command
|
# create command
|
||||||
|
|
||||||
if(NOT EXISTS "${UWP_API_VALIDATOR_APIS}")
|
if(NOT EXISTS "${ONECORE_API_VALIDATOR_APIS}")
|
||||||
message(FATAL_ERROR "${UWP_API_VALIDATOR_APIS} does not exist")
|
message(FATAL_ERROR "${ONECORE_API_VALIDATOR_APIS} does not exist")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(command "${UWP_API_VALIDATOR}"
|
set(command "${ONECORE_API_VALIDATOR}"
|
||||||
-SupportedApiXmlFiles:${UWP_API_VALIDATOR_APIS}
|
-SupportedApiXmlFiles:${ONECORE_API_VALIDATOR_APIS}
|
||||||
-DriverPackagePath:${UWP_API_VALIDATOR_TARGET})
|
-DriverPackagePath:${ONECORE_API_VALIDATOR_TARGET})
|
||||||
if(EXISTS "${UWP_API_VALIDATOR_EXCLUSION}")
|
if(EXISTS "${ONECORE_API_VALIDATOR_EXCLUSION}")
|
||||||
list(APPEND command
|
list(APPEND command
|
||||||
-BinaryExclusionListXmlFile:${UWP_API_VALIDATOR_EXCLUSION}
|
-BinaryExclusionListXmlFile:${ONECORE_API_VALIDATOR_EXCLUSION}
|
||||||
-StrictCompliance:TRUE)
|
-StrictCompliance:TRUE)
|
||||||
set(UWP_HAS_BINARY_EXCLUSION ON)
|
set(ONECORE_HAS_BINARY_EXCLUSION ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# execute
|
# execute
|
||||||
@@ -36,13 +36,13 @@ execute_process(COMMAND ${command}
|
|||||||
RESULT_VARIABLE exit_code
|
RESULT_VARIABLE exit_code
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
|
||||||
file(WRITE "${UWP_API_VALIDATOR_OUTPUT}" "${output_message}\n\n\n${error_message}")
|
file(WRITE "${ONECORE_API_VALIDATOR_OUTPUT}" "CMAKE COMMAND: ${command}\n\n\n${output_message}\n\n\n${error_message}")
|
||||||
|
|
||||||
# post-process output
|
# post-process output
|
||||||
|
|
||||||
get_filename_component(name "${UWP_API_VALIDATOR_TARGET}" NAME)
|
get_filename_component(name "${ONECORE_API_VALIDATOR_TARGET}" NAME)
|
||||||
|
|
||||||
if(NOT UWP_HAS_BINARY_EXCLUSION)
|
if(NOT ONECORE_HAS_BINARY_EXCLUSION)
|
||||||
if(CMAKE_TOOLCHAIN_FILE MATCHES "onecoreuap.toolchain.cmake$")
|
if(CMAKE_TOOLCHAIN_FILE MATCHES "onecoreuap.toolchain.cmake$")
|
||||||
# empty since we compile with static MSVC runtime
|
# empty since we compile with static MSVC runtime
|
||||||
else()
|
else()
|
||||||
@@ -66,7 +66,7 @@ endif()
|
|||||||
|
|
||||||
# write output
|
# write output
|
||||||
|
|
||||||
if(UWP_HAS_BINARY_EXCLUSION AND NOT exit_code EQUAL 0)
|
if(ONECORE_HAS_BINARY_EXCLUSION AND NOT exit_code EQUAL 0)
|
||||||
message(FATAL_ERROR "${error_message}")
|
message(FATAL_ERROR "${error_message}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -66,6 +66,10 @@ function(add_clang_format_target TARGET_NAME)
|
|||||||
continue()
|
continue()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(IS_DIRECTORY "${source_file}")
|
||||||
|
message(FATAL_ERROR "Directory ${source_file} cannot be passed to clang-format")
|
||||||
|
endif()
|
||||||
|
|
||||||
file(RELATIVE_PATH source_file_relative "${CMAKE_CURRENT_SOURCE_DIR}" "${source_file}")
|
file(RELATIVE_PATH source_file_relative "${CMAKE_CURRENT_SOURCE_DIR}" "${source_file}")
|
||||||
set(output_file "${CMAKE_CURRENT_BINARY_DIR}/clang_format/${source_file_relative}.clang")
|
set(output_file "${CMAKE_CURRENT_BINARY_DIR}/clang_format/${source_file_relative}.clang")
|
||||||
string(REPLACE ".." "__" output_file "${output_file}")
|
string(REPLACE ".." "__" output_file "${output_file}")
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -31,7 +31,15 @@ function (GetNameAndUrlToDownload name url archive_name_unified archive_name_win
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set (${name} ${archive_name} PARENT_SCOPE)
|
set (${name} ${archive_name} PARENT_SCOPE)
|
||||||
set (${url} "thirdparty/${PLATFORM_FOLDER}/${archive_name}" PARENT_SCOPE)
|
|
||||||
|
set(HDDL_DEPENDENCIES "")
|
||||||
|
string(REGEX MATCH "hddl_.*_19.*" HDDL_DEPENDENCIES ${archive_name})
|
||||||
|
|
||||||
|
if(NOT ${HDDL_DEPENDENCIES} EQUAL "")
|
||||||
|
set (${url} "${archive_name}" PARENT_SCOPE)
|
||||||
|
else()
|
||||||
|
set (${url} "thirdparty/${PLATFORM_FOLDER}/${archive_name}" PARENT_SCOPE)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endfunction(GetNameAndUrlToDownload)
|
endfunction(GetNameAndUrlToDownload)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ macro(ov_add_frontend)
|
|||||||
add_library(openvino::frontend::${OV_FRONTEND_NAME} ALIAS ${TARGET_NAME})
|
add_library(openvino::frontend::${OV_FRONTEND_NAME} ALIAS ${TARGET_NAME})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Shutdown protobuf when unloading the front dynamic library
|
# Shutdown protobuf when unloading the frontend dynamic library
|
||||||
if(proto_files AND BUILD_SHARED_LIBS)
|
if(proto_files AND BUILD_SHARED_LIBS)
|
||||||
target_link_libraries(${TARGET_NAME} PRIVATE ov_protobuf_shutdown)
|
target_link_libraries(${TARGET_NAME} PRIVATE ov_protobuf_shutdown)
|
||||||
endif()
|
endif()
|
||||||
@@ -201,8 +201,6 @@ macro(ov_add_frontend)
|
|||||||
ie_add_vs_version_file(NAME ${TARGET_NAME}
|
ie_add_vs_version_file(NAME ${TARGET_NAME}
|
||||||
FILEDESCRIPTION ${OV_FRONTEND_FILEDESCRIPTION})
|
FILEDESCRIPTION ${OV_FRONTEND_FILEDESCRIPTION})
|
||||||
|
|
||||||
ie_add_api_validator_post_build_step(TARGET ${TARGET_NAME})
|
|
||||||
|
|
||||||
target_link_libraries(${TARGET_NAME} PUBLIC openvino::runtime)
|
target_link_libraries(${TARGET_NAME} PUBLIC openvino::runtime)
|
||||||
target_link_libraries(${TARGET_NAME} PRIVATE ${OV_FRONTEND_LINK_LIBRARIES})
|
target_link_libraries(${TARGET_NAME} PRIVATE ${OV_FRONTEND_LINK_LIBRARIES})
|
||||||
ov_add_library_version(${TARGET_NAME})
|
ov_add_library_version(${TARGET_NAME})
|
||||||
@@ -235,10 +233,15 @@ macro(ov_add_frontend)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_clang_format_target(${TARGET_NAME}_clang FOR_TARGETS ${TARGET_NAME}
|
add_clang_format_target(${TARGET_NAME}_clang FOR_TARGETS ${TARGET_NAME}
|
||||||
EXCLUDE_PATTERNS ${PROTO_SRCS} ${PROTO_HDRS})
|
EXCLUDE_PATTERNS ${PROTO_SRCS} ${PROTO_HDRS} ${proto_files})
|
||||||
|
|
||||||
add_dependencies(ov_frontends ${TARGET_NAME})
|
add_dependencies(ov_frontends ${TARGET_NAME})
|
||||||
|
|
||||||
|
# must be called after all target_link_libraries
|
||||||
|
ie_add_api_validator_post_build_step(TARGET ${TARGET_NAME})
|
||||||
|
|
||||||
|
# installation
|
||||||
|
|
||||||
if(NOT OV_FRONTEND_SKIP_INSTALL)
|
if(NOT OV_FRONTEND_SKIP_INSTALL)
|
||||||
if(BUILD_SHARED_LIBS)
|
if(BUILD_SHARED_LIBS)
|
||||||
# Note:
|
# Note:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2018-2022 Intel Corporation
|
// Copyright (C) 2018-2023 Intel Corporation
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
#
|
|
||||||
|
|
||||||
if(UNIX AND ENABLE_ERROR_HIGHLIGHT)
|
|
||||||
function(message)
|
|
||||||
string(ASCII 27 ESC)
|
|
||||||
set(RESET "${ESC}[m")
|
|
||||||
set(RED "${ESC}[31;1m")
|
|
||||||
set(YELLOW "${ESC}[33;1m")
|
|
||||||
|
|
||||||
list(GET ARGV 0 MessageType)
|
|
||||||
list(REMOVE_AT ARGV 0)
|
|
||||||
|
|
||||||
foreach(arg IN LISTS ARGV)
|
|
||||||
set(_msg "${_msg}${arg}")
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
if(MessageType STREQUAL FATAL_ERROR OR MessageType STREQUAL SEND_ERROR)
|
|
||||||
_message(${MessageType} "${RED}${_msg}${RESET}")
|
|
||||||
elseif(MessageType STREQUAL WARNING)
|
|
||||||
_message(${MessageType} "${YELLOW}${_msg}${RESET}")
|
|
||||||
else()
|
|
||||||
_message(${MessageType} "${_msg}")
|
|
||||||
endif()
|
|
||||||
endfunction()
|
|
||||||
endif()
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2018-2022 Intel Corporation
|
// Copyright (C) 2018-2023 Intel Corporation
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2018-2022 Intel Corporation
|
// Copyright (C) 2018-2023 Intel Corporation
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2018-2022 Intel Corporation
|
// Copyright (C) 2018-2023 Intel Corporation
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2018-2022 Intel Corporation
|
// Copyright (C) 2018-2023 Intel Corporation
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
# Target system specific flags
|
# Target system specific flags
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
# TBB_FOUND should not be set explicitly. It is defined automatically by CMake.
|
# TBB_FOUND should not be set explicitly. It is defined automatically by CMake.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -14,11 +14,9 @@ ie_option (ENABLE_COMPILE_TOOL "Enables compile_tool" ON)
|
|||||||
|
|
||||||
ie_option (ENABLE_STRICT_DEPENDENCIES "Skip configuring \"convinient\" dependencies for efficient parallel builds" ON)
|
ie_option (ENABLE_STRICT_DEPENDENCIES "Skip configuring \"convinient\" dependencies for efficient parallel builds" ON)
|
||||||
|
|
||||||
ie_dependent_option (ENABLE_CLDNN "clDnn based plugin for OpenVINO Runtime" ON "X86_64;NOT APPLE;NOT MINGW;NOT WINDOWS_STORE;NOT WINDOWS_PHONE" OFF)
|
ie_dependent_option (ENABLE_INTEL_GPU "GPU OpenCL-based plugin for OpenVINO Runtime" ON "X86_64;NOT APPLE;NOT MINGW;NOT WINDOWS_STORE;NOT WINDOWS_PHONE" OFF)
|
||||||
ie_dependent_option (ENABLE_INTEL_GPU "GPU plugin for OpenVINO Runtime on Intel GPU" ON "ENABLE_CLDNN" OFF)
|
|
||||||
|
|
||||||
if (NOT ENABLE_CLDNN OR ANDROID OR
|
if (ANDROID OR (CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0))
|
||||||
(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0))
|
|
||||||
# oneDNN doesn't support old compilers and android builds for now, so we'll
|
# oneDNN doesn't support old compilers and android builds for now, so we'll
|
||||||
# build GPU plugin without oneDNN
|
# build GPU plugin without oneDNN
|
||||||
set(ENABLE_ONEDNN_FOR_GPU_DEFAULT OFF)
|
set(ENABLE_ONEDNN_FOR_GPU_DEFAULT OFF)
|
||||||
@@ -26,7 +24,7 @@ else()
|
|||||||
set(ENABLE_ONEDNN_FOR_GPU_DEFAULT ON)
|
set(ENABLE_ONEDNN_FOR_GPU_DEFAULT ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ie_option (ENABLE_ONEDNN_FOR_GPU "Enable oneDNN with GPU support" ${ENABLE_ONEDNN_FOR_GPU_DEFAULT})
|
ie_dependent_option (ENABLE_ONEDNN_FOR_GPU "Enable oneDNN with GPU support" ${ENABLE_ONEDNN_FOR_GPU_DEFAULT} "ENABLE_INTEL_GPU" OFF)
|
||||||
|
|
||||||
ie_option (ENABLE_PROFILING_ITT "Build with ITT tracing. Optionally configure pre-built ittnotify library though INTEL_VTUNE_DIR variable." OFF)
|
ie_option (ENABLE_PROFILING_ITT "Build with ITT tracing. Optionally configure pre-built ittnotify library though INTEL_VTUNE_DIR variable." OFF)
|
||||||
|
|
||||||
@@ -43,8 +41,6 @@ In case SELECTIVE_BUILD is enabled, the SELECTIVE_BUILD_STAT variable should con
|
|||||||
Usage: -DSELECTIVE_BUILD=ON -DSELECTIVE_BUILD_STAT=/path/*.csv" OFF
|
Usage: -DSELECTIVE_BUILD=ON -DSELECTIVE_BUILD_STAT=/path/*.csv" OFF
|
||||||
ALLOWED_VALUES ON OFF COLLECT)
|
ALLOWED_VALUES ON OFF COLLECT)
|
||||||
|
|
||||||
ie_option(ENABLE_ERROR_HIGHLIGHT "Highlight errors and warnings during compile time" ON)
|
|
||||||
|
|
||||||
ie_option (ENABLE_DOCS "Build docs using Doxygen" OFF)
|
ie_option (ENABLE_DOCS "Build docs using Doxygen" OFF)
|
||||||
|
|
||||||
find_package(PkgConfig QUIET)
|
find_package(PkgConfig QUIET)
|
||||||
@@ -132,7 +128,7 @@ ie_dependent_option(ENABLE_TBB_RELEASE_ONLY "Only Release TBB libraries are link
|
|||||||
|
|
||||||
if(LINUX)
|
if(LINUX)
|
||||||
# Debian packages are enabled on Ubuntu systems
|
# Debian packages are enabled on Ubuntu systems
|
||||||
# so, system TBB / pugixml can be tried for usage
|
# so, system TBB / pugixml / OpenCL can be tried for usage
|
||||||
set(ENABLE_SYSTEM_LIBS_DEFAULT ON)
|
set(ENABLE_SYSTEM_LIBS_DEFAULT ON)
|
||||||
else()
|
else()
|
||||||
set(ENABLE_SYSTEM_LIBS_DEFAULT OFF)
|
set(ENABLE_SYSTEM_LIBS_DEFAULT OFF)
|
||||||
@@ -145,6 +141,7 @@ else()
|
|||||||
set(ENABLE_SYSTEM_TBB_DEFAULT ${ENABLE_SYSTEM_LIBS_DEFAULT})
|
set(ENABLE_SYSTEM_TBB_DEFAULT ${ENABLE_SYSTEM_LIBS_DEFAULT})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# users wants to use his own TBB version, specific either via env vars or cmake options
|
||||||
if(DEFINED ENV{TBBROOT} OR DEFINED ENV{TBB_DIR} OR DEFINED TBB_DIR OR DEFINED TBBROOT)
|
if(DEFINED ENV{TBBROOT} OR DEFINED ENV{TBB_DIR} OR DEFINED TBB_DIR OR DEFINED TBBROOT)
|
||||||
set(ENABLE_SYSTEM_TBB_DEFAULT OFF)
|
set(ENABLE_SYSTEM_TBB_DEFAULT OFF)
|
||||||
endif()
|
endif()
|
||||||
@@ -154,6 +151,8 @@ ie_dependent_option (ENABLE_SYSTEM_PUGIXML "use the system copy of pugixml" ${EN
|
|||||||
|
|
||||||
ie_dependent_option (ENABLE_SYSTEM_TBB "use the system version of TBB" ${ENABLE_SYSTEM_TBB_DEFAULT} "THREADING MATCHES TBB" OFF)
|
ie_dependent_option (ENABLE_SYSTEM_TBB "use the system version of TBB" ${ENABLE_SYSTEM_TBB_DEFAULT} "THREADING MATCHES TBB" OFF)
|
||||||
|
|
||||||
|
ie_dependent_option (ENABLE_SYSTEM_OPENCL "Use the system version of OpenCL" ${ENABLE_SYSTEM_LIBS_DEFAULT} "BUILD_SHARED_LIBS;ENABLE_INTEL_GPU" OFF)
|
||||||
|
|
||||||
ie_option (ENABLE_DEBUG_CAPS "enable OpenVINO debug capabilities at runtime" OFF)
|
ie_option (ENABLE_DEBUG_CAPS "enable OpenVINO debug capabilities at runtime" OFF)
|
||||||
|
|
||||||
ie_dependent_option (ENABLE_GPU_DEBUG_CAPS "enable GPU debug capabilities at runtime" ON "ENABLE_DEBUG_CAPS" OFF)
|
ie_dependent_option (ENABLE_GPU_DEBUG_CAPS "enable GPU debug capabilities at runtime" ON "ENABLE_DEBUG_CAPS" OFF)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Comment: OpenVINO toolkit copyright file for Debian packaging
|
|||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Comment: oneAPI Deep Neural Network Library (oneDNN)
|
Comment: oneAPI Deep Neural Network Library (oneDNN)
|
||||||
Copyright: 2016-2019 Intel Corporation
|
Copyright: 2016-2023 Intel Corporation
|
||||||
2018 YANDEX LLC
|
2018 YANDEX LLC
|
||||||
2020 Arm Limited and affiliates
|
2020 Arm Limited and affiliates
|
||||||
License: Apache
|
License: Apache
|
||||||
@@ -149,7 +149,7 @@ License:
|
|||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Comment: Intel(R) Instrumentation and Tracing Technology (ITT) and Just-In-Time (JIT) API
|
Comment: Intel(R) Instrumentation and Tracing Technology (ITT) and Just-In-Time (JIT) API
|
||||||
Copyright: (c) 2019 Intel Corporation. All rights reserved.
|
Copyright: (c) 2019-2023 Intel Corporation. All rights reserved.
|
||||||
License:
|
License:
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||||
@@ -625,12 +625,12 @@ License:
|
|||||||
Files: *
|
Files: *
|
||||||
Comment: Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM)
|
Comment: Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM)
|
||||||
Driver (src/gpu/jit/ngen/npack/{elf_structs,hash}.hpp)
|
Driver (src/gpu/jit/ngen/npack/{elf_structs,hash}.hpp)
|
||||||
Copyright: (c) 2018 Intel Corporation
|
Copyright: (c) 2018-2023 Intel Corporation
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Comment: Intel(R) Graphics Compiler (src/gpu/jit/ngen/npack/neo_structs.hpp)
|
Comment: Intel(R) Graphics Compiler (src/gpu/jit/ngen/npack/neo_structs.hpp)
|
||||||
Copyright:(c) 2019 Intel Corporation
|
Copyright:(c) 2019-2023 Intel Corporation
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -54,6 +54,8 @@ macro(ov_cpack_settings)
|
|||||||
NOT item STREQUAL "gna" AND
|
NOT item STREQUAL "gna" AND
|
||||||
# myriad is EOL in 2023.0
|
# myriad is EOL in 2023.0
|
||||||
NOT item STREQUAL "myriad" AND
|
NOT item STREQUAL "myriad" AND
|
||||||
|
# don't install Intel OpenMP during debian
|
||||||
|
NOT item STREQUAL "omp" AND
|
||||||
# even for case of system TBB we have installation rules for wheels packages
|
# even for case of system TBB we have installation rules for wheels packages
|
||||||
# so, need to skip this explicitly
|
# so, need to skip this explicitly
|
||||||
NOT item MATCHES "^tbb(_dev)?$" AND
|
NOT item MATCHES "^tbb(_dev)?$" AND
|
||||||
@@ -92,8 +94,9 @@ macro(ov_cpack_settings)
|
|||||||
# 2022 release series
|
# 2022 release series
|
||||||
# - 2022.1.0 is the last public release with debian packages from Intel install team
|
# - 2022.1.0 is the last public release with debian packages from Intel install team
|
||||||
# - 2022.1.1, 2022.2 do not have debian packages enabled, distributed only as archives
|
# - 2022.1.1, 2022.2 do not have debian packages enabled, distributed only as archives
|
||||||
# - 2022.3 is the first release where RPM updated packages are introduced
|
# - 2022.3 is the first release where Debian updated packages are introduced, others 2022.3.X are LTS
|
||||||
2022.1.0)
|
2022.3.0
|
||||||
|
)
|
||||||
|
|
||||||
#
|
#
|
||||||
# core: base dependency for each component
|
# core: base dependency for each component
|
||||||
@@ -318,8 +321,9 @@ macro(ov_cpack_settings)
|
|||||||
# Samples
|
# Samples
|
||||||
#
|
#
|
||||||
|
|
||||||
set(samples_build_deps "cmake, g++, gcc, libc6-dev, make")
|
set(samples_build_deps "cmake, g++, gcc, libc6-dev, make, pkg-config")
|
||||||
set(samples_build_deps_suggest "libopencv-core-dev, libopencv-imgproc-dev, libopencv-imgcodecs-dev")
|
set(samples_build_deps_suggest "libopencv-core-dev, libopencv-imgproc-dev, libopencv-imgcodecs-dev")
|
||||||
|
set(samples_opencl_suggest "ocl-icd-opencl-dev, opencl-headers")
|
||||||
if(OV_GLIBC_VERSION VERSION_LESS_EQUAL 2.27)
|
if(OV_GLIBC_VERSION VERSION_LESS_EQUAL 2.27)
|
||||||
# Ubuntu 18.04, Debian 9 cases
|
# Ubuntu 18.04, Debian 9 cases
|
||||||
set(json_library "nlohmann-json-dev")
|
set(json_library "nlohmann-json-dev")
|
||||||
@@ -331,11 +335,12 @@ macro(ov_cpack_settings)
|
|||||||
set(CPACK_COMPONENT_SAMPLES_DESCRIPTION "Intel(R) Distribution of OpenVINO(TM) Toolkit C / C++ Samples")
|
set(CPACK_COMPONENT_SAMPLES_DESCRIPTION "Intel(R) Distribution of OpenVINO(TM) Toolkit C / C++ Samples")
|
||||||
set(CPACK_COMPONENT_SAMPLES_DEPENDS "${OV_CPACK_COMP_CORE_DEV}")
|
set(CPACK_COMPONENT_SAMPLES_DEPENDS "${OV_CPACK_COMP_CORE_DEV}")
|
||||||
set(CPACK_DEBIAN_SAMPLES_PACKAGE_NAME "openvino-samples-${cpack_name_ver}")
|
set(CPACK_DEBIAN_SAMPLES_PACKAGE_NAME "openvino-samples-${cpack_name_ver}")
|
||||||
set(CPACK_DEBIAN_SAMPLES_PACKAGE_SUGGESTS "${samples_build_deps_suggest}, ${all_plugins_suggest}")
|
set(CPACK_DEBIAN_SAMPLES_PACKAGE_SUGGESTS "${samples_build_deps_suggest}, ${samples_opencl_suggest}, ${all_plugins_suggest}")
|
||||||
set(CPACK_DEBIAN_SAMPLES_PACKAGE_DEPENDS "libgflags-dev, zlib1g-dev, ${json_library}")
|
set(CPACK_DEBIAN_SAMPLES_PACKAGE_DEPENDS "libgflags-dev, zlib1g-dev, ${json_library}")
|
||||||
# can be skipped with --no-install-recommends
|
# can be skipped with --no-install-recommends
|
||||||
set(CPACK_DEBIAN_SAMPLES_PACKAGE_RECOMMENDS "${samples_build_deps}")
|
set(CPACK_DEBIAN_SAMPLES_PACKAGE_RECOMMENDS "${samples_build_deps}")
|
||||||
set(CPACK_DEBIAN_SAMPLES_PACKAGE_ARCHITECTURE "all")
|
set(CPACK_DEBIAN_SAMPLES_PACKAGE_ARCHITECTURE "all")
|
||||||
|
ov_debian_generate_conflicts(${OV_CPACK_COMP_CPP_SAMPLES} ${conflicting_versions})
|
||||||
set(samples_copyright "generic")
|
set(samples_copyright "generic")
|
||||||
|
|
||||||
# python_samples
|
# python_samples
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2018-2022 Intel Corporation
|
# Copyright (C) 2018-2023 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user