-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
I can't get emsdk activate
to write to ~/.emscripten
, it keeps writing to the sdk directory. What can I do?
vadi@gooseberry:~/Programs/emsdk$ ./emsdk activate latest
Writing .emscripten configuration file to user home directory /home/vadi/Programs/emsdk
The Emscripten configuration file /home/vadi/Programs/emsdk/.emscripten has been rewritten with the following contents:
import os
emsdk_path=os.path.dirname(os.environ.get('EM_CONFIG')).replace('\\', '/')
LLVM_ROOT = '' + emsdk_path + '/fastcomp/fastcomp/bin'
BINARYEN_ROOT = '' + emsdk_path + '/fastcomp'
EMSCRIPTEN_ROOT = '' + emsdk_path + '/fastcomp/emscripten'
EMSCRIPTEN_NATIVE_OPTIMIZER = '' + emsdk_path + '/fastcomp/bin/optimizer'
NODE_JS = '' + emsdk_path + '/node/12.9.1_64bit/bin/node'
TEMP_DIR = '' + emsdk_path + '/tmp'
COMPILER_ENGINE = NODE_JS
JS_ENGINES = [NODE_JS]
To conveniently access the selected set of tools from the command line, consider adding the following directories to PATH, or call 'source ./emsdk_env.sh' to do this for you.
/home/vadi/Programs/emsdk:/home/vadi/Programs/emsdk/fastcomp/emscripten:/home/vadi/Programs/emsdk/node/12.9.1_64bit/bin
Set the following tools as active:
releases-fastcomp-d57bfdd6d43181501bbd3fab502d57c9073ceb49-64bit
node-12.9.1-64bit
vadi@gooseberry:~/Programs/emsdk$ ./emsdk activate --embedded latest
Writing .emscripten configuration file to Emscripten SDK directory /home/vadi/Programs/emsdk
Backing up old Emscripten configuration file in /home/vadi/Programs/emsdk/.emscripten.old
The Emscripten configuration file /home/vadi/Programs/emsdk/.emscripten has been rewritten with the following contents:
import os
emsdk_path=os.path.dirname(os.environ.get('EM_CONFIG')).replace('\\', '/')
LLVM_ROOT = '' + emsdk_path + '/fastcomp/fastcomp/bin'
BINARYEN_ROOT = '' + emsdk_path + '/fastcomp'
EMSCRIPTEN_ROOT = '' + emsdk_path + '/fastcomp/emscripten'
EMSCRIPTEN_NATIVE_OPTIMIZER = '' + emsdk_path + '/fastcomp/bin/optimizer'
NODE_JS = '' + emsdk_path + '/node/12.9.1_64bit/bin/node'
TEMP_DIR = '' + emsdk_path + '/tmp'
COMPILER_ENGINE = NODE_JS
JS_ENGINES = [NODE_JS]
To conveniently access the selected set of tools from the command line, consider adding the following directories to PATH, or call 'source ./emsdk_env.sh' to do this for you.
/home/vadi/Programs/emsdk:/home/vadi/Programs/emsdk/fastcomp/emscripten:/home/vadi/Programs/emsdk/node/12.9.1_64bit/bin
Set the following tools as active:
releases-fastcomp-d57bfdd6d43181501bbd3fab502d57c9073ceb49-64bit
node-12.9.1-64bit
vadi@gooseberry:~/Programs/emsdk$
Using the latest e047fe4 commit.
Metadata
Metadata
Assignees
Labels
No labels