Skip to content
Snippets Groups Projects

debian: Install emscripten

Closed Ben Gamari requested to merge wip/emscripten into master
Files
2
+ 23
0
-- Install emscripten via the emsdk script. Sets EMSDK_ENV_SH to the path of
-- the emsdk_env.sh script which can be sourced to use emscripten.
let
Prelude = ../deps/Prelude.dhall
let
CF = ../deps/Containerfile.dhall
let
install: CF.Type =
CF.run "install emscripten"
[ "git clone https://github.com/emscripten-core/emsdk.git"
, "cd emsdk"
, "git checkout 3.1.21"
, "./emsdk install latest"
, "./emsdk activate latest"
, "source ./emsdk_env.sh"
]
# CF.env (toMap { EMSDK_ENV_SH = "/home/ghc/emsdk/emsdk_env.sh" })
in
{ install = install }
Loading