Permalink
Browse files

DOC: update bento instructions.

  • Loading branch information...
1 parent c44c532 commit da2af087f11e122372d61bb00eb7fe2d91b47139 @cournape cournape committed Sep 8, 2011
Showing with 20 additions and 22 deletions.
  1. +19 −0 BENTO_BUILD.txt
  2. +1 −22 bscript
View
@@ -0,0 +1,19 @@
+No-frill version:
+
+ * Clone bento::
+
+ git clone git://github.com/cournape/Bento.git bento-git
+
+ * Bootstrap bento::
+
+ cd bento-git && python bootstrap.py
+
+ * Download waf from svn (svn >= r11575 is required)
+ * Build numpy with bento:
+
+ export WAFDIR=ROOT_OF_WAF_SVN_TRUNK # WAFDIR should be such as $WAFDIR/waflib exists
+ $BENTO_ROOT/bentomaker build -j 4 # 4 threads in parallel
+ # or with progress bar
+ $BENTO_ROOT/bentomaker build -p
+ # or with verbose output
+ $BENTO_ROOT/bentomaker build -v
View
23 bscript
@@ -1,33 +1,12 @@
"""
-To build numpy with bento, you currently need to do the following::
-
- # get recent bento and bootstrap it::
- git clone http://github.com/cournape/Bento.git $BENTO_ROOT
- (cd $BENTO_ROOT && python bootstrap.py)
- # get special waf branch
- git clone http://github.com/cournape/waf.git $WAF_ROOT
- (cd $WAF_ROOT && git checkout fix_macosx_python)
- # Tell bento where to look for waf
- export WAFDIR=$WAF_ROOT
- # Install numpy in the default location (you can list files to be installed
- # with --list-files option first to check)
- $BENTO_ROOT/bentomaker install
+See BENTO_BUILD.txt.
Caveats:
- no automatic detection for BLAS/LAPACK/etc... You need to set it up
manually for now (except on Mac OS X and Debian/Ubuntu). The upside is
that it is extremely easy to do so
- bento is still in flux, and some things may changes between releases.
-
-Things to try out::
-
- # parallel builds should work easily
- $BENTO_ROOT/bentomaker build -j8
- # Verbose output for build
- $BENTO_ROOT/bentomaker build -v
- # Progress-based output
- $BENTO_ROOT/bentomaker build -p
"""
import os

0 comments on commit da2af08

Please sign in to comment.