@@ -160,66 +160,6 @@ jobs:
160
160
path : llama-${{ steps.tag.outputs.name }}-bin-macos-x64.zip
161
161
name : llama-bin-macos-x64.zip
162
162
163
- ubuntu-focal-make :
164
- runs-on : ubuntu-20.04
165
- env :
166
- LLAMA_NODE_AVAILABLE : true
167
- LLAMA_PYTHON_AVAILABLE : true
168
-
169
- steps :
170
- - name : Clone
171
- id : checkout
172
- uses : actions/checkout@v4
173
-
174
- - name : Dependencies
175
- id : depends
176
- run : |
177
- sudo apt-get update
178
- sudo apt-get install build-essential gcc-8
179
-
180
- - uses : actions/setup-node@v4
181
- with :
182
- node-version : " 20"
183
-
184
- - uses : actions/setup-python@v5
185
- with :
186
- python-version : " 3.11"
187
-
188
- - name : Build
189
- id : make_build
190
- env :
191
- LLAMA_FATAL_WARNINGS : 1
192
- run : |
193
- CC=gcc-8 make -j $(nproc)
194
-
195
- - name : Test
196
- id : make_test
197
- run : |
198
- CC=gcc-8 make tests -j $(nproc)
199
- make test -j $(nproc)
200
-
201
- ubuntu-focal-make-curl :
202
- runs-on : ubuntu-20.04
203
-
204
- steps :
205
- - name : Clone
206
- id : checkout
207
- uses : actions/checkout@v4
208
-
209
- - name : Dependencies
210
- id : depends
211
- run : |
212
- sudo apt-get update
213
- sudo apt-get install build-essential gcc-8 libcurl4-openssl-dev
214
-
215
- - name : Build
216
- id : make_build
217
- env :
218
- LLAMA_FATAL_WARNINGS : 1
219
- LLAMA_CURL : 1
220
- run : |
221
- CC=gcc-8 make -j $(nproc)
222
-
223
163
ubuntu-latest-cmake :
224
164
runs-on : ubuntu-latest
225
165
@@ -517,36 +457,6 @@ jobs:
517
457
cmake -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_SYCL_F16=ON ..
518
458
cmake --build . --config Release -j $(nproc)
519
459
520
- # TODO: build with GGML_NO_METAL because test-backend-ops fail on "Apple Paravirtual device" and I don't know
521
- # how to debug it.
522
- # ref: https://github.com/ggerganov/llama.cpp/actions/runs/7131777249/job/19420981052#step:5:1124
523
- macOS-latest-make :
524
- runs-on : macos-latest
525
-
526
- steps :
527
- - name : Clone
528
- id : checkout
529
- uses : actions/checkout@v4
530
-
531
- - name : Dependencies
532
- id : depends
533
- continue-on-error : true
534
- run : |
535
- brew update
536
-
537
- - name : Build
538
- id : make_build
539
- env :
540
- LLAMA_FATAL_WARNINGS : 1
541
- run : |
542
- GGML_NO_METAL=1 make -j $(sysctl -n hw.logicalcpu)
543
-
544
- - name : Test
545
- id : make_test
546
- run : |
547
- GGML_NO_METAL=1 make tests -j $(sysctl -n hw.logicalcpu)
548
- GGML_NO_METAL=1 make test -j $(sysctl -n hw.logicalcpu)
549
-
550
460
# TODO: build with GGML_METAL=OFF because test-backend-ops fail on "Apple Paravirtual device" and I don't know
551
461
# how to debug it.
552
462
# ref: https://github.com/ggerganov/llama.cpp/actions/runs/7132125951/job/19422043567?pr=4359#step:5:6584
@@ -642,33 +552,35 @@ jobs:
642
552
-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ggml
643
553
cmake --build . --config Release -j $(sysctl -n hw.logicalcpu) -- CODE_SIGNING_ALLOWED=NO
644
554
645
- macOS-latest-swift :
646
- runs-on : macos-latest
647
-
648
- strategy :
649
- matrix :
650
- destination : ['generic/platform=macOS', 'generic/platform=iOS', 'generic/platform=tvOS']
651
-
652
- steps :
653
- - name : Clone
654
- id : checkout
655
- uses : actions/checkout@v4
656
-
657
- - name : Dependencies
658
- id : depends
659
- continue-on-error : true
660
- run : |
661
- brew update
662
-
663
- - name : xcodebuild for swift package
664
- id : xcodebuild
665
- run : |
666
- xcodebuild -scheme llama -destination "${{ matrix.destination }}"
667
-
668
- - name : Build Swift Example
669
- id : make_build_swift_example
670
- run : |
671
- make swift
555
+ # TODO: tmp disabled. see for possible re-enable:
556
+ # https://github.com/ggerganov/llama.cpp/pull/10525
557
+ # macOS-latest-swift:
558
+ # runs-on: macos-latest
559
+ #
560
+ # strategy:
561
+ # matrix:
562
+ # destination: ['generic/platform=macOS', 'generic/platform=iOS', 'generic/platform=tvOS']
563
+ #
564
+ # steps:
565
+ # - name: Clone
566
+ # id: checkout
567
+ # uses: actions/checkout@v4
568
+ #
569
+ # - name: Dependencies
570
+ # id: depends
571
+ # continue-on-error: true
572
+ # run: |
573
+ # brew update
574
+ #
575
+ # - name: xcodebuild for swift package
576
+ # id: xcodebuild
577
+ # run: |
578
+ # xcodebuild -scheme llama -destination "${{ matrix.destination }}"
579
+ #
580
+ # - name: Build Swift Example
581
+ # id: make_build_swift_example
582
+ # run: |
583
+ # make swift
672
584
673
585
windows-msys2 :
674
586
runs-on : windows-latest
@@ -695,21 +607,6 @@ jobs:
695
607
mingw-w64-${{matrix.env}}-cmake
696
608
mingw-w64-${{matrix.env}}-openblas
697
609
698
- - name : Build using make
699
- shell : msys2 {0}
700
- run : |
701
- make -j $(nproc)
702
-
703
- - name : Clean after building using make
704
- shell : msys2 {0}
705
- run : |
706
- make clean
707
-
708
- - name : Build using make w/ OpenBLAS
709
- shell : msys2 {0}
710
- run : |
711
- make GGML_OPENBLAS=1 -j $(nproc)
712
-
713
610
- name : Build using CMake
714
611
shell : msys2 {0}
715
612
run : |
@@ -1257,9 +1154,7 @@ jobs:
1257
1154
runs-on : ubuntu-latest
1258
1155
1259
1156
needs :
1260
- - ubuntu-focal-make
1261
1157
- ubuntu-latest-cmake
1262
- - macOS-latest-make
1263
1158
- macOS-latest-cmake
1264
1159
- windows-latest-cmake
1265
1160
- windows-2019-cmake-cuda
0 commit comments