OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[CI] Migrate RISC-V pipelines off python 3.10 (#38775)
Gracjan Koscinski2ba16190d121
diff --git a/.github/dockerfiles/docker_tag b/.github/dockerfiles/docker_tagindex a5ff634de60..6833bae5c14 100644--- a/.github/dockerfiles/docker_tag+++ b/.github/dockerfiles/docker_tag@@ -1 +1 @@-pr-39694+pr-38775diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_24_04_riscv/Dockerfilesimilarity index 63%rename from .github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfilerename to .github/dockerfiles/ov_build/ubuntu_24_04_riscv/Dockerfileindex 54bc4486b2d..a4bc211b30e 100644--- a/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile+++ b/.github/dockerfiles/ov_build/ubuntu_24_04_riscv/Dockerfile@@ -2,7 +2,7 @@# SPDX-License-Identifier: Apache-2.0ARG REGISTRY="docker.io"-FROM ${REGISTRY}/library/ubuntu:22.04+FROM ${REGISTRY}/library/ubuntu:24.04USER root@@ -17,28 +17,27 @@ ENV DEBIAN_FRONTEND="noninteractive" \# Install RISC-V native debian packagesRUN dpkg --add-architecture riscv64 && \- echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted > sources.list && \- echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted >> sources.list && \- echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy universe >> sources.list && \- echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates universe >> sources.list && \- echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy multiverse >> sources.list && \- echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse >> sources.list && \- echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse >> sources.list && \- echo deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security main restricted >> sources.list && \- echo deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security universe >> sources.list && \- echo deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security multiverse >> sources.list && \- echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ jammy main >> sources.list && \- echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ jammy universe >> sources.list && \- echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ jammy-updates main >> sources.list && \- echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ jammy-security main >> sources.list && \+ rm -f /etc/apt/sources.list.d/ubuntu.sources && \+ echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble main restricted > sources.list && \+ echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble-updates main restricted >> sources.list && \+ echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble universe >> sources.list && \+ echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble-updates universe >> sources.list && \+ echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble multiverse >> sources.list && \+ echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble-updates multiverse >> sources.list && \+ echo deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse >> sources.list && \+ echo deb [arch=amd64] http://security.ubuntu.com/ubuntu/ noble-security main restricted >> sources.list && \+ echo deb [arch=amd64] http://security.ubuntu.com/ubuntu/ noble-security universe >> sources.list && \+ echo deb [arch=amd64] http://security.ubuntu.com/ubuntu/ noble-security multiverse >> sources.list && \+ echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble main >> sources.list && \+ echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble universe >> sources.list && \+ echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main >> sources.list && \+ echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-security main >> sources.list && \mv sources.list /etc/apt/sources.listRUN apt-get update && \- apt-get install software-properties-common wget && \+ apt-get install software-properties-common && \add-apt-repository --yes --no-update ppa:git-core/ppa && \add-apt-repository --yes --no-update ppa:deadsnakes/ppa && \- add-apt-repository --yes --no-update "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" && \- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/llvm.asc && \apt-get update && \# install compilers to build OpenVINO for RISC-V 64apt-get install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu binutils-riscv64-linux-gnu && \@@ -60,20 +59,18 @@ RUN apt-get update && \python3-dev \python3-pip \python3-venv \- python3-distutils \# Compilersgcc \g++ \- # For clang-tidy validationclang-format-18 \clang-tidy-18 \libomp-18-dev && \- # Pin ncurses/tinfo to the jammy release-pocket version for both arches. The+ # Pin ncurses/tinfo to the noble release-pocket version for both arches. The# amd64 and riscv64 (ports) mirrors update these multiarch "same" packages on# different schedules, so an updated version is often available for only one# arch, causing a "Breaks" version conflict. The release-pocket version is the# one version guaranteed to exist on both mirrors permanently.- NCURSES_VERSION=$(apt-cache madison libtinfo6 | awk -F'|' '$3 ~ / jammy\/main / {gsub(/ /, "", $2); print $2; exit}') && \+ NCURSES_VERSION=$(apt-cache madison libtinfo6 | awk -F'|' '$3 ~ / noble\/main / {gsub(/ /, "", $2); print $2; exit}') && \apt-get install --allow-downgrades \libncurses6=${NCURSES_VERSION} \libncursesw6=${NCURSES_VERSION} \@@ -98,11 +95,13 @@ RUN mkdir ${SCCACHE_HOME} && cd ${SCCACHE_HOME} && \ENV PATH="$SCCACHE_HOME:$PATH"+RUN python3 -m venv venv+ENV PATH="/venv/bin:$PATH"+# Setup pipENV PIP_VERSION="24.0"RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \python3 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \rm -f get-pip.py-# Install newer ninja (apt ships 1.10.1 on 22.04 which lacks --quiet)RUN python3 -m pip install --no-cache-dir cmake==3.26.4 ninja==1.13.0diff --git a/.github/dockerfiles/ov_test/ubuntu_22_04_riscv/Dockerfile b/.github/dockerfiles/ov_test/ubuntu_24_04_riscv/Dockerfilesimilarity index 98%rename from .github/dockerfiles/ov_test/ubuntu_22_04_riscv/Dockerfilerename to .github/dockerfiles/ov_test/ubuntu_24_04_riscv/Dockerfileindex fc50931a7c6..3c5d8925cc9 100644--- a/.github/dockerfiles/ov_test/ubuntu_22_04_riscv/Dockerfile+++ b/.github/dockerfiles/ov_test/ubuntu_24_04_riscv/Dockerfile@@ -2,7 +2,7 @@# SPDX-License-Identifier: Apache-2.0ARG REGISTRY="docker.io"-FROM ${REGISTRY}/library/ubuntu:22.04+FROM ${REGISTRY}/library/ubuntu:24.04USER rootdiff --git a/.github/workflows/ci-doctor-mq.lock.yml b/.github/workflows/ci-doctor-mq.lock.ymlindex a5823f5a251..827a5f78767 100644--- a/.github/workflows/ci-doctor-mq.lock.yml+++ b/.github/workflows/ci-doctor-mq.lock.yml@@ -1,4 +1,4 @@-# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"eb0c8dd54667ae7d5047c6932bea9a335e7163b067a2956bbd793ae10a62419f","body_hash":"73e3c33845afc98612d4a903b6399034981420ed5cb206251c8a36e1a12583d8","compiler_version":"v1.0.1","strict":true,"agent_id":"copilot","agent_model":"claude-sonnet-5","engine_versions":{"copilot":"1.0.103"}}+# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"2b1b6163b395baf907d8765f53ee466699741210281bc700040ae00e05f29bda","body_hash":"73e3c33845afc98612d4a903b6399034981420ed5cb206251c8a36e1a12583d8","compiler_version":"v1.0.1","strict":true,"agent_id":"copilot","agent_model":"claude-sonnet-5","engine_versions":{"copilot":"1.0.103"}}# gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_DEFAULT_OTLP_ENDPOINT","GH_AW_DEFAULT_OTLP_HEADERS","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN","MERGE_QUEUE_TOKEN","RERUNNER_DB_UPDATE","TEAMS_WEBHOOK_URL"],"actions":[{"repo":"actions/checkout","sha":"3d3c42e5aac5ba805825da76410c181273ba90b1","version":"v7.0.1"},{"repo":"actions/download-artifact","sha":"9000827ccba6bdab643e8b6fd33ac0654aef8333","version":"v8.0.2"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"949feb2413d6458794dcd2491c4babbbce0c15c1","version":"v7.1.0"},{"repo":"actions/setup-python","sha":"5fda3b95a4ea91299a34e894583c3862153e4b97","version":"v7.0.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"actions/upload-artifact","sha":"cf430e030ddbb5b0abf93d22962f4752f3646cd9","version":"v7.0.2"},{"repo":"github/gh-aw-actions/setup","sha":"221ba4f4319de6b8e809d1a15528b3ae6a818aa5","version":"v1.0.1"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.29.0","digest":"sha256:b14bd399376180b5649a9324be3b50fbfc82bfe8f0c80045840416b5a4e65b96","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.29.0@sha256:b14bd399376180b5649a9324be3b50fbfc82bfe8f0c80045840416b5a4e65b96"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.29.0","digest":"sha256:baff00b856a4bdc93bce134928c70af3d3492f2e518757115042040674d56b0b","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.29.0@sha256:baff00b856a4bdc93bce134928c70af3d3492f2e518757115042040674d56b0b"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.29.0","digest":"sha256:6e0cbf7f980beb78b5461563a8164f6439ca959bc93733d5a6b52972e523ed50","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.29.0@sha256:6e0cbf7f980beb78b5461563a8164f6439ca959bc93733d5a6b52972e523ed50"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.5.0","digest":"sha256:d3544a4222e7efeeeb38669d8a1af0c72691c55b8f6506b15aa5920f7f31b7bc","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.5.0@sha256:d3544a4222e7efeeeb38669d8a1af0c72691c55b8f6506b15aa5920f7f31b7bc"},{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:bac2192f6374d6262116399b34fc5e143d576f82719e90a18261cae7480f4d4e","pinned_image":"ghcr.io/github/gh-aw-node@sha256:bac2192f6374d6262116399b34fc5e143d576f82719e90a18261cae7480f4d4e"},{"image":"ghcr.io/github/github-mcp-server:v2.0.3","digest":"sha256:250bc6ce70788207608ef74cef4397230ff2e8481218da74d6093e4bd9101132","pinned_image":"ghcr.io/github/github-mcp-server:v2.0.3@sha256:250bc6ce70788207608ef74cef4397230ff2e8481218da74d6093e4bd9101132"}],"mcp_servers":[{"name":"github","tools":["actions_get","actions_list","get_commit","get_file_contents","get_job_logs","get_latest_release","get_me","get_pull_request","get_pull_request_comments","get_pull_request_diff","get_pull_request_files","get_pull_request_review_comments","get_pull_request_reviews","get_pull_request_status","get_release_by_tag","get_tag","issue_read","list_branches","list_commits","list_issue_types","list_issues","list_pull_requests","list_releases","list_starred_repositories","list_tags","pull_request_read","search_code","search_issues","search_pull_requests","search_repositories"]},{"name":"safeoutputs","tools":["add_comment","noop","notify_teams","notify_teams_recurring","propose_rerun_pattern","remediate_transient_failure","report_incomplete","report_missing_data","report_missing_tool"]}],"threat_detection":{"mode":"enabled"},"admission":false}# This file was automatically generated by gh-aw (v1.0.1). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md#@@ -101,7 +101,7 @@ on:- Linux ARM64 (Ubuntu 22.04, Python 3.11)- Linux (Ubuntu 22.04, ARM64 cross-compilation, Python 3.11)- Linux Static CC (Ubuntu 22.04, Python 3.11, Clang)- - Linux RISC-V (Ubuntu 22.04, Python 3.10)+ - Linux RISC-V (Ubuntu 24.04, Python 3.12)- Windows (VS 2022, Python 3.11, Release)- Windows (VS 2022, Python 3.11, Debug)- Windows Conditional Compilation (VS 2022, Python 3.11)diff --git a/.github/workflows/ci-doctor-mq.md b/.github/workflows/ci-doctor-mq.mdindex 53abd336339..66bfdc34cc4 100644--- a/.github/workflows/ci-doctor-mq.md+++ b/.github/workflows/ci-doctor-mq.md@@ -27,7 +27,7 @@ on:- "Linux ARM64 (Ubuntu 22.04, Python 3.11)"- "Linux (Ubuntu 22.04, ARM64 cross-compilation, Python 3.11)"- "Linux Static CC (Ubuntu 22.04, Python 3.11, Clang)"- - "Linux RISC-V (Ubuntu 22.04, Python 3.10)"+ - "Linux RISC-V (Ubuntu 24.04, Python 3.12)"- "Windows (VS 2022, Python 3.11, Release)"- "Windows (VS 2022, Python 3.11, Debug)"- "Windows Conditional Compilation (VS 2022, Python 3.11)"diff --git a/.github/workflows/ci-doctor-post-commit.lock.yml b/.github/workflows/ci-doctor-post-commit.lock.ymlindex 1846bddf574..bfafd6b36ad 100644--- a/.github/workflows/ci-doctor-post-commit.lock.yml+++ b/.github/workflows/ci-doctor-post-commit.lock.yml@@ -1,4 +1,4 @@-# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"d3274b0334828b127d39ce5be3784002c2b5fd4f9de23024f1bce9e469f8da5d","body_hash":"7b4799f4b9af348b6bfc82aa88ddf26cc886f240e2a324d07bcda162a1de7c71","compiler_version":"v1.0.1","strict":true,"agent_id":"copilot","agent_model":"claude-sonnet-5","engine_versions":{"copilot":"1.0.103"}}+# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"dfb7ea37a918a3daee08199896ee0f56c5ee666b6806cf417e1c03648b359893","body_hash":"7b4799f4b9af348b6bfc82aa88ddf26cc886f240e2a324d07bcda162a1de7c71","compiler_version":"v1.0.1","strict":true,"agent_id":"copilot","agent_model":"claude-sonnet-5","engine_versions":{"copilot":"1.0.103"}}# gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_DEFAULT_OTLP_ENDPOINT","GH_AW_DEFAULT_OTLP_HEADERS","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN","TEAMS_WEBHOOK_URL"],"actions":[{"repo":"actions/checkout","sha":"3d3c42e5aac5ba805825da76410c181273ba90b1","version":"v7.0.1"},{"repo":"actions/download-artifact","sha":"9000827ccba6bdab643e8b6fd33ac0654aef8333","version":"v8.0.2"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"949feb2413d6458794dcd2491c4babbbce0c15c1","version":"v7.1.0"},{"repo":"actions/setup-python","sha":"5fda3b95a4ea91299a34e894583c3862153e4b97","version":"v7.0.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"actions/upload-artifact","sha":"cf430e030ddbb5b0abf93d22962f4752f3646cd9","version":"v7.0.2"},{"repo":"github/gh-aw-actions/setup","sha":"221ba4f4319de6b8e809d1a15528b3ae6a818aa5","version":"v1.0.1"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.29.0","digest":"sha256:b14bd399376180b5649a9324be3b50fbfc82bfe8f0c80045840416b5a4e65b96","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.29.0@sha256:b14bd399376180b5649a9324be3b50fbfc82bfe8f0c80045840416b5a4e65b96"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.29.0","digest":"sha256:baff00b856a4bdc93bce134928c70af3d3492f2e518757115042040674d56b0b","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.29.0@sha256:baff00b856a4bdc93bce134928c70af3d3492f2e518757115042040674d56b0b"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.29.0","digest":"sha256:6e0cbf7f980beb78b5461563a8164f6439ca959bc93733d5a6b52972e523ed50","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.29.0@sha256:6e0cbf7f980beb78b5461563a8164f6439ca959bc93733d5a6b52972e523ed50"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.5.0","digest":"sha256:d3544a4222e7efeeeb38669d8a1af0c72691c55b8f6506b15aa5920f7f31b7bc","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.5.0@sha256:d3544a4222e7efeeeb38669d8a1af0c72691c55b8f6506b15aa5920f7f31b7bc"},{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:bac2192f6374d6262116399b34fc5e143d576f82719e90a18261cae7480f4d4e","pinned_image":"ghcr.io/github/gh-aw-node@sha256:bac2192f6374d6262116399b34fc5e143d576f82719e90a18261cae7480f4d4e"},{"image":"ghcr.io/github/github-mcp-server:v2.0.3","digest":"sha256:250bc6ce70788207608ef74cef4397230ff2e8481218da74d6093e4bd9101132","pinned_image":"ghcr.io/github/github-mcp-server:v2.0.3@sha256:250bc6ce70788207608ef74cef4397230ff2e8481218da74d6093e4bd9101132"}],"mcp_servers":[{"name":"github","tools":["actions_get","actions_list","get_commit","get_file_contents","get_job_logs","get_latest_release","get_me","get_pull_request","get_pull_request_comments","get_pull_request_diff","get_pull_request_files","get_pull_request_review_comments","get_pull_request_reviews","get_pull_request_status","get_release_by_tag","get_tag","issue_read","list_branches","list_commits","list_issue_types","list_issues","list_pull_requests","list_releases","list_starred_repositories","list_tags","pull_request_read","search_code","search_issues","search_pull_requests","search_repositories"]},{"name":"safeoutputs","tools":["noop","notify_teams","report_incomplete","report_missing_data","report_missing_tool"]}],"threat_detection":{"mode":"enabled"},"admission":false}# This file was automatically generated by gh-aw (v1.0.1). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md#@@ -99,7 +99,7 @@ on:- Linux ARM64 (Ubuntu 22.04, Python 3.11)- Linux (Ubuntu 22.04, ARM64 cross-compilation, Python 3.11)- Linux Static CC (Ubuntu 22.04, Python 3.11, Clang)- - Linux RISC-V (Ubuntu 22.04, Python 3.10)+ - Linux RISC-V (Ubuntu 24.04, Python 3.12)- Windows (VS 2022, Python 3.11, Release)- Windows (VS 2022, Python 3.11, Debug)- Windows Conditional Compilation (VS 2022, Python 3.11)diff --git a/.github/workflows/ci-doctor-post-commit.md b/.github/workflows/ci-doctor-post-commit.mdindex ff1bd6cca8b..01552f0212b 100644--- a/.github/workflows/ci-doctor-post-commit.md+++ b/.github/workflows/ci-doctor-post-commit.md@@ -29,7 +29,7 @@ on:- "Linux ARM64 (Ubuntu 22.04, Python 3.11)"- "Linux (Ubuntu 22.04, ARM64 cross-compilation, Python 3.11)"- "Linux Static CC (Ubuntu 22.04, Python 3.11, Clang)"- - "Linux RISC-V (Ubuntu 22.04, Python 3.10)"+ - "Linux RISC-V (Ubuntu 24.04, Python 3.12)"- "Windows (VS 2022, Python 3.11, Release)"- "Windows (VS 2022, Python 3.11, Debug)"- "Windows Conditional Compilation (VS 2022, Python 3.11)"diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.ymlindex 1110b9acf06..6b53b94319a 100644--- a/.github/workflows/clang_tidy.yml+++ b/.github/workflows/clang_tidy.yml@@ -69,7 +69,7 @@ jobs:- name: Set mock output images if pipeline should be skippedif: ${{ needs.smart_ci.outputs.skip_workflow == 'True' }}id: mock_image- run: echo "images={\"ov_build\":{\"ubuntu_24_04_x64\":\"mock\", \"ubuntu_22_04_arm64\":\"mock\", \"ubuntu_22_04_riscv_gnu\":\"mock\"}}" >> "$GITHUB_OUTPUT"+ run: echo "images={\"ov_build\":{\"ubuntu_24_04_x64\":\"mock\", \"ubuntu_22_04_arm64\":\"mock\", \"ubuntu_24_04_riscv\":\"mock\"}}" >> "$GITHUB_OUTPUT"- name: Checkoutif: ${{ needs.smart_ci.outputs.skip_workflow != 'True' }}@@ -82,7 +82,7 @@ jobs:with:images: |ov_build/ubuntu_24_04_x64- ov_build/ubuntu_22_04_riscv+ ov_build/ubuntu_24_04_riscvregistry: 'openvinogithubactions.azurecr.io'dockerfiles_root_dir: '.github/dockerfiles'changed_components: ${{ needs.smart_ci.outputs.changed_components }}@@ -154,7 +154,7 @@ jobs:with:runner: aks-linux-16-cores-32gbcmake-build-parallel-level: '15'- image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_riscv }}+ image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_24_04_riscv }}cmake-generator: 'Unix Makefiles'sccache-prefix: ubuntu24_x86_64_Release_itt_faster_build_clang_tidy_riscv64build-target: openvino_intel_cpu_plugindiff --git a/.github/workflows/linux_riscv.yml b/.github/workflows/linux_riscv.ymlindex 3c2f9f9cf58..0d17f6c9cd0 100644--- a/.github/workflows/linux_riscv.yml+++ b/.github/workflows/linux_riscv.yml@@ -1,4 +1,4 @@-name: Linux RISC-V (Ubuntu 22.04, Python 3.10)+name: Linux RISC-V (Ubuntu 24.04, Python 3.12)on:schedule:# at 00:00 on Wednesday and Saturday@@ -110,8 +110,8 @@ jobs:id: handle_dockerwith:images: |- ov_build/ubuntu_22_04_riscv- ov_test/ubuntu_22_04_riscv+ ov_build/ubuntu_24_04_riscv+ ov_test/ubuntu_24_04_riscvregistry: 'openvinogithubactions.azurecr.io'dockerfiles_root_dir: '.github/dockerfiles'changed_components: ${{ needs.smart_ci.outputs.changed_components }}@@ -125,7 +125,7 @@ jobs:shell: bashruns-on: aks-linux-16-cores-32gbcontainer:- image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_riscv }}+ image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_24_04_riscv }}volumes:- /mount:/mount- ${{ github.workspace }}:${{ github.workspace }}@@ -138,7 +138,7 @@ jobs:BUILD_DIR: ${{ github.workspace }}/buildINSTALL_DIR: ${{ github.workspace }}/openvino_installINSTALL_TEST_DIR: ${{ github.workspace }}/tests_install- CCACHE_SECONDARY_STORAGE: "file:///mount/caches/ccache/shared/ubuntu22/riscv64/gnu|umask=002|update-mtime=true"+ CCACHE_SECONDARY_STORAGE: "file:///mount/caches/ccache/shared/ubuntu24/riscv64/gnu|umask=002|update-mtime=true"CCACHE_MAXSIZE: 10GCCACHE_BASEDIR: ${{ github.workspace }}CCACHE_COMPILERCHECK: content@@ -242,7 +242,7 @@ jobs:needs: [Smart_CI, Docker, Build]runs-on: aks-linux-4-cores-16gbcontainer:- image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_riscv }}+ image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_24_04_riscv }}volumes:- ${{ github.workspace }}:${{ github.workspace }}defaults:diff --git a/.github/workflows/linux_riscv_conan.yml b/.github/workflows/linux_riscv_conan.ymlindex c890b8901f7..92f005d8271 100644--- a/.github/workflows/linux_riscv_conan.yml+++ b/.github/workflows/linux_riscv_conan.yml@@ -1,4 +1,4 @@-name: Linux RISC-V with Conan (Ubuntu 22.04, Python 3.10)+name: Linux RISC-V with Conan (Ubuntu 24.04, Python 3.12)on:workflow_dispatch:inputs:@@ -75,7 +75,7 @@ jobs:- name: Set mock output images if pipeline should be skippedif: ${{ needs.smart_ci.outputs.skip_workflow == 'True' }}id: mock_image- run: echo "images={\"ov_build\":{\"ubuntu_22_04_riscv\":\"mock\"}}" >> "$GITHUB_OUTPUT"+ run: echo "images={\"ov_build\":{\"ubuntu_24_04_riscv\":\"mock\"}}" >> "$GITHUB_OUTPUT"- name: Checkoutif: ${{ needs.smart_ci.outputs.skip_workflow != 'True' }}@@ -87,7 +87,7 @@ jobs:id: handle_dockerwith:images: |- ov_build/ubuntu_22_04_riscv+ ov_build/ubuntu_24_04_riscvregistry: 'openvinogithubactions.azurecr.io'dockerfiles_root_dir: '.github/dockerfiles'changed_components: ${{ needs.smart_ci.outputs.changed_components }}@@ -101,7 +101,7 @@ jobs:shell: bashruns-on: aks-linux-16-cores-32gbcontainer:- image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_riscv }}+ image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_24_04_riscv }}volumes:- /mount:/mountenv:@@ -112,11 +112,11 @@ jobs:OPENVINO_REPO: /__w/openvino/openvino/openvinoOPENVINO_BUILD_DIR: /__w/openvino/openvino/openvino_buildINSTALL_DIR: /__w/openvino/openvino/openvino_install- CONAN_USER_HOME: /mount/caches/ccache/ubuntu22_riscv64_master_release/.conan- CCACHE_REMOTE_DIR: /mount/caches/ccache/ubuntu22_riscv64/${{ needs.Smart_CI.outputs.target_branch }}- CCACHE_DIR: /__w/openvino/openvino/ccache- CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp- CCACHE_MAXSIZE: 2G+ CONAN_USER_HOME: /mount/caches/ccache/ubuntu24_riscv64_master_release/.conan+ CCACHE_SECONDARY_STORAGE: "file:///mount/caches/ccache/shared/ubuntu24/riscv64/gnu|umask=002|update-mtime=true"+ CCACHE_MAXSIZE: 10G+ CCACHE_BASEDIR: ${{ github.workspace }}+ CCACHE_COMPILERCHECK: contentPIP_INDEX_URL: "http://pip-proxy.pip-proxy.svc.cluster.local/simple/"PIP_TRUSTED_HOST: "pip-proxy.pip-proxy.svc.cluster.local"# Hard-coded manually; nproc and NUMBER_OF_PROCESSORS do not respect Kubernetes pod CPU limits.@@ -137,18 +137,10 @@ jobs:uses: ./openvino/.github/actions/system_info- name: Setup ccache- id: ccache_restore- uses: ./openvino/.github/actions/cache- with:- save-always: ${{ github.event_name == 'push' && 'true' || 'false' }}- cleanup-always: ${{ github.event_name == 'push' && 'true' || 'false' }}- cache-size: 10- max-cache-size: 50- cache-path: ${{ env.CCACHE_REMOTE_DIR }}- path: ${{ env.CCACHE_DIR }}- key: ${{ runner.os }}-${{ runner.arch }}-ccache-${{ github.sha }}- restore-keys: |- ${{ runner.os }}-${{ runner.arch }}-ccache+ run: |+ ccache --version+ test "$(ccache --get-config secondary_storage)" = "$CCACHE_SECONDARY_STORAGE"+ ccache --show-config- name: Init submodules for non-Conan dependenciesrun: |diff --git a/.github/workflows/workflow_rerunner.yml b/.github/workflows/workflow_rerunner.ymlindex e8a0bf3d2a2..61d22b3679e 100644--- a/.github/workflows/workflow_rerunner.yml+++ b/.github/workflows/workflow_rerunner.yml@@ -9,8 +9,8 @@ on:- "Linux ARM64 (Ubuntu 22.04, Python 3.11)"- "Linux (Ubuntu 22.04, ARM64 cross-compilation, Python 3.11)"- "Linux Static CC (Ubuntu 22.04, Python 3.11, Clang)"- - "Linux RISC-V with Conan (Ubuntu 22.04, Python 3.10)"- - "Linux RISC-V (Ubuntu 22.04, Python 3.10)"+ - "Linux RISC-V with Conan (Ubuntu 24.04, Python 3.12)"+ - "Linux RISC-V (Ubuntu 24.04, Python 3.12)"- "Linux (Ubuntu 22.04, Python 3.11, Intel DPC\\+\\+ Compiler)"- "Windows (VS 2022, Python 3.11, Release)"- "Windows (VS 2022, Python 3.11, Debug)"diff --git a/.github/workflows/workflows_to_track.txt b/.github/workflows/workflows_to_track.txtindex 2c64f7c5911..61bdc2ca0e5 100644--- a/.github/workflows/workflows_to_track.txt+++ b/.github/workflows/workflows_to_track.txt@@ -48,7 +48,7 @@ name: 'Dependency Review'==> ./code_snippets.yml <==name: Code snippets==> ./linux_riscv.yml <==-name: Linux RISC-V with Conan (Ubuntu 22.04, Python 3.10)+name: Linux RISC-V with Conan (Ubuntu 24.04, Python 3.12)==> ./workflow_rerunner.yml <==name: Rerun Workflow with Known Errors==> ./linux_sanitizers.yml <==diff --git a/docs/dev/build_riscv64.md b/docs/dev/build_riscv64.mdindex 66cca7219b2..03f12c2bd94 100644--- a/docs/dev/build_riscv64.md+++ b/docs/dev/build_riscv64.md@@ -2,7 +2,7 @@This guide shows how to build OpenVINO Runtime for 64-bit RISC-V devices. Due to limited resources, cross compilation is used now for building OpenVINO targeting RISC-V development boards.Cross compilation was tested on the following hosts:-- Ubuntu 22.04 (64-bit), x64+- Ubuntu 24.04 (64-bit), x64The software was validated on the following devices:- [Lichee Pi 4A](https://wiki.sipeed.com/hardware/en/lichee/th1520/lp4a.html) with RVV 0.7.1@@ -14,7 +14,7 @@ The software was validated on the following devices:- [CMake](https://cmake.org/download/) 3.26 or higher- GCC 7.5 or higher (for non-RVV) / [riscv-gnu-toolchain](https://github.com/riscv-collab/riscv-gnu-toolchain.git) (for RVV)-- Python 3.10 for the optional OpenVINO Runtime Python API cross-build described below+- Python 3.12 for the optional OpenVINO Runtime Python API cross-build described below## How to buildCurrently, there are two ways to build OpenVINO Runtime for 64-bit RISC-V platforms:@@ -89,10 +89,10 @@ When installing packages using the utilities `apt` or `apt-get` the packages are1. Add riscv64 repositories to download riscv64-specific packages:```sh- echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ jammy main >> riscv64-sources.list- echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ jammy universe >> riscv64-sources.list- echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ jammy-updates main >> riscv64-sources.list- echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ jammy-security main >> riscv64-sources.list+ echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble main >> riscv64-sources.list+ echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble universe >> riscv64-sources.list+ echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main >> riscv64-sources.list+ echo deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-security main >> riscv64-sources.listmv riscv64-sources.list /etc/apt/sources.list.d/dpkg --add-architecture riscv64apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/riscv64-sources.list@@ -102,16 +102,16 @@ When installing packages using the utilities `apt` or `apt-get` the packages are```shapt-get install -y --no-install-recommends libpython3-dev:riscv64```- Create symbolink to allow python to find `riscv64-linux-gnu/python3.10/pyconfig.h` in `/usr/include/python3.10/` (this header is initially stored in `/usr/include/riscv64-linux-gnu/`)+ Create symbolink to allow python to find `riscv64-linux-gnu/python3.12/pyconfig.h` in `/usr/include/python3.12/` (this header is initially stored in `/usr/include/riscv64-linux-gnu/`)```sh- ln -s /usr/include/riscv64-linux-gnu/ /usr/include/python3.10/+ ln -s /usr/include/riscv64-linux-gnu/ /usr/include/python3.12/```3. Add the keys `-DENABLE_PYTHON=ON -DENABLE_WHEEL=ON` to cmake command during OpenVINO build.-> **Note**: This optional Python 3.10 cross-build is not exercised by the current GitHub Actions+> **Note**: This optional Python 3.12 cross-build is not exercised by the current GitHub Actions> RISC-V workflow, which builds the C++ Runtime with `ENABLE_PYTHON=OFF`. The target device must-> provide Python 3.10 when using these manually verified instructions.+> provide Python 3.12 when using these manually verified instructions.### RISC-V Emulation softwareIn order to test applications without hardware one can use emulation software. The command line example to launch executable file with riscv64 emulation:diff --git a/docs/dev/ci/github_actions/caches.md b/docs/dev/ci/github_actions/caches.mdindex 5d2071a6fb4..7d022a5e3cb 100644--- a/docs/dev/ci/github_actions/caches.md+++ b/docs/dev/ci/github_actions/caches.md@@ -129,7 +129,7 @@ To add new resources, contact a member of the CI team for assistance.Builds can share compiled objects through ccache's remote storage on the shared driveby setting `CCACHE_SECONDARY_STORAGE` (or `CCACHE_REMOTE_STORAGE` on newer ccache)to `file:///mount/caches/ccache/shared`. The RISC-V GNU build in-[`linux_riscv.yml`](./../../../../.github/workflows/linux_riscv.yml) is the pilot user.+[`linux_riscv.yml`](./../../../../.github/workflows/linux_riscv.yml) and RISC-V with Conan in [`linux_riscv_conan.yml`](./../../../../.github/workflows/linux_riscv_conan.yml) are the pilot users.Old entries are evicted together with the rest of `/mount/caches/ccache` by the`Cleanup_ccache_lin` job in[`cleanup_caches.yml`](./../../../../.github/workflows/cleanup_caches.yml).