Skip to content

Commit

Permalink
MISC: add cavead on top bscript.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Aug 28, 2011
1 parent 322c67e commit 3763b57
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions bscript
@@ -1,3 +1,35 @@
"""
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

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
import sys
import shutil
Expand Down

0 comments on commit 3763b57

Please sign in to comment.