Commit 7a8753f1 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Minor documentation changes

parent a404585d
......@@ -4,4 +4,4 @@
Before a pull request can be merged, you need to to sign the [Dropbox Contributor License Agreement](https://opensource.dropbox.com/cla/).
Please make sure to run the tests (`make test`) on your changes.
Please make sure to run the tests (`make check`) on your changes.
......@@ -43,7 +43,7 @@ To get a full development environment for Pyston, you need pretty recent version
To simply build and run Pyston, a smaller set of dependencies is required; see docs/INSTALLING, but skip the "OPTIONAL DEPENDENCIES" section. Once all the dependencies are installed, you should be able to do
```
$ make test -j4
$ make check -j4
```
And see that hopefully all of the tests will pass.
......
......@@ -20,6 +20,8 @@ make install
ccache:
sudo apt-get install ccache
# Note: ccache is useful enough that it's enabled by default, but if you'd rather
# not install it, you can add "ENABLE_CCACHE:=0" to your Makefile.local
curses, zlib:
sudo apt-get install libncurses5-dev zlib1g-dev
......@@ -34,10 +36,17 @@ make llvm_configure
make llvm -j4
libunwind:
download from http://download.savannah.gnu.org/releases/libunwind
cd ~/pyston_deps
wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz
tar xvf libunwind-1.1.tar.gz
cd libunwind-1.1
./configure
make -j4
sudo make install
# TODO would be nice to install this locally like the rest of the dependencies
valgrind:
not sure exactly what version is required, but 3.7.0 doesn't seem quite good enough (can't handle 'tzcnt' instruction)
# not sure exactly what version is required, but 3.7.0 doesn't seem quite good enough (can't handle 'tzcnt' instruction)
cd ~/pyston_deps
wget http://valgrind.org/downloads/valgrind-3.9.0.tar.bz2
tar xvf valgrind-3.9.0.tar.bz2
......@@ -46,9 +55,9 @@ cd valgrind-3.9.0
./configure --prefix=$HOME/pyston_deps/valgrind-3.9.0-install
make -j4
make install
sudo apt-get install libc6-dbg
# Add this line to Makefile.local:
VALGRIND := VALGRIND_LIB=$(HOME)/pyston_deps/valgrind-3.9.0-install/lib/valgrind $(HOME)/pyston_deps/valgrind-3.9.0-install/bin/valgrind
sudo apt-get install libc6-dbg
OPTIONAL DEPENDENCIES:
......
......@@ -258,7 +258,7 @@ test_prof: pyston_prof ext
python ../tools/tester.py -P -j$(TEST_THREADS) -k $(TESTS_DIR) $(ARGS)
python ../tools/tester.py -P -j$(TEST_THREADS) -a -n -k $(TESTS_DIR) $(ARGS)
python ../tools/tester.py -P -j$(TEST_THREADS) -a -O -k $(TESTS_DIR) $(ARGS)
test: ext pyston_dbg
check test: ext pyston_dbg
$(MAKE) pyston_dbg
# $(MAKE) run_unittests
$(MAKE) test_debug
......@@ -272,7 +272,7 @@ test: ext pyston_dbg
echo "All tests passed"
check:
quick_check:
$(MAKE) pyston_dbg
$(call checksha,./pyston_dbg -cq $(TESTS_DIR)/raytrace_small.py,0544f4621dd45fe94205219488a2576b84dc044d)
$(call checksha,./pyston_dbg -cqn $(TESTS_DIR)/raytrace_small.py,0544f4621dd45fe94205219488a2576b84dc044d)
......
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