[*] Performing initial build for profiling...
cmake -B Build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=clang++ \
-DBUILD_PGO=ON
-- The CXX compiler identification is Clang 22.1.8
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any of the parent directories): .git
CMake Warning at CMakeLists.txt:33 (message):
Could not get hash. Is this a Git repository?
-- Building StockDory unknown (Koi)
-- PGO: No profile data found, adding profiling steps to the build...
-- Setting CPM.cmake location to /tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/cmake/CPM_0.40.8.cmake
-- CPM.cmake was not found at /tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/cmake/CPM_0.40.8.cmake
-- Attempt: 1/3: Downloading CPM.cmake...
-- CPM.cmake was found at /tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/cmake/CPM_0.40.8.cmake
-- CPM: Adding package MantaRay@0 (079959294e5c2b0c62e50f9222812d6f21014932)
-- Setting CPM.cmake location to /tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/_deps/mantaray-build/cmake/CPM_0.40.8.cmake
-- CPM.cmake was not found at /tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/_deps/mantaray-build/cmake/CPM_0.40.8.cmake
-- Attempt: 1/3: Downloading CPM.cmake...
-- CPM.cmake was found at /tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/_deps/mantaray-build/cmake/CPM_0.40.8.cmake
-- CPM: Adding package nanothread@ (master)
-- The C compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- nanothread: targeting the native CPU architecture (specify NANOTHREAD_NATIVE_FLAGS to change this).
-- Embedding NNUE Model: /tmp/tmp01vpg548/StockDory/StockDory-tmp/src/Engine/Model/Aurora-15eaefb65a.nnue
-- Flags: -flto=full -mno-avx512vnni -march=native -fprofile-instr-generate=/tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/pgo.profraw | -O3 -DNDEBUG
-- Configuring done (5.0s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/tmp01vpg548/StockDory/StockDory-tmp/Build
cmake --build Build --config Release
[1/5] Building CXX object _deps/nanothread-build/CMakeFiles/nanothread.dir/src/queue.cpp.o
[2/5] Building CXX object _deps/nanothread-build/CMakeFiles/nanothread.dir/src/nanothread.cpp.o
[3/5] Linking CXX static library _deps/nanothread-build/libnanothread.a
[4/5] Building CXX object CMakeFiles/StockDory.dir/src/main.cpp.o
In file included from /tmp/tmp01vpg548/StockDory/StockDory-tmp/src/main.cpp:10:
In file included from /tmp/tmp01vpg548/StockDory/StockDory-tmp/src/Terminal/BenchHash.h:13:
In file included from /tmp/tmp01vpg548/StockDory/StockDory-tmp/src/Terminal/../Engine/Search.h:13:
In file included from /tmp/tmp01vpg548/StockDory/StockDory-tmp/src/Terminal/../Engine/../Backend/Board.h:32:
In file included from /tmp/tmp01vpg548/StockDory/StockDory-tmp/src/Terminal/../Engine/../Backend/../Engine/Evaluation.h:15:
In file included from /tmp/tmp01vpg548/StockDory/StockDory-tmp/src/Terminal/../Engine/../Backend/../Engine/NetworkArchitecture.h:9:
In file included from /tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/_deps/mantaray-src/include/MantaRay/Backend/Kernel/Activation/ClippedReLU.h:9:
/tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/_deps/mantaray-src/include/MantaRay/Backend/Kernel/Activation/../../Processor.h:14:9: warning: 'UNROLL' macro redefined [-Wmacro-redefined]
14 | #define UNROLL PRAGMA_CALL(unroll )
| ^
/tmp/tmp01vpg548/StockDory/StockDory-tmp/Build/_deps/mantaray-src/include/MantaRay/Backend/Kernel/Activation/../../Processor.h:13:9: note: previous definition is here
13 | #define UNROLL(x) PRAGMA_CALL(unroll x)
| ^
1 warning generated.
[5/5] Linking CXX executable StockDory
[*] Running benchmark to generate profiling data...
Build/StockDory bench
StockDory unknown (Koi)
Copyright (c) 2023-2026 Shaheryar Sohail and Lee Durbin - Licensed under the AGPL-3.0
Position (01/50): r3k2r/2pb1ppp/2pp1q2/p7/1nP1B3/1P2P3/P2N1PPP/R2QK2R w KQkq a6 0 14 -> 34 cp 84380 nodes
Position (02/50): 4rrk1/2p1b1p1/p1p3q1/4p3/2P2n1p/1P1NR2P/PB3PP1/3R1QK1 b - - 2 24 -> -46 cp 64061 nodes
Position (03/50): r3qbrk/6p1/2b2pPp/p3pP1Q/PpPpP2P/3P1B2/2PB3K/R5R1 w - - 16 42 -> 143 cp 73728 nodes
Position (04/50): 6k1/1R3p2/6p1/2Bp3p/3P2q1/P7/1P2rQ1K/5R2 b - - 4 44 -> 0 cp 6265 nodes
Position (05/50): 8/8/1p2k1p1/3p3p/1p1P1P1P/1P2PK2/8/8 w - - 3 54 -> 43 cp 24538 nodes
Position (06/50): 7r/2p3k1/1p1p1qp1/1P1Bp3/p1P2r1P/P7/4R3/Q4RK1 w - - 0 36 -> 59 cp 60802 nodes
Position (07/50): r1bq1rk1/pp2b1pp/n1pp1n2/3P1p2/2P1p3/2N1P2N/PP2BPPP/R1BQ1RK1 b - - 2 10 -> -35 cp 144828 nodes
Position (08/50): 3r3k/2r4p/1p1b3q/p4P2/P2Pp3/1B2P3/3BQ1RP/6K1 w - - 3 87 -> -49 cp 127892 nodes
Position (09/50): 2r4r/1p4k1/1Pnp4/3Qb1pq/8/4BpPp/5P2/2RR1BK1 w - - 0 42 -> 25 cp 183757 nodes
Position (10/50): 4q1bk/6b1/7p/p1p4p/PNPpP2P/KN4P1/3Q4/4R3 b - - 0 37 -> 149 cp 58372 nodes
Position (11/50): 2q3r1/1r2pk2/pp3pp1/2pP3p/P1Pb1BbP/1P4Q1/R3NPP1/4R1K1 w - - 2 34 -> 129 cp 83277 nodes
Position (12/50): 1r2r2k/1b4q1/pp5p/2pPp1p1/P3Pn2/1P1B1Q1P/2R3P1/4BR1K b - - 1 37 -> -151 cp 146429 nodes
Position (13/50): r3kbbr/pp1n1p1P/3ppnp1/q5N1/1P1pP3/P1N1B3/2P1QP2/R3KB1R b KQkq b3 0 17 -> -236 cp 59206 nodes
Position (14/50): 8/6pk/2b1Rp2/3r4/1R1B2PP/P5K1/8/2r5 b - - 16 42 -> 3 cp 128117 nodes
Position (15/50): 1r4k1/4ppb1/2n1b1qp/pB4p1/1n1BP1P1/7P/2PNQPK1/3RN3 w - - 8 29 -> -74 cp 54619 nodes
Position (16/50): 8/p2B4/PkP5/4p1pK/4Pb1p/5P2/8/8 w - - 29 68 -> -59 cp 37739 nodes
Position (17/50): 3r4/ppq1ppkp/4bnp1/2pN4/2P1P3/1P4P1/PQ3PBP/R4K2 b - - 2 20 -> -17 cp 120180 nodes
Position (18/50): 5rr1/4n2k/4q2P/P1P2n2/3B1p2/4pP2/2N1P3/1RR1K2Q w - - 1 49 -> -3 cp 311284 nodes
Position (19/50): 1r5k/2pq2p1/3p3p/p1pP4/4QP2/PP1R3P/6PK/8 w - - 1 51 -> 41 cp 61832 nodes
Position (20/50): q5k1/5ppp/1r3bn1/1B6/P1N2P2/BQ2P1P1/5K1P/8 b - - 2 34 -> -24 cp 141391 nodes
Position (21/50): r1b2k1r/5n2/p4q2/1ppn1Pp1/3pp1p1/NP2P3/P1PPBK2/1RQN2R1 w - - 0 22 -> -487 cp 219310 nodes
Position (22/50): r1bqk2r/pppp1ppp/5n2/4b3/4P3/P1N5/1PP2PPP/R1BQKB1R w KQkq - 0 5 -> 21 cp 124262 nodes
Position (23/50): r1bqr1k1/pp1p1ppp/2p5/8/3N1Q2/P2BB3/1PP2PPP/R3K2n b Q - 1 12 -> -138 cp 97165 nodes
Position (24/50): r1bq2k1/p4r1p/1pp2pp1/3p4/1P1B3Q/P2B1N2/2P3PP/4R1K1 b - - 2 19 -> -188 cp 355380 nodes
Position (25/50): r4qk1/6r1/1p4p1/2ppBbN1/1p5Q/P7/2P3PP/5RK1 w - - 2 25 -> 96 cp 79613 nodes
Position (26/50): r7/6k1/1p6/2pp1p2/7Q/8/p1P2K1P/8 w - - 0 32 -> 0 cp 79970 nodes
Position (27/50): r3k2r/ppp1pp1p/2nqb1pn/3p4/4P3/2PP4/PP1NBPPP/R2QK1NR w KQkq - 1 5 -> 93 cp 72588 nodes
Position (28/50): 3r1rk1/1pp1pn1p/p1n1q1p1/3p4/Q3P3/2P5/PP1NBPPP/4RRK1 w - - 0 12 -> 160 cp 229980 nodes
Position (29/50): 5rk1/1pp1pn1p/p3Brp1/8/1n6/5N2/PP3PPP/2R2RK1 w - - 2 20 -> 145 cp 40077 nodes
Position (30/50): 8/1p2pk1p/p1p1r1p1/3n4/8/5R2/PP3PPP/4R1K1 b - - 3 27 -> -200 cp 175995 nodes
Position (31/50): 8/4pk2/1p1r2p1/p1p4p/Pn5P/3R4/1P3PP1/4RK2 w - - 1 33 -> 152 cp 73052 nodes
Position (32/50): 8/5k2/1pnrp1p1/p1p4p/P6P/4R1PK/1P3P2/4R3 b - - 1 38 -> -118 cp 142874 nodes
Position (33/50): 8/8/1p1kp1p1/p1pr1n1p/P6P/1R4P1/1P3PK1/1R6 b - - 15 45 -> -73 cp 52195 nodes
Position (34/50): 8/8/1p1k2p1/p1prp2p/P2n3P/6P1/1P1R1PK1/4R3 b - - 5 49 -> -92 cp 65630 nodes
Position (35/50): 8/8/1p4p1/p1p2k1p/P2npP1P/4K1P1/1P6/3R4 w - - 6 54 -> 133 cp 23473 nodes
Position (36/50): 8/8/1p4p1/p1p2k1p/P2n1P1P/4K1P1/1P6/6R1 b - - 6 59 -> -213 cp 48275 nodes
Position (37/50): 8/5k2/1p4p1/p1pK3p/P2n1P1P/6P1/1P6/4R3 b - - 14 63 -> -335 cp 75181 nodes
Position (38/50): 8/1R6/1p1K1kp1/p6p/P1p2P1P/6P1/1Pn5/8 w - - 0 67 -> 443 cp 30873 nodes
Position (39/50): 1rb1rn1k/p3q1bp/2p3p1/2p1p3/2P1P2N/PP1RQNP1/1B3P2/4R1K1 b - - 4 23 -> -79 cp 232894 nodes
Position (40/50): 4rrk1/pp1n1pp1/q5p1/P1pP4/2n3P1/7P/1P3PB1/R1BQ1RK1 w - - 3 22 -> 87 cp 67049 nodes
Position (41/50): r2qr1k1/pb1nbppp/1pn1p3/2ppP3/3P4/2PB1NN1/PP3PPP/R1BQR1K1 w - - 4 12 -> 141 cp 341489 nodes
Position (42/50): 2r2k2/8/4P1R1/1p6/8/P4K1N/7b/2B5 b - - 0 55 -> -34 cp 195806 nodes
Position (43/50): 6k1/5pp1/8/2bKP2P/2P5/p4PNb/B7/8 b - - 1 44 -> 8 cp 109964 nodes
Position (44/50): 2rqr1k1/1p3p1p/p2p2p1/P1nPb3/2B1P3/5P2/1PQ2NPP/R1R4K w - - 3 25 -> 8 cp 147058 nodes
Position (45/50): r1b2rk1/p1q1ppbp/6p1/2Q5/8/4BP2/PPP3PP/2KR1B1R b - - 2 14 -> -34 cp 109190 nodes
Position (46/50): 6r1/5k2/p1b1r2p/1pB1p1p1/1Pp3PP/2P1R1K1/2P2P2/3R4 w - - 1 36 -> 61 cp 93438 nodes
Position (47/50): rnbqkb1r/pppppppp/5n2/8/2PP4/8/PP2PPPP/RNBQKBNR b KQkq c3 0 2 -> -21 cp 240077 nodes
Position (48/50): 2rr2k1/1p4bp/p1q1p1p1/4Pp1n/2PB4/1PN3P1/P3Q2P/2RR2K1 w - f6 0 20 -> 35 cp 234394 nodes
Position (49/50): 3br1k1/p1pn3p/1p3n2/5pNq/2P1p3/1PN3PP/P2Q1PB1/4R1K1 w - - 0 23 -> 56 cp 80846 nodes
Position (50/50): 2r2b2/5p2/5k2/p1r1pP2/P2pB3/1P3P2/K1P3R1/7R w - - 23 93 -> 180 cp 84135 nodes
5894930 nodes 1213198 nps
[*] Merging profiling data...
llvm-profdata merge -output=Build/pgo.profdata Build/pgo.profraw
make: llvm-profdata: No such file or directory
make: *** [Makefile:55: openbench] Error 127