Skip to content

Commit 8416cca

Browse files
beriktassulyvondele
authored andcommitted
fix Makefile universal build selection
and remove armv8 left-over closes #6876 No functional change
1 parent 0c1001c commit 8416cca

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎.github/workflows/universal_compilation.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
sudo apt-get install -y qemu-user
137137
138138
- name: Build universal binary
139-
run: make -j4 -C src ARCH=armv8-universal profile-build
139+
run: make -j4 -C src ARCH=arm64-universal profile-build
140140

141141
- name: Strip binary
142142
run: strip src/stockfish
@@ -185,7 +185,7 @@ jobs:
185185
install: mingw-w64-clang-aarch64-clang make git zip
186186

187187
- name: Build universal binary
188-
run: make -j4 -C src ARCH=armv8-universal profile-build COMP=clang COMPCXX=clang++
188+
run: make -j4 -C src ARCH=arm64-universal profile-build COMP=clang COMPCXX=clang++
189189

190190
- name: Strip binary
191191
run: strip src/stockfish.exe

‎AUTHORS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ Mira
181181
Miroslav Fontán (Hexik)
182182
Moez Jellouli (MJZ1977)
183183
Mohammed Li (tthsqe12)
184+
Mukhammedali Beriktassuly (Berektassuly)
184185
Muzhen J (XInTheDark)
185186
Nathan Rugg (nmrugg)
186187
Nguyen Pham (nguyenpham)

‎src/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ else
155155
SUPPORTED_ARCH=false
156156
endif
157157

158-
ifneq (,$(findstring universal,$(ARCH)))
158+
ifneq (,$(filter $(ARCH),x86-64-universal arm64-universal))
159159
UNIVERSAL_BUILD=true
160160
else
161161
UNIVERSAL_BUILD=false

0 commit comments

Comments
 (0)