[pypy-issue] Issue #3151: [PATCH] Makefile: Use detected runinterp for initial memory check (pypy/pypy)
Jan Vesely
issues-reply at bitbucket.org
Mon Jan 13 22:57:34 EST 2020
New issue 3151: [PATCH] Makefile: Use detected runinterp for initial memory check
https://bitbucket.org/pypy/pypy/issues/3151/patch-makefile-use-detected-runinterp-for
Jan Vesely:
`python` might be different from the selected interpreter
sorry, couldn’t open PR.
```
diff -r 928110c124ae -r 1b64005e256a Makefile
--- a/Makefile Fri Jan 10 18:19:55 2020 +0000
+++ b/Makefile Thu Jan 09 19:14:03 2020 -0500
@@ -2,7 +2,6 @@
all: pypy-c cffi_imports
PYPY_EXECUTABLE := $(shell which pypy)
-URAM := $(shell python -c "import sys; print 4.5 if sys.maxint>1<<32 else 2.5")
ifeq ($(PYPY_EXECUTABLE),)
RUNINTERP = python
@@ -10,6 +9,8 @@
RUNINTERP = $(PYPY_EXECUTABLE)
endif
+URAM := $(shell $(RUNINTERP) -c "import sys; print 4.5 if sys.maxint>1<<32 else 2.5")
+
.PHONY: pypy-c cffi_imports
pypy-c:
```
More information about the pypy-issue
mailing list