Skip to content

Commit d4eb8ec

Browse files
ravi9wine99
authored andcommitted
Update to OV-2025.3 and CMakeLists.txt
1 parent b41f494 commit d4eb8ec

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

docs/build.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -612,23 +612,13 @@ Follow the instructions below to install OpenVINO runtime and build llama.cpp wi
612612
- Follow the guide to install OpenVINO Runtime from an archive file: [Linux](https://docs.openvino.ai/2025/get-started/install-openvino/install-openvino-archive-linux.html) | [Windows](https://docs.openvino.ai/2025/get-started/install-openvino/install-openvino-archive-windows.html)
613613

614614
<details>
615-
<summary>📦 Click to expand OpenVINO 2025.2 installation commands on Linux</summary>
615+
<summary>📦 Click to expand OpenVINO 2025.3 installation on Ubuntu</summary>
616616
<br>
617617

618618
```bash
619-
export OPENVINO_VERSION_MAJOR=2025.2
620-
export OPENVINO_VERSION_FULL=2025.2.0.19140.c01cd93e24d
621-
sudo apt-get update
622-
sudo apt-get install -y build-essential libcurl4-openssl-dev libtbb12 cmake ninja-build python3-pip curl wget tar
623-
sudo mkdir -p /opt/intel
624-
wget -O openvino_${OPENVINO_VERSION_MAJOR}.tgz https://storage.openvinotoolkit.org/repositories/openvino/packages/${OPENVINO_VERSION_MAJOR}/linux/openvino_toolkit_ubuntu24_${OPENVINO_VERSION_FULL}_x86_64.tgz
625-
tar -xf openvino_${OPENVINO_VERSION_MAJOR}.tgz
626-
sudo mv openvino_toolkit_ubuntu24_${OPENVINO_VERSION_FULL}_x86_64 /opt/intel/openvino_${OPENVINO_VERSION_MAJOR}
627-
rm openvino_${OPENVINO_VERSION_MAJOR}.tgz
628-
cd /opt/intel/openvino_${OPENVINO_VERSION_MAJOR}
629-
echo "Y" | sudo -E ./install_dependencies/install_openvino_dependencies.sh && cd -
630-
sudo ln -s /opt/intel/openvino_${OPENVINO_VERSION_MAJOR} /opt/intel/openvino
631-
source /opt/intel/openvino/setupvars.sh
619+
wget https://raw.githubusercontent.com/ravi9/misc-scripts/main/openvino/ov-archive-install/install-openvino-from-archive.sh
620+
chmod +x install-openvino-from-archive.sh
621+
./install-openvino-from-archive.sh
632622
```
633623
</details>
634624

ggml/src/ggml-openvino/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
find_package(OpenVINO REQUIRED)
22

3+
include("${OpenVINO_DIR}/../3rdparty/tbb/lib/cmake/TBB/TBBConfig.cmake")
4+
35
file(GLOB_RECURSE GGML_HEADERS_OPENVINO "*.h" "*.hpp")
46
file(GLOB_RECURSE GGML_SOURCES_OPENVINO "*.cpp")
57

@@ -8,7 +10,7 @@ ggml_add_backend_library(ggml-openvino
810
${GGML_HEADERS_OPENVINO}
911
)
1012

11-
target_link_libraries(ggml-openvino PRIVATE openvino::runtime)
13+
target_link_libraries(ggml-openvino PRIVATE openvino::runtime TBB::tbb)
1214

1315
if (GGML_OPENVINO)
1416
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")

0 commit comments

Comments
 (0)