emscripten-core / emscripten-core/emscripten

syntax error in emscripten.py

Open
#13,200 9 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

No matter what I try to do, I get the same syntax error from emscripten.py when I when I run emcc, e.g.,

emcc --clear-cache
Traceback (most recent call last):
File "/home/alans/emsdk/upstream/emscripten/emcc.py", line 40, in
import emscripten
File "/home/alans/emsdk/upstream/emscripten/emscripten.py", line 463
args.append(f'--separate-data-segments={memfile}')

I'm not really a python person, so any suggestions would be appreciated...;^)

Ubuntu 16.04

./emsdk list

The *recommended* precompiled SDK download is 2.0.11 (4764c5c323a474f7ba28ae991b0c9024fccca43c).

To install/activate it, use one of:
latest [default (llvm) backend]
latest-fastcomp [legacy (fastcomp) backend]

Those are equivalent to installing/activating the following:
2.0.11 INSTALLED
2.0.11-fastcomp

All recent (non-legacy) installable versions are:
2.0.11 INSTALLED
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.40.1
1.40.0
1.39.20
1.39.19
1.39.18
1.39.17
1.39.16
1.39.15
1.39.14
1.39.13
1.39.12
1.39.11
1.39.10
1.39.9
1.39.8
1.39.7
1.39.6
1.39.5
1.39.4
1.39.3
1.39.2
1.39.1
1.39.0
1.38.48
1.38.47
1.38.46
1.38.45
1.38.44
1.38.43
1.38.42
1.38.41
1.38.40
1.38.39
1.38.38
1.38.37
1.38.36
1.38.35
1.38.34
1.38.33

The additional following precompiled SDKs are also available for download:
sdk-releases-upstream-e7e39da9c81faecd9ecf44065cee864d76e4e34d-64bit
sdk-releases-upstream-048cf9424790cc525a7ea6da340820aae226f3b9-64bit
sdk-releases-fastcomp-e7e39da9c81faecd9ecf44065cee864d76e4e34d-64bit
sdk-releases-fastcomp-048cf9424790cc525a7ea6da340820aae226f3b9-64bit
sdk-fastcomp-1.38.30-64bit
sdk-fastcomp-1.38.31-64bit

The following SDKs can be compiled from source:
sdk-upstream-master-64bit
sdk-upstream-master-32bit
sdk-fastcomp-master-32bit
sdk-fastcomp-master-64bit
sdk-fastcomp-tag-1.38.30-64bit
sdk-fastcomp-tag-1.38.31-64bit

The following precompiled tool packages are available for download:
releases-upstream-e7e39da9c81faecd9ecf44065cee864d76e4e34d-64bit
releases-upstream-048cf9424790cc525a7ea6da340820aae226f3b9-64bit
releases-fastcomp-e7e39da9c81faecd9ecf44065cee864d76e4e34d-64bit
releases-fastcomp-048cf9424790cc525a7ea6da340820aae226f3b9-64bit
fastcomp-clang-e1.38.30-64bit
fastcomp-clang-e1.38.31-64bit
node-8.9.1-64bit
* node-12.18.1-64bit INSTALLED
emscripten-1.38.30
emscripten-1.38.31

The following tools can be compiled from source:
llvm-git-master-32bit
llvm-git-master-64bit
clang-tag-e1.38.30-32bit
clang-tag-e1.38.31-32bit
fastcomp-clang-tag-e1.38.30-64bit
fastcomp-clang-tag-e1.38.31-64bit
fastcomp-clang-master-32bit
fastcomp-clang-master-64bit
emscripten-tag-1.38.30-32bit
emscripten-tag-1.38.31-32bit
emscripten-tag-1.38.30-64bit
emscripten-tag-1.38.31-64bit
binaryen-tag-1.38.30-32bit
binaryen-tag-1.38.31-32bit
binaryen-tag-1.38.30-64bit
binaryen-tag-1.38.31-64bit
emscripten-master-32bit
emscripten-master-64bit
binaryen-master-32bit
binaryen-master-64bit

Items marked with * are activated for the current user.

To access the historical archived versions, type 'emsdk list --old'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.