Emscripten SDK Artifacts
# Download the archive for your platform
wget https://fastled.github.io/emsdk-binaries/[platform]/emsdk-[platform]-latest.tar.xz
# Extract the archive
tar -xJf emsdk-[platform]-latest.tar.xz
# Setup environment
cd emsdk
source ./emsdk_env.sh
When archives exceed GitHub's size limits, they are split into multiple parts:
# Download all part files and the reconstruction script
wget https://fastled.github.io/emsdk-binaries/[platform]/emsdk-[platform]*.tar.xz.part*
wget https://fastled.github.io/emsdk-binaries/[platform]/emsdk-[platform]*-reconstruct.sh
wget https://fastled.github.io/emsdk-binaries/[platform]/emsdk-[platform]*-manifest.txt
# Make reconstruction script executable and run it
chmod +x emsdk-[platform]*-reconstruct.sh
./emsdk-[platform]*-reconstruct.sh
# Extract the reconstructed archive
tar -xJf emsdk-[platform]*.tar.xz
# Setup environment
cd emsdk
source ./emsdk_env.sh
# Combine all parts manually
cat emsdk-[platform]*.tar.xz.part* > emsdk-[platform]-latest.tar.xz
# Extract and setup
tar -xJf emsdk-[platform]-latest.tar.xz
cd emsdk
source ./emsdk_env.sh