mirror of https://github.com/pyodide/pyodide.git
20 lines
948 B
Makefile
20 lines
948 B
Makefile
export EMSCRIPTEN_VERSION = 1.38.34
|
|
|
|
export PATH := $(PYODIDE_ROOT)/ccache:$(PYODIDE_ROOT)/emsdk/emsdk:$(PYODIDE_ROOT)/emsdk/emsdk/node/12.9.1_64bit/bin:$(PYODIDE_ROOT)/emsdk/emsdk/binaryen/bin/:$(PYODIDE_ROOT)/emsdk/emsdk/fastcomp/emscripten/:$(PATH)
|
|
|
|
export EMSDK = $(PYODIDE_ROOT)/emsdk/emsdk
|
|
export EM_CONFIG = $(PYODIDE_ROOT)/emsdk/emsdk/.emscripten
|
|
export EM_CACHE = $(PYODIDE_ROOT)/emsdk/emsdk/.emscripten_cache
|
|
export BINARYEN_ROOT = $(PYODIDE_ROOT)/emsdk/emsdk/binaryen
|
|
|
|
export PYVERSION=3.8.2
|
|
export PYMINOR=$(basename $(PYVERSION))
|
|
export HOSTPYTHONROOT=$(PYODIDE_ROOT)/cpython/build/$(PYVERSION)/host
|
|
export HOSTPYTHON=$(HOSTPYTHONROOT)/bin/python3
|
|
export TARGETPYTHONROOT=$(PYODIDE_ROOT)/cpython/installs/python-$(PYVERSION)
|
|
export PYTHONINCLUDE=$(PYODIDE_ROOT)/cpython/installs/python-$(PYVERSION)/include/python$(PYMINOR)
|
|
|
|
# This env variable is used to detect pyodide at build time,
|
|
# do not rename it.
|
|
export PYODIDE_PACKAGE_ABI=1
|