Commit 58816d65 authored by Stefan Marr's avatar Stefan Marr

Made PyPy directories configurable via env variables

Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
parent 15a85afd
#!/usr/bin/env make -f
PYPY_DIR ?= pypy
RPYTHON ?= $(PYPY_DIR)/rpython/bin/rpython
all: compile
compile: RPySOM-no-jit RPySOM-jit
RPySOM-no-jit:
PYTHONPATH=$PYTHONPATH:pypy pypy/rpython/bin/rpython --batch src/targetsomstandalone.py
PYTHONPATH=$(PYTHONPATH):$(PYPY_DIR) $(RPYTHON) --batch src/targetsomstandalone.py
RPySOM-jit:
PYTHONPATH=$PYTHONPATH:pypy pypy/rpython/bin/rpython --batch -Ojit src/targetsomstandalone.py
PYTHONPATH=$(PYTHONPATH):$(PYPY_DIR) $(RPYTHON) --batch -Ojit src/targetsomstandalone.py
test: compile
PYTHONPATH=$PYTHONPATH:pypy nosetests
PYTHONPATH=$(PYTHONPATH):$(PYPY_DIR) nosetests
./RPySOM-no-jit -cp Smalltalk TestSuite/TestHarness.som
./RPySOM-jit -cp Smalltalk TestSuite/TestHarness.som
......
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