2020-12-15 07:56:43 +00:00
|
|
|
export EMSCRIPTEN_VERSION = 1.38.42
|
|
|
|
export BINARYEN_VERSION = version_84
|
2019-01-10 12:40:01 +00:00
|
|
|
|
2020-12-06 10:34:07 +00:00
|
|
|
export PATH := $(PYODIDE_ROOT)/ccache:$(PYODIDE_ROOT)/emsdk/emsdk:$(PYODIDE_ROOT)/emsdk/emsdk/node/12.18.1_64bit/bin:$(PYODIDE_ROOT)/emsdk/emsdk/binaryen/bin/:$(PYODIDE_ROOT)/emsdk/emsdk/fastcomp/emscripten/:$(PATH)
|
2018-05-31 22:46:57 +00:00
|
|
|
|
2018-04-02 14:33:19 +00:00
|
|
|
export EMSDK = $(PYODIDE_ROOT)/emsdk/emsdk
|
|
|
|
export EM_CONFIG = $(PYODIDE_ROOT)/emsdk/emsdk/.emscripten
|
|
|
|
export EM_CACHE = $(PYODIDE_ROOT)/emsdk/emsdk/.emscripten_cache
|
2020-11-30 17:54:35 +00:00
|
|
|
export BINARYEN_ROOT = $(PYODIDE_ROOT)/emsdk/emsdk/binaryen
|
2018-05-16 17:06:44 +00:00
|
|
|
|
2020-07-07 14:21:33 +00:00
|
|
|
export PYVERSION=3.8.2
|
2018-05-16 17:06:44 +00:00
|
|
|
export PYMINOR=$(basename $(PYVERSION))
|
2020-12-07 23:19:16 +00:00
|
|
|
export HOSTPYTHONROOT=$(shell python -c "import sys; print(sys.prefix)")
|
2018-06-20 21:05:24 +00:00
|
|
|
export HOSTPYTHON=$(HOSTPYTHONROOT)/bin/python3
|
2018-06-20 18:54:47 +00:00
|
|
|
export TARGETPYTHONROOT=$(PYODIDE_ROOT)/cpython/installs/python-$(PYVERSION)
|
2018-05-16 17:06:44 +00:00
|
|
|
export PYTHONINCLUDE=$(PYODIDE_ROOT)/cpython/installs/python-$(PYVERSION)/include/python$(PYMINOR)
|
|
|
|
|
2020-11-07 11:21:54 +00:00
|
|
|
# This env variable is used to detect pyodide at build time,
|
|
|
|
# do not rename it.
|
2018-12-25 09:44:09 +00:00
|
|
|
export PYODIDE_PACKAGE_ABI=1
|