Open sgzwiz opened 2 years ago
$ ./build.js Default net: nn-13406b1dcbe0.nnue Already available.
Config: debug: 'no' sanitize: 'none' optimize: 'yes' arch: 'wasm' bits: '64' kernel: 'Darwin' os: '' prefetch: 'no' popcnt: 'no' pext: 'no' sse: 'yes' mmx: 'no' sse2: 'yes' ssse3: 'yes' sse41: 'yes' avx2: 'no' avx512: 'no' vnni256: 'no' vnni512: 'no' neon: 'no'
Flags: CXX: em++ CXXFLAGS: -DCHESSCOM -DEMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto LDFLAGS: --pre-js emscripten/pre.js --extern-pre-js emscripten/extern-pre.js --extern-post-js emscripten/extern-post.js -s MODULARIZE=1 -s EXPORT_NAME=Stockfish -s ENVIRONMENT=web,worker,node -s STRICT=1 -s ASYNCIFY=1 -s 'ASYNCIFY_IMPORTS=[emscripten_utils_getline_impl]' -s USE_PTHREADS=1 -s PROXY_TO_PTHREAD=1 -s ALLOW_MEMORY_GROWTH=0 -s INITIAL_MEMORY=1073741824 -s FILESYSTEM=0 -s EXPORTED_RUNTIME_METHODS=[] -s FETCH=1 --closure 1 -s ASSERTIONS=0 -mmacosx-version-min=10.14 -arch wasm -lpthread -DCHESSCOM -DEMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto
Testing config sanity. If this fails, try 'make help' ...
/Applications/Xcode.app/Contents/Developer/usr/bin/make ARCH=wasm COMP=em++ all em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o benchmark.o benchmark.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o bitbase.o bitbase.cpp em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o bitboard.o bitboard.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o endgame.o endgame.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o evaluate.o evaluate.cpp em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o main.o main.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o material.o material.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o misc.o misc.cpp em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) make[1]: [misc.o] Error 1 make[1]: Waiting for unfinished jobs.... make[1]: [benchmark.o] Error 1 make[1]: [bitbase.o] Error 1 make[1]: [endgame.o] Error 1 em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) make[1]: [evaluate.o] Error 1 make[1]: [material.o] Error 1 make[1]: [bitboard.o] Error 1 em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) make[1]: [main.o] Error 1 make: [build] Error 2
Any update?
$ ./build.js Default net: nn-13406b1dcbe0.nnue Already available.
Config: debug: 'no' sanitize: 'none' optimize: 'yes' arch: 'wasm' bits: '64' kernel: 'Darwin' os: '' prefetch: 'no' popcnt: 'no' pext: 'no' sse: 'yes' mmx: 'no' sse2: 'yes' ssse3: 'yes' sse41: 'yes' avx2: 'no' avx512: 'no' vnni256: 'no' vnni512: 'no' neon: 'no'
Flags: CXX: em++ CXXFLAGS: -DCHESSCOM -DEMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto LDFLAGS: --pre-js emscripten/pre.js --extern-pre-js emscripten/extern-pre.js --extern-post-js emscripten/extern-post.js -s MODULARIZE=1 -s EXPORT_NAME=Stockfish -s ENVIRONMENT=web,worker,node -s STRICT=1 -s ASYNCIFY=1 -s 'ASYNCIFY_IMPORTS=[emscripten_utils_getline_impl]' -s USE_PTHREADS=1 -s PROXY_TO_PTHREAD=1 -s ALLOW_MEMORY_GROWTH=0 -s INITIAL_MEMORY=1073741824 -s FILESYSTEM=0 -s EXPORTED_RUNTIME_METHODS=[] -s FETCH=1 --closure 1 -s ASSERTIONS=0 -mmacosx-version-min=10.14 -arch wasm -lpthread -DCHESSCOM -DEMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto
Testing config sanity. If this fails, try 'make help' ...
/Applications/Xcode.app/Contents/Developer/usr/bin/make ARCH=wasm COMP=em++ all em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o benchmark.o benchmark.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o bitbase.o bitbase.cpp em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o bitboard.o bitboard.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o endgame.o endgame.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o evaluate.o evaluate.cpp em++ -DCHESSCOM -D__EMSCRIPTEN_PTHREADS -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o main.o main.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o material.o material.cpp em++ -DCHESSCOM -DEMSCRIPTEN_PTHREADS__ -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -mmacosx-version-min=10.14 -arch wasm -DUSE_PTHREADS -DNDEBUG -O3 -mdynamic-no-pic -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -flto -c -o misc.o misc.cpp em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) make[1]: [misc.o] Error 1 make[1]: Waiting for unfinished jobs.... make[1]: [benchmark.o] Error 1 make[1]: [bitbase.o] Error 1 make[1]: [endgame.o] Error 1 em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) make[1]: [evaluate.o] Error 1 make[1]: [material.o] Error 1 make[1]: [bitboard.o] Error 1 em++: error: wasm: No such file or directory ("wasm" was expected to be an input file, based on the commandline arguments provided) make[1]: [main.o] Error 1 make: [build] Error 2