Skip to content

Commit 8af46c4

Browse files
ravi9wine99
authored andcommitted
Update to OV-2025.3 and CMakeLists.txt
1 parent 8cc6cd0 commit 8af46c4

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
@@ -614,23 +614,13 @@ Follow the instructions below to install OpenVINO runtime and build llama.cpp wi
614614
- 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)
615615

616616
<details>
617-
<summary>📦 Click to expand OpenVINO 2025.2 installation commands on Linux</summary>
617+
<summary>📦 Click to expand OpenVINO 2025.3 installation on Ubuntu</summary>
618618
<br>
619619

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

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)