From 091b6a7fc561b78da90a0ed2d524ec995458c657 Mon Sep 17 00:00:00 2001 From: Raffaele Di Donna Date: Wed, 14 Oct 2026 04:25:26 +0200 Subject: [PATCH] Enable OpenSSL in FP32/FP16 SYCL builds to restore HF HTTPS downloads (#30330) Co-authored-by: Raffaele Di Donna <235519540+raffaeleedidonna@users.noreply.github.com> --- docs/backend/SYCL.md | 2 ++ examples/sycl/build.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/backend/SYCL.md b/docs/backend/SYCL.md index 19dc69851..32a209a26 100644 --- a/docs/backend/SYCL.md +++ b/docs/backend/SYCL.md @@ -313,6 +313,8 @@ When targeting an intel GPU, the user should expect one or more devices among th ### II. Build llama.cpp +HTTPS downloads, including Hugging Face models, require OpenSSL development libraries at build time. See the [build prerequisites](../build.md) for installation commands. If OpenSSL is not found, the build can still complete without HTTPS support. + #### Intel GPU ```sh diff --git a/examples/sycl/build.sh b/examples/sycl/build.sh index 9dd66cb67..bec96886b 100755 --- a/examples/sycl/build.sh +++ b/examples/sycl/build.sh @@ -37,10 +37,10 @@ source /opt/intel/oneapi/setvars.sh if [ "$PRECISION" = "fp16" ]; then #for FP16 - cmake .. -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_SYCL_F16=ON -DLLAMA_OPENSSL=OFF # faster for long-prompt inference + cmake .. -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_SYCL_F16=ON -DLLAMA_OPENSSL=ON # faster for long-prompt inference else #for FP32 - cmake .. -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DLLAMA_OPENSSL=OFF + cmake .. -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DLLAMA_OPENSSL=ON fi #build example/main