We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ node build.js Warning: Emscripten version does not match. Expected 2.0.26. See emcc --version for your currently installed version. To install the expected verions, try: > emsdk install 2.0.26 > emsdk activate 2.0.26 Or add --skip-em-check to bypass this check. make: Entering directory '/home/runner/stockfish.js/src' Default net: nn-5af11540bbfe.nnue nn-5af11540bbfe.nnue available. Network validated Config: debug: 'no' sanitize: 'none' optimize: 'yes' arch: 'wasm' bits: '64' kernel: 'Linux' os: 'GNU/Linux' prefetch: 'no' popcnt: 'no' pext: 'no' sse: 'yes' mmx: 'no' sse2: 'yes' ssse3: 'yes' sse41: 'yes' avx2: 'no' avxvnni: 'no' avx512: 'no' vnni256: 'no' vnni512: 'no' neon: 'no' dotprod: 'no' arm_version: '0' target_windows: '' Flags: CXX: em++ CXXFLAGS: -D__EMSCRIPTEN_PTHREADS__ -DCHESSCOM -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -DUSE_PTHREADS -DNDEBUG -O3 -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DGIT_SHA=bb8d0c38 -DGIT_DATE=20230724 -flto=full LDFLAGS: -s USE_PTHREADS=1 -s PROXY_TO_PTHREAD=1 -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 FILESYSTEM=0 -s EXPORTED_RUNTIME_METHODS=[] --pre-js emscripten/pre.js --extern-pre-js emscripten/extern-pre.js --extern-post-js emscripten/extern-post.js -s ALLOW_MEMORY_GROWTH=0 -s INITIAL_MEMORY=536870912 -s FETCH=1 -s ASSERTIONS=0 --closure 1 -lpthread -D__EMSCRIPTEN_PTHREADS__ -DCHESSCOM -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -DUSE_PTHREADS -DNDEBUG -O3 -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DGIT_SHA=bb8d0c38 -DGIT_DATE=20230724 -flto=full Testing config sanity. If this fails, try 'make help' ... make ARCH=wasm COMP=em++ all make[1]: Entering directory '/home/runner/stockfish.js/src' em++ -D__EMSCRIPTEN_PTHREADS__ -DCHESSCOM -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -DUSE_PTHREADS -DNDEBUG -O3 -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DGIT_SHA=bb8d0c38 -DGIT_DATE=20230724 -flto=full -c -o misc.o misc.cpp em++ -o stockfish.js benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o material.o misc.o movegen.o movepick.o pawns.o position.o psqt.o search.o thread.o timeman.o tt.o uci.o ucioption.o tune.o evaluate_nnue.o half_ka_v2_hm.o wasm_simd.o -s USE_PTHREADS=1 -s PROXY_TO_PTHREAD=1 -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 FILESYSTEM=0 -s EXPORTED_RUNTIME_METHODS=[] --pre-js emscripten/pre.js --extern-pre-js emscripten/extern-pre.js --extern-post-js emscripten/extern-post.js -s ALLOW_MEMORY_GROWTH=0 -s INITIAL_MEMORY=536870912 -s FETCH=1 -s ASSERTIONS=0 --closure 1 -lpthread -D__EMSCRIPTEN_PTHREADS__ -DCHESSCOM -Wall -Wcast-qual -fno-exceptions -std=c++17 -DUSE_POPCNT -DUSE_WASM_SIMD -DUSE_WASM_SIMD_POST_MVP -msimd128 -DNNUE_EMBEDDING_OFF -DUSE_PTHREADS -DNDEBUG -O3 -fexperimental-new-pass-manager -DIS_64BIT -DNO_PREFETCH -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DGIT_SHA=bb8d0c38 -DGIT_DATE=20230724 -flto=full building:ERROR: Closure compiler run failed: building:ERROR: Unknown language `ECMASCRIPT_NEXT_IN' specified. em++: error: closure compiler failed (rc: 255): closure-compiler --compilation_level ADVANCED_OPTIMIZATIONS --language_in ECMASCRIPT_NEXT_IN --language_out NO_TRANSPILE --emit_use_strict=false --externs /usr/share/emscripten/src/closure-externs/closure-externs.js --externs /usr/share/emscripten/src/closure-externs/node-externs.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/zlib.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/repl.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/child_process.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/assert.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/readline.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/path.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/core.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/domain.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/tls.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/url.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/vm.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/dgram.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/process.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/string_decoder.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/stream.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/cluster.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/util.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/fs.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/http.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/tty.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/os.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/https.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/punycode.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/events.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/querystring.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/buffer.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/net.js --externs /usr/share/emscripten/third_party/closure-compiler/node-externs/dns.js --externs /usr/share/emscripten/src/closure-externs/dyncall-externs.js --js /tmp/emscripten_temp_ycaghkjg/stockfish.js.pp.js.jso.js.jso.js.jso.js.jso.js --js_output_file tmptzfdw9p5.cc.js the error message may be clearer with -g1 and EMCC_DEBUG=2 set make[1]: *** [Makefile:1002: stockfish.js] Error 1 make[1]: Leaving directory '/home/runner/stockfish.js/src' make: *** [Makefile:855: build] Error 2 make: Leaving directory '/home/runner/stockfish.js/src'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: