mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-09-11 05:35:33 +03:00
Downgraded resource class to 'medium' for circle ci
- Also restricted parallel make compilation to 3
This commit is contained in:
parent
bf28edad82
commit
f5dffeb5ca
@ -3,7 +3,7 @@ jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: 'emscripten/emsdk:2.0.9'
|
||||
resource_class: xlarge
|
||||
resource_class: medium
|
||||
|
||||
working_directory: ~/checkout
|
||||
|
||||
|
@ -63,7 +63,7 @@ cd build-wasm
|
||||
|
||||
# 2. Compile the artefacts
|
||||
emcmake cmake -DCOMPILE_WASM=on -DPACKAGE_DIR="../models/" ../
|
||||
emmake make -j
|
||||
emmake make -j3
|
||||
|
||||
# 3. Enable SIMD Wormhole via Wasm instantiation API in generated artifacts
|
||||
sed -i.bak 's/var result = WebAssembly.instantiateStreaming(response, info);/var result = WebAssembly.instantiateStreaming(response, info,{simdWormhole:true});/g' wasm/bergamot-translator-worker.js
|
||||
|
Loading…
Reference in New Issue
Block a user