fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/bitboard.cpp -o engine/bitboard.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/eval.cpp -o engine/eval.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/history.cpp -o engine/history.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/main.cpp -o engine/main.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/movegen.cpp -o engine/movegen.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/movepicker.cpp -o engine/movepicker.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/params.cpp -o engine/params.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/search.cpp -o engine/search.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/tb.cpp -o engine/tb.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/threads.cpp -o engine/threads.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/ttable.cpp -o engine/ttable.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/nnue/accumulator.cpp -o engine/nnue/accumulator.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/nnue/network.cpp -o engine/nnue/network.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c engine/nnue/simd.cpp -o engine/nnue/simd.o
g++ -std=c++20 -DNNUE_PATH=\"/Users/user/Desktop/projects/OpenBench/Client/Networks/0D1FDE09\" -m64 -DVERSION=\"v--dev\" -O3 -flto=auto -march=native -MMD -MP -c Pyrrhic/tbprobe.cpp -o Pyrrhic/tbprobe.o
In file included from engine/history.cpp:1:
In file included from engine/history.hpp:3:
engine/includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from Pyrrhic/tbprobe.cpp:39:
In file included from Pyrrhic/tbprobe.h:32:
In file included from Pyrrhic/tbconfig.h:41:
In file included from Pyrrhic/../engine/bitboard.hpp:3:
Pyrrhic/../engine/includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from engine/movepicker.cpp:1:
In file included from engine/movepicker.hpp:3:
engine/includes.hpp:27In file included from engine/threads.cpp:1:
In file included from engine/threads.hpp:3:
engine/includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from engine/nnue/network.cpp:1:
In file included from engine/nnue/network.hpp:3:
engine/nnue/../includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from engine/search.cpp:1:
In file included from engine/search.hpp:3:
engine/includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from engine/bitboard.cpp:1:
In file included from engine/bitboard.hpp:3:
engine/includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from engine/movegen.cpp:1:
In file included from engine/movegen.hpp:3:
In file included from engine/bitboard.hpp:3:
engine/includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from engine/main.cpp:1:
engine/includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, inIn file included from engine/eval.cpp:1:
In file included from engine/eval.hpp:3:
tIn file included from ) {engine/bitboard.hpp :_3_:
bengine/includes.hppu:i27ltin_prefetch(p, 0, 3); }:
| ^
13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from engine/tb.cpp:1:
In file included from engine/tb.hpp:3:
engine/includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from engine/ttable.cpp:1:
In file included from engine/ttable.hpp:3:
engine/includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
1 error generated.
In file included from engine/nnue/network.cpp:2:
In file included from engine/nnue/simd.hpp:4:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/immintrin.h:41:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/smmintrin.h:2324:
/Library/Developer/CommandLineTools/usr/lib/clang/17/include/popcntintrin.h:50:1: error: static declaration of '_mm_popcnt_u64' follows non-static declaration
50 | _mm_popcnt_u64(unsigned long long __A)
| ^
engine/nnue/../includes.hpp:21:18: note: previous definition is here
21 | inline long long _mm_popcnt_u64(unsigned long long x) { return (long long)__builtin_popcountll(x); }
| ^
make: *** [engine/history.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from engine/nnue/network.cpp:2:
In file included from engine/nnue/simd.hpp:4:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/immintrin.h:70:
/Library/Developer/CommandLineTools/usr/lib/clang/17/include/bmiintrin.h:121:1: error: static declaration of '__tzcnt_u64' follows non-static declaration
121 | __tzcnt_u64(unsigned long long __X)
| ^
engine/nnue/../includes.hpp:17:18: note: previous definition is here
17 | inline uint64_t __tzcnt_u64(uint64_t x) { return (uint64_t)__builtin_ctzll(x); }
| ^
In file included from engine/nnue/network.cpp:2:
In file included from engine/nnue/simd.hpp:4:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/immintrin.h:70:
/Library/Developer/CommandLineTools/usr/lib/clang/17/include/bmiintrin.h:513:1: error: static declaration of '__blsi_u64' follows non-static declaration
513 | __blsi_u64(unsigned long long __X)
| ^
engine/nnue/../includes.hpp:20:18: note: previous definition is here
20 | inline uint64_t __blsi_u64 (uint64_t x) { return x & -x; }
| ^
In file included from engine/nnue/network.cpp:2:
In file included from engine/nnue/simd.hpp:4:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/immintrin.h:73:
/Library/Developer/CommandLineTools/usr/lib/clang/17/include/bmi2intrin.h:217:1: error: static declaration of '_pext_u64' follows non-static declaration
217 | _pext_u64(unsigned long long __X, unsigned long long __Y)
| ^
engine/nnue/../includes.hpp:22:18: note: previous definition is here
22 | inline uint64_t _pext_u64(uint64_t v, uint64_t m) {
| ^
In file included from engine/nnue/network.cpp:2:
In file included from engine/nnue/simd.hpp:4:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/17/include/immintrin.h:77:
/Library/Developer/CommandLineTools/usr/lib/clang/17/include/lzcntintrin.h:96:1: error: static declaration of '_lzcnt_u64' follows non-static declaration
96 | _lzcnt_u64(unsigned long long __X)
| ^
engine/nnue/../includes.hpp:15:18: note: previous definition is here
15 | inline uint64_t _lzcnt_u64 (uint64_t x) { return x ? (uint64_t)__builtin_clzll(x) : 64ULL; }
| ^
In file included from engine/nnue/accumulator.cpp:1:
In file included from engine/nnue/accumulator.hpp:3:
engine/nnue/../includes.hpp:27:13: error: definition of builtin function '_mm_prefetch'
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^
In file included from engine/search.cpp:4:
engine/wdl.hpp:19:11: warning: enumeration values 'KING' and 'NO_PIECETYPE' not handled in switch [-Wswitch]
19 | switch (pt) {
| ^~
engine/wdl.hpp:19:11: note: add missing switch cases
19 | switch (pt) {
| ^
In file included from engine/nnue/network.cpp:4:
engine/nnue/incbin.h:166:6: warning: "incbin is incompatible with bitcode. Using the library will break upload to App Store if you have bitcode enabled. Add `#define INCBIN_SILENCE_BITCODE_WARNING` before including this header to silence this warning." [-W#warnings]
166 | # warning "incbin is incompatible with bitcode. Using the library will break upload to App Store if you have bitcode enabled. Add `#define INCBIN_SILENCE_BITCODE_WARNING` before including this header to silence this warning."
| ^
engine/search.cpp:322:3: error: no matching function for call to '_mm_prefetch'
322 | _mm_prefetch(&ttable.TT[pos_after.zobrist & (ttable.TT_SIZE - 1)], _MM_HINT_T0);
| ^~~~~~~~~~~~
engine/includes.hpp:27:13: note: candidate function not viable: no known conversion from 'TTBucket *' to 'const char *' for 1st argument
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^ ~~~~~~~~~~~~~
1 error generated.
engine/search.cpp:624:4: error: no matching function for call to '_mm_prefetch'
624 | _mm_prefetch(&ttable.TT[pos_after.zobrist & (ttable.TT_SIZE - 1)], _MM_HINT_T0);
| ^~~~~~~~~~~~
engine/includes.hpp:27:13: note: candidate function not viable: no known conversion from 'TTBucket *' to 'const char *' for 1st argument
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^ ~~~~~~~~~~~~~
make: *** [Pyrrhic/tbprobe.o] Error 1
engine/search.cpp:816:3: error: no matching function for call to '_mm_prefetch'
816 | _mm_prefetch(&ttable.TT[pos_after.zobrist & (ttable.TT_SIZE - 1)], _MM_HINT_T0);
| ^~~~~~~~~~~~
engine/includes.hpp:27:13: note: candidate function not viable: no known conversion from 'TTBucket *' to 'const char *' for 1st argument
27 | inline void _mm_prefetch(const char* p, int) { __builtin_prefetch(p, 0, 3); }
| ^ ~~~~~~~~~~~~~
1 error generated.
1 error generated.
make: *** [engine/movepicker.o] Error 1
1 error generated.
1 error generated.
make: *** [engine/threads.o] Error 1
make: *** [engine/movegen.o] Error 1
make: *** [engine/eval.o] Error 1
1 error generated.
make: *** [engine/ttable.o] Error 1
1 warning and 6 errors generated.
1 warning and 4 errors generated.
make: *** [engine/nnue/network.o] Error 1
1 error generated.
1 error generated.
make: *** [engine/search.o] Error 1
make: *** [engine/nnue/accumulator.o] Error 1
make: *** [engine/bitboard.o] Error 1
1 error generated.
make: *** [engine/tb.o] Error 1
1 error generated.
make: *** [engine/main.o] Error 1