安装wasm 1.39.15

安装emsdk 1_39_15

  1. 运行脚本激活fastcomp

{path}/emsdk_1_39_15/emsdk activate latest-fastcomp
source {path}/emsdk_1_39_15/emsdk_env.sh

2. 在~/.bashrc中加入

export EMSDK={path}/emsdk_1_39_15
export EM_CONFIG={path}/emsdk_1_39_15/.emscripten
export EM_CACHE={path}/emsdk_1_39_15/fastcomp/emscripten/cache

export PATH=$PATH:${EMSDK}/fastcomp/fastcomp/bin:${EMSDK}:${EMSDK}/fastcomp/emscripten:${EMSDK}/fastcomp/bin