Skip to content

Commit 7ca15d1

Browse files
committed
build: don't use GGML_BACKEND_DL on macOS
1 parent 11633cb commit 7ca15d1

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
if: matrix.os == 'ubuntu-22.04'
4949
run: >
5050
cmake . -B build -G Ninja
51-
-D CMAKE_BUILD_TYPE=Release
5251
-D VISP_CI=ON
5352
-D VISP_VULKAN=ON
5453
-D VISP_FMT_LIB=ON
@@ -57,19 +56,15 @@ jobs:
5756
if: matrix.os == 'windows-latest'
5857
run: >
5958
cmake . -B build -A x64
60-
-D CMAKE_BUILD_TYPE=Release
6159
-D VISP_CI=ON
6260
-D VISP_VULKAN=ON
6361
6462
- name: Configure (MacOS)
6563
if: matrix.os == 'macos-14'
6664
run: >
6765
cmake . -B build -G Ninja
68-
-D CMAKE_BUILD_TYPE=Release
6966
-D VISP_CI=ON
7067
-D GGML_METAL=OFF
71-
-D GGML_RPC=ON
72-
-D CMAKE_BUILD_RPATH="@loader_path"
7368
7469
- name: Build
7570
run: cmake --build build --config Release

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ endif()
9797
set(GGML_VULKAN ${VISP_VULKAN})
9898
set(GGML_LLAMAFILE ON)
9999
if(VISP_CI)
100-
set(GGML_BACKEND_DL ON)
100+
if(NOT APPLE)
101+
set(GGML_BACKEND_DL ON)
102+
endif()
101103
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "^(aarch64|arm.*|ARM64)$")
102104
# set default for ARM
103105
else()

0 commit comments

Comments
 (0)