From bff1640a75ad08e9d8ab3fcf0a147df32d26c7e9 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 1 Sep 2020 01:13:09 +0200 Subject: [PATCH] Try to debug tmpdir problem --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 463de81b8..d3b31de1d 100644 --- a/Makefile +++ b/Makefile @@ -45,8 +45,13 @@ dist/pytest.pex : $(WHEELHOUSE)/pytest-*.whl $(WHEELHOUSE)/spacy-$(PYVER)-$(version).stamp : $(VENV)/bin/pex setup.py spacy/*.py* spacy/*/*.py* mkdir -p $(WHEELHOUSE) - $(VENV)/bin/pip wheel . -w $(WHEELHOUSE) - $(VENV)/bin/pip wheel $(SPACY_EXTRAS) -w $(WHEELHOUSE) + tmp_dir = $(TMPDIR) + echo $(tmp_dir) + source $(VENV)/bin/activate + export TMPDIR=$(tmp_dir) + + pip wheel . -w $(WHEELHOUSE) + pip wheel $(SPACY_EXTRAS) -w $(WHEELHOUSE) touch $@