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