mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Get universal binary working for clang on Linux
A few changes were necessary, mainly because clang LTO works a bit differently than GCC Doesn't yet work on Windows small Makefile cleanups closes https://github.com/official-stockfish/Stockfish/pull/6764 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
86853a60ce
commit
8f181af8fb
@@ -37,6 +37,13 @@ icl:x86-64-avx512icl
|
||||
adl:x86-64-avxvnni
|
||||
"
|
||||
|
||||
BINARY_SIZE=$(wc -c < "$STOCKFISH_EXE")
|
||||
MAX_SIZE=$((150 * 1024 * 1024))
|
||||
if [ "$BINARY_SIZE" -gt "$MAX_SIZE" ]; then
|
||||
printf 'check_universal.sh: binary size %d bytes exceeds 150 MB limit\n' "$BINARY_SIZE" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
FAIL=0
|
||||
i=0
|
||||
for pair in $PAIRS; do
|
||||
|
||||
Reference in New Issue
Block a user