Commit da6bbb3b authored by Roman Yurchak's avatar Roman Yurchak

Set PYTHONPATH in Makefile.envs to avoiding installing pyodide_build

parent 3ee42aa7
......@@ -63,9 +63,6 @@ jobs:
ccache -z
make
ccache -s
# install all relevant pyodide_build files to
# the virtualenv that will be persisted
pip install .
- save_cache:
paths:
......
......@@ -204,8 +204,6 @@ ccache/em++:
$(CPYTHONLIB): emsdk/emsdk/.complete ccache/emcc ccache/em++
make -C $(CPYTHONROOT)
python -m pip install -e .
"$(HOSTPYTHONROOT)/bin/python3" -m pip install -e .
$(LZ4LIB):
......
export PATH := $(PYODIDE_ROOT)/ccache:$(PYODIDE_ROOT)/emsdk/emsdk:$(PYODIDE_ROOT)/emsdk/emsdk/clang/tag-e1.38.10/build_tag-e1.38.10_64/bin:$(PYODIDE_ROOT)/emsdk/emsdk/node/8.9.1_64bit/bin:$(PYODIDE_ROOT)/emsdk/emsdk/emscripten/tag-1.38.10:$(PYODIDE_ROOT)/emsdk/emsdk/binaryen/tag-1.38.10_64bit_binaryen/bin:$(PATH)
export PYTHONPATH := $(PYTHONPATH):$(PYODIDE_ROOT)/
export EMSDK = $(PYODIDE_ROOT)/emsdk/emsdk
export EM_CONFIG = $(PYODIDE_ROOT)/emsdk/emsdk/.emscripten
......
......@@ -2,7 +2,8 @@ PYODIDE_ROOT=$(abspath ..)
include ../Makefile.envs
all:
pyodide buildall . ../build --ldflags="$(SIDE_LDFLAGS)" --host=$(HOSTPYTHONROOT) --target=$(TARGETPYTHONROOT)
python -m pyodide_build buildall . ../build \
--ldflags="$(SIDE_LDFLAGS)" --host=$(HOSTPYTHONROOT) --target=$(TARGETPYTHONROOT)
clean:
rm -rf ./*/build
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment