@@ -48,98 +48,98 @@ jobs:
48
48
49
49
cmake --build build --config Release -j $(nproc)
50
50
51
- ubuntu-24-riscv64-vulkan-cross :
52
- runs-on : ubuntu-24.04
53
-
54
- steps :
55
- - uses : actions/checkout@v4
56
- - name : Setup Riscv
57
- run : |
58
- sudo dpkg --add-architecture riscv64
59
-
60
- # Add arch-specific repositories for non-amd64 architectures
61
- cat << EOF | sudo tee /etc/apt/sources.list.d/riscv64-ports.list
62
- deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble main universe
63
- deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main universe
64
- deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-security main universe
65
- deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-backports main universe
66
- EOF
67
-
68
- sudo apt-get update || true ;# Prevent failure due to missing URLs.
69
-
70
- sudo apt-get install -y --no-install-recommends \
71
- build-essential \
72
- glslc \
73
- gcc-14-riscv64-linux-gnu \
74
- g++-14-riscv64-linux-gnu \
75
- libvulkan-dev:riscv64
76
-
77
- - name : Build
78
- run : |
79
- cmake -B build -DLLAMA_CURL=OFF \
80
- -DCMAKE_BUILD_TYPE=Release \
81
- -DGGML_VULKAN=ON \
82
- -DGGML_OPENMP=OFF \
83
- -DLLAMA_BUILD_EXAMPLES=ON \
84
- -DLLAMA_BUILD_TOOLS=ON \
85
- -DLLAMA_BUILD_TESTS=OFF \
86
- -DCMAKE_SYSTEM_NAME=Linux \
87
- -DCMAKE_SYSTEM_PROCESSOR=riscv64 \
88
- -DCMAKE_C_COMPILER=riscv64-linux-gnu-gcc-14 \
89
- -DCMAKE_CXX_COMPILER=riscv64-linux-gnu-g++-14 \
90
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
91
- -DCMAKE_FIND_ROOT_PATH=/usr/lib/riscv64-linux-gnu \
92
- -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
93
- -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
94
- -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH
95
-
96
- cmake --build build --config Release -j $(nproc)
97
-
98
- ubuntu-24-arm64-vulkan-cross :
99
- runs-on : ubuntu-24.04
100
-
101
- steps :
102
- - uses : actions/checkout@v4
103
- - name : Setup Arm64
104
- run : |
105
- sudo dpkg --add-architecture arm64
106
-
107
- # Add arch-specific repositories for non-amd64 architectures
108
- cat << EOF | sudo tee /etc/apt/sources.list.d/arm64-ports.list
109
- deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble main universe
110
- deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main universe
111
- deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble-security main universe
112
- deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble-backports main universe
113
- EOF
114
-
115
- sudo apt-get update || true ;# Prevent failure due to missing URLs.
116
-
117
- sudo apt-get install -y --no-install-recommends \
118
- build-essential \
119
- glslc \
120
- crossbuild-essential-arm64 \
121
- libvulkan-dev:arm64
122
-
123
- - name : Build
124
- run : |
125
- cmake -B build -DLLAMA_CURL=OFF \
126
- -DCMAKE_BUILD_TYPE=Release \
127
- -DGGML_VULKAN=ON \
128
- -DGGML_OPENMP=OFF \
129
- -DLLAMA_BUILD_EXAMPLES=ON \
130
- -DLLAMA_BUILD_TOOLS=ON \
131
- -DLLAMA_BUILD_TESTS=OFF \
132
- -DCMAKE_SYSTEM_NAME=Linux \
133
- -DCMAKE_SYSTEM_PROCESSOR=aarch64 \
134
- -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc \
135
- -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ \
136
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
137
- -DCMAKE_FIND_ROOT_PATH=/usr/lib/aarch64-linux-gnu \
138
- -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
139
- -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
140
- -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH
141
-
142
- cmake --build build --config Release -j $(nproc)
51
+ # ubuntu-24-riscv64-vulkan-cross:
52
+ # runs-on: ubuntu-24.04
53
+
54
+ # steps:
55
+ # - uses: actions/checkout@v4
56
+ # - name: Setup Riscv
57
+ # run: |
58
+ # sudo dpkg --add-architecture riscv64
59
+
60
+ # # Add arch-specific repositories for non-amd64 architectures
61
+ # cat << EOF | sudo tee /etc/apt/sources.list.d/riscv64-ports.list
62
+ # deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble main universe
63
+ # deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main universe
64
+ # deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-security main universe
65
+ # deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-backports main universe
66
+ # EOF
67
+
68
+ # sudo apt-get update || true ;# Prevent failure due to missing URLs.
69
+
70
+ # sudo apt-get install -y --no-install-recommends \
71
+ # build-essential \
72
+ # glslc \
73
+ # gcc-14-riscv64-linux-gnu \
74
+ # g++-14-riscv64-linux-gnu \
75
+ # libvulkan-dev:riscv64
76
+
77
+ # - name: Build
78
+ # run: |
79
+ # cmake -B build -DLLAMA_CURL=OFF \
80
+ # -DCMAKE_BUILD_TYPE=Release \
81
+ # -DGGML_VULKAN=ON \
82
+ # -DGGML_OPENMP=OFF \
83
+ # -DLLAMA_BUILD_EXAMPLES=ON \
84
+ # -DLLAMA_BUILD_TOOLS=ON \
85
+ # -DLLAMA_BUILD_TESTS=OFF \
86
+ # -DCMAKE_SYSTEM_NAME=Linux \
87
+ # -DCMAKE_SYSTEM_PROCESSOR=riscv64 \
88
+ # -DCMAKE_C_COMPILER=riscv64-linux-gnu-gcc-14 \
89
+ # -DCMAKE_CXX_COMPILER=riscv64-linux-gnu-g++-14 \
90
+ # -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
91
+ # -DCMAKE_FIND_ROOT_PATH=/usr/lib/riscv64-linux-gnu \
92
+ # -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
93
+ # -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
94
+ # -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH
95
+
96
+ # cmake --build build --config Release -j $(nproc)
97
+
98
+ # ubuntu-24-arm64-vulkan-cross:
99
+ # runs-on: ubuntu-24.04
100
+
101
+ # steps:
102
+ # - uses: actions/checkout@v4
103
+ # - name: Setup Arm64
104
+ # run: |
105
+ # sudo dpkg --add-architecture arm64
106
+
107
+ # # Add arch-specific repositories for non-amd64 architectures
108
+ # cat << EOF | sudo tee /etc/apt/sources.list.d/arm64-ports.list
109
+ # deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble main universe
110
+ # deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main universe
111
+ # deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble-security main universe
112
+ # deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ noble-backports main universe
113
+ # EOF
114
+
115
+ # sudo apt-get update || true ;# Prevent failure due to missing URLs.
116
+
117
+ # sudo apt-get install -y --no-install-recommends \
118
+ # build-essential \
119
+ # glslc \
120
+ # crossbuild-essential-arm64 \
121
+ # libvulkan-dev:arm64
122
+
123
+ # - name: Build
124
+ # run: |
125
+ # cmake -B build -DLLAMA_CURL=OFF \
126
+ # -DCMAKE_BUILD_TYPE=Release \
127
+ # -DGGML_VULKAN=ON \
128
+ # -DGGML_OPENMP=OFF \
129
+ # -DLLAMA_BUILD_EXAMPLES=ON \
130
+ # -DLLAMA_BUILD_TOOLS=ON \
131
+ # -DLLAMA_BUILD_TESTS=OFF \
132
+ # -DCMAKE_SYSTEM_NAME=Linux \
133
+ # -DCMAKE_SYSTEM_PROCESSOR=aarch64 \
134
+ # -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc \
135
+ # -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ \
136
+ # -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
137
+ # -DCMAKE_FIND_ROOT_PATH=/usr/lib/aarch64-linux-gnu \
138
+ # -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
139
+ # -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
140
+ # -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH
141
+
142
+ # cmake --build build --config Release -j $(nproc)
143
143
144
144
ubuntu-24-ppc64el-cpu-cross :
145
145
runs-on : ubuntu-24.04
@@ -185,52 +185,52 @@ jobs:
185
185
186
186
cmake --build build --config Release -j $(nproc)
187
187
188
- ubuntu-24-ppc64el-vulkan-cross :
189
- runs-on : ubuntu-24.04
190
-
191
- steps :
192
- - uses : actions/checkout@v4
193
- - name : Setup PowerPC64le
194
- run : |
195
- sudo dpkg --add-architecture ppc64el
196
-
197
- # Add arch-specific repositories for non-amd64 architectures
198
- cat << EOF | sudo tee /etc/apt/sources.list.d/ppc64el-ports.list
199
- deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports/ noble main universe
200
- deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main universe
201
- deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports/ noble-security main universe
202
- deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports/ noble-backports main universe
203
- EOF
204
-
205
- sudo apt-get update || true ;# Prevent failure due to missing URLs.
206
-
207
- sudo apt-get install -y --no-install-recommends \
208
- build-essential \
209
- glslc \
210
- gcc-14-powerpc64le-linux-gnu \
211
- g++-14-powerpc64le-linux-gnu \
212
- libvulkan-dev:ppc64el
213
-
214
- - name : Build
215
- run : |
216
- cmake -B build -DLLAMA_CURL=OFF \
217
- -DCMAKE_BUILD_TYPE=Release \
218
- -DGGML_VULKAN=ON \
219
- -DGGML_OPENMP=OFF \
220
- -DLLAMA_BUILD_EXAMPLES=ON \
221
- -DLLAMA_BUILD_TOOLS=ON \
222
- -DLLAMA_BUILD_TESTS=OFF \
223
- -DCMAKE_SYSTEM_NAME=Linux \
224
- -DCMAKE_SYSTEM_PROCESSOR=ppc64 \
225
- -DCMAKE_C_COMPILER=powerpc64le-linux-gnu-gcc-14 \
226
- -DCMAKE_CXX_COMPILER=powerpc64le-linux-gnu-g++-14 \
227
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
228
- -DCMAKE_FIND_ROOT_PATH=/usr/lib/powerpc64le-linux-gnu \
229
- -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
230
- -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
231
- -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH
232
-
233
- cmake --build build --config Release -j $(nproc)
188
+ # ubuntu-24-ppc64el-vulkan-cross:
189
+ # runs-on: ubuntu-24.04
190
+
191
+ # steps:
192
+ # - uses: actions/checkout@v4
193
+ # - name: Setup PowerPC64le
194
+ # run: |
195
+ # sudo dpkg --add-architecture ppc64el
196
+
197
+ # # Add arch-specific repositories for non-amd64 architectures
198
+ # cat << EOF | sudo tee /etc/apt/sources.list.d/ppc64el-ports.list
199
+ # deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports/ noble main universe
200
+ # deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main universe
201
+ # deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports/ noble-security main universe
202
+ # deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports/ noble-backports main universe
203
+ # EOF
204
+
205
+ # sudo apt-get update || true ;# Prevent failure due to missing URLs.
206
+
207
+ # sudo apt-get install -y --no-install-recommends \
208
+ # build-essential \
209
+ # glslc \
210
+ # gcc-14-powerpc64le-linux-gnu \
211
+ # g++-14-powerpc64le-linux-gnu \
212
+ # libvulkan-dev:ppc64el
213
+
214
+ # - name: Build
215
+ # run: |
216
+ # cmake -B build -DLLAMA_CURL=OFF \
217
+ # -DCMAKE_BUILD_TYPE=Release \
218
+ # -DGGML_VULKAN=ON \
219
+ # -DGGML_OPENMP=OFF \
220
+ # -DLLAMA_BUILD_EXAMPLES=ON \
221
+ # -DLLAMA_BUILD_TOOLS=ON \
222
+ # -DLLAMA_BUILD_TESTS=OFF \
223
+ # -DCMAKE_SYSTEM_NAME=Linux \
224
+ # -DCMAKE_SYSTEM_PROCESSOR=ppc64 \
225
+ # -DCMAKE_C_COMPILER=powerpc64le-linux-gnu-gcc-14 \
226
+ # -DCMAKE_CXX_COMPILER=powerpc64le-linux-gnu-g++-14 \
227
+ # -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
228
+ # -DCMAKE_FIND_ROOT_PATH=/usr/lib/powerpc64le-linux-gnu \
229
+ # -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
230
+ # -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
231
+ # -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH
232
+
233
+ # cmake --build build --config Release -j $(nproc)
234
234
235
235
debian-13-loongarch64-cpu-cross :
236
236
runs-on : ubuntu-24.04
0 commit comments