Skip to content

Commit fccd684

Browse files
authored
Merge branch 'master' into overflow_int
2 parents bdeab9b + a45d2d1 commit fccd684

File tree

852 files changed

+21588
-8800
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

852 files changed

+21588
-8800
lines changed

.github/actions/handle_docker/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ runs:
2727
using: 'composite'
2828
steps:
2929
- name: Checkout head
30-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
30+
uses: ababushk/checkout@9bec46a94a83db82acd4303e7627d88db71402a5 # cherry_pick_retries
3131

3232
- name: Checkout base
33-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
33+
uses: ababushk/checkout@9bec46a94a83db82acd4303e7627d88db71402a5 # cherry_pick_retries
3434
with:
3535
ref: ${{ github.base_ref || github.event.merge_group.base_ref }}
3636
sparse-checkout: ${{ inputs.dockerfiles_root_dir }}/docker_tag

.github/actions/install_ov_wheels/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ runs:
3333
Write-Host "Looking for free-threaded Python wheel: $wheel-*cp$pyVersion*t*.whl"
3434
$wheelPath = Get-ChildItem -Path ${{ inputs.wheels-dir-path }} -Filter "$wheel-*cp$pyVersion*t*.whl" | Select-Object -First 1
3535
} else {
36-
$wheelPath = Get-ChildItem -Path ${{ inputs.wheels-dir-path }} -Filter "$wheel-*cp$pyVersion*.whl" | Where-Object { $_.Name -notlike "*cp$pyVersion*t.whl" } | Select-Object -First 1
36+
Write-Host "Looking for non-free-threaded Python wheel: $wheel-*cp$pyVersion*.whl"
37+
$wheelPath = Get-ChildItem -Path ${{ inputs.wheels-dir-path }} -Filter "$wheel-*cp$pyVersion*.whl" | Where-Object { $_.Name -notlike "*cp$pyVersion*t*.whl" } | Select-Object -First 1
3738
}
3839
3940
Write-Host "Wheel path: $($wheelPath)"
@@ -64,8 +65,10 @@ runs:
6465
6566
# free-threading Python wheels have 'cpXYt' in their names
6667
if [ "${{ inputs.free-threaded-python }}" == "true" ]; then
68+
echo "Looking for free-threaded Python wheel: $wheel-*cp$pyVersion*t*.whl"
6769
wheel_path=$(find ${{ inputs.wheels-dir-path }} -name "$wheel-*cp${py_version}t*.whl")
6870
else
71+
echo "Looking for non-free-threaded Python wheel: $wheel-*cp$pyVersion*.whl"
6972
wheel_path=$(find ${{ inputs.wheels-dir-path }} -name "$wheel-*cp$py_version*.whl" ! -name "*cp${py_version}t*.whl")
7073
fi
7174

.github/actions/openvino_provider/action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@ name: 'OpenVINO provider'
22
description: 'Provides OpenVINO build artifacts from a requested source'
33
inputs:
44
revision:
5-
description: 'Version of OpenVINO to provide - latest_available_commit | HEAD | specific commit hash |
5+
description: 'Version of OpenVINO to provide - latest_available_commit | HEAD | specific commit hash |
66
latest_nightly | specific package version (e.g. 2024.4.0rc2)'
77
required: true
88
branch_name:
9-
description: 'Branch of OpenVINO to take the revision from if no specific hash was provided.
9+
description: 'Branch of OpenVINO to take the revision from if no specific hash was provided.
1010
Taken from github context by default'
1111
required: false
1212
event_name:
13-
description: 'Even name from which artifacts were generated. "push" by default; overwrite it with "pull_request"
13+
description: 'Even name from which artifacts were generated. "push" by default; overwrite it with "pull_request"
1414
if revision/branch is from PR'
1515
default: "push"
1616
required: false
1717
ov_artifact_name:
1818
description: "Name under which to upload provided OpenVINO build artifacts, set automatically by default"
1919
required: false
2020
platform:
21-
description: "Platform for which to get artifacts: centos7 | debian10 | rhel8 | ubuntu20 |
21+
description: "Platform for which to get artifacts: centos7 | debian10 | rhel8 | ubuntu20 |
2222
ubuntu20 | ubuntu22 | ubuntu24 | macos | macos_12_6 | windows"
2323
required: false
2424
arch:
2525
description: "Architecture for which to get artifacts: x86_64 | armhf | arm64"
2626
default: "x86_64"
2727
required: false
2828
install_dir:
29-
description: 'Local path to install OpenVINO package to. If not specified, package is installed to GitHub workspace
29+
description: 'Local path to install OpenVINO package to. If not specified, package is installed to GitHub workspace
3030
and uploaded to GitHub'
3131
required: false
3232
commit_packages_to_provide:
@@ -76,15 +76,15 @@ runs:
7676
env:
7777
ACTION_REF: ${{ github.action_ref || github.base_ref || github.event.merge_group.base_ref || github.ref }}
7878

79-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
79+
- uses: ababushk/checkout@9bec46a94a83db82acd4303e7627d88db71402a5 # cherry_pick_retries
8080
with:
8181
repository: 'openvinotoolkit/openvino'
8282
ref: ${{ steps.get_action_revision.outputs.action_ref }}
8383
sparse-checkout: .github/actions
8484

8585
- name: Clone OpenVINO to get HEAD commit
8686
if: inputs.revision == 'HEAD'
87-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
87+
uses: ababushk/checkout@9bec46a94a83db82acd4303e7627d88db71402a5 # cherry_pick_retries
8888
with:
8989
repository: 'openvinotoolkit/openvino'
9090
path: 'openvino'
@@ -164,7 +164,7 @@ runs:
164164
run: >-
165165
python3 -m venv venv && . venv/bin/activate &&
166166
pip install -r $GITHUB_ACTION_PATH/requirements.txt &&
167-
python $GITHUB_ACTION_PATH/get_s3_package.py --product openvino --platform ${{ inputs.platform }} --arch ${{ inputs.arch }}
167+
python $GITHUB_ACTION_PATH/get_s3_package.py --product openvino --platform ${{ inputs.platform }} --arch ${{ inputs.arch }}
168168
--version ${{ inputs.revision }}
169169
170170
- name: Download nightly OpenVINO archives
@@ -209,7 +209,7 @@ runs:
209209
210210
release_version=$(echo ${{ steps.openvino_s3_download.outputs.ov_package_path }} |
211211
grep -oP '_\K\d{4}\.\d+\.\d+')
212-
212+
213213
dev_version=$(echo ${{ steps.openvino_s3_download.outputs.ov_package_path }} |
214214
grep -oP "${release_version//./\\.}\.dev\d{8}" || true)
215215

.github/actions/smart-ci/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ inputs:
3535
required: false
3636
default: ".github/labeler.yml"
3737
skip_when_only_listed_labels_set:
38-
description: "Comma-separated list of labels. If PR has only these labels set,
38+
description: "Comma-separated list of labels. If PR has only these labels set,
3939
return indicator that CI can be skipped"
4040
required: false
4141
skip_when_only_listed_files_changed:
42-
description: "Comma-separated list of patterns (fnmatch-style). If PR has only matching files changed,
42+
description: "Comma-separated list of patterns (fnmatch-style). If PR has only matching files changed,
4343
return indicator that CI can be skipped"
4444
required: false
4545
enable_for_org:
@@ -65,7 +65,7 @@ runs:
6565
using: "composite"
6666
steps:
6767
- name: checkout wait-for-check action
68-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
68+
uses: ababushk/checkout@9bec46a94a83db82acd4303e7627d88db71402a5 # cherry_pick_retries
6969
with:
7070
repository: openvinotoolkit/openvino
7171
sparse-checkout: .github/actions/wait-for-check-completion
@@ -82,7 +82,7 @@ runs:
8282
timeout: 300
8383

8484
- name: checkout components file
85-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
85+
uses: ababushk/checkout@9bec46a94a83db82acd4303e7627d88db71402a5 # cherry_pick_retries
8686
with:
8787
sparse-checkout: .github/components.yml
8888
sparse-checkout-cone-mode: false

.github/dockerfiles/docker_tag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pr-33674
1+
pr-33888

.github/dockerfiles/ov_build/ubuntu_20_04_x64_nvidia/Dockerfile

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ ENV DEBIAN_FRONTEND="noninteractive" \
1313
TZ="Europe/London"
1414

1515
RUN apt-get update && \
16-
apt-get install software-properties-common && \
16+
apt-get install software-properties-common wget && \
1717
add-apt-repository --yes --no-update ppa:git-core/ppa && \
1818
add-apt-repository --yes --no-update ppa:deadsnakes/ppa && \
19+
add-apt-repository --yes --no-update "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" && \
20+
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/llvm.asc && \
1921
apt-get update && \
2022
# install compilers to build OpenVINO for RISC-V 64
21-
apt-get install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu && \
23+
apt-get install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu binutils-riscv64-linux-gnu && \
2224
apt-get install \
2325
curl \
2426
git \
@@ -40,6 +42,10 @@ RUN apt-get update && \
4042
# Compilers
4143
gcc \
4244
g++ \
45+
# For clang-tidy validation
46+
clang-format-18 \
47+
clang-tidy-18 \
48+
libomp-18-dev \
4349
&& \
4450
rm -rf /var/lib/apt/lists/*
4551

@@ -62,9 +68,19 @@ RUN echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricte
6268

6369
RUN dpkg --add-architecture riscv64 && \
6470
apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/riscv64-sources.list && \
65-
apt-get install -y --no-install-recommends libpython3-dev:riscv64 && \
66-
apt-get install libgomp1:riscv64 && \
67-
apt-get install libatomic1:riscv64
71+
apt-get install -y --no-install-recommends libpython3-dev:riscv64
72+
73+
# Install sscache
74+
ARG SCCACHE_VERSION="v0.7.5"
75+
ENV SCCACHE_HOME="/opt/sccache" \
76+
SCCACHE_PATH="/opt/sccache/sccache"
77+
78+
RUN mkdir ${SCCACHE_HOME} && cd ${SCCACHE_HOME} && \
79+
SCCACHE_ARCHIVE="sccache-${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz" && \
80+
curl -SLO https://github.com/mozilla/sccache/releases/download/${SCCACHE_VERSION}/${SCCACHE_ARCHIVE} && \
81+
tar -xzf ${SCCACHE_ARCHIVE} --strip-components=1 && rm ${SCCACHE_ARCHIVE}
82+
83+
ENV PATH="$SCCACHE_HOME:$PATH"
6884

6985
# Setup pip
7086
ENV PIP_VERSION="24.0"

0 commit comments

Comments
 (0)