blob: b35ce837c64765c26374330c5815fea8ebd60fa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#/opt/qt6-wasm/emsdk/emsdk activate EMSDKVER
# load emsdk environment
# EM_CACHE issue: https://github.com/emscripten-core/emsdk/issues/535
EM_CACHE_PATH=~/.cache/qt6-wasm
export EM_CACHE=$EM_CACHE_PATH
source /opt/qt6-wasm/emsdk/emsdk_env.sh
export EM_CACHE=$EM_CACHE_PATH
echo "EM_CACHE (override) = $EM_CACHE"
# Export Qt6 WebAssembly bin Path
echo $PATH | grep -w "/opt/qt6-wasm/bin" > /dev/null
if [ $? -ne 0 ]; then
export PATH=/opt/qt6-wasm/bin:$PATH
fi
|