Skip to content

Commit

Permalink
Even more goodness.
Browse files Browse the repository at this point in the history
  • Loading branch information
safl committed Apr 1, 2015
1 parent 3dbfe00 commit a8db9f2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.pyc
build/
bin/
bh-job-*
8 changes: 8 additions & 0 deletions bp_run
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ import tempfile
import os
from benchpress.press import *

class _C:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'

if __name__ == "__main__":

parser = argparse.ArgumentParser(description='Runs a benchmark suite and stores the results in a json-file.')
Expand Down
7 changes: 5 additions & 2 deletions doc/source/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The following shows how to do a user-mode / local installation::

pip install benchpress --user

Extend your ``$PATH``, such that the commands (`bp_run`, `bp_times`, `bp_compile`, `and bp_grapher`) are readily available::
Extend your ``$PATH``, such that the commands (`bp_info`, `bp_run`, `bp_times`, `bp_compile`, `and bp_grapher`) are readily available::

export PATH=$PATH:$HOME/.local/bin

Expand Down Expand Up @@ -46,7 +46,10 @@ or download and unpack tarball::
Then set your ``$PATH`` to the directory you have cloned or extracted to.
Set your ``$PYTHONPATH`` to the benchpress subdirectory.

If you do not want to set paths then your working directory must be the root of the clone/tarball.
When in the root or the unpacked source then you can do::

export PATH=$PATH:`./bp_info --bins`
export PYTHONPATH=$PYTHONPATH:`./bp_info --bins`

Cli
===
Expand Down

0 comments on commit a8db9f2

Please sign in to comment.