Skip to content

Commit

Permalink
Finding brewed gfortran by env: userpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
samueljohn committed Oct 2, 2012
1 parent e565309 commit fbbfb90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions numpy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ def patches
def install
# Numpy ignores FC and FCFLAGS therefore we don't need ENV.fortran here :-(

# Allow numpy to find brewed python
env :userpaths

if build.include? 'use-openblas'
# For maintainers:
# Check which BLAS/LAPACK numpy actually uses via:
Expand Down
3 changes: 3 additions & 0 deletions scipy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class Scipy < Formula
option 'use-openblas', "Use openBLAS instead of Apple's Accelerate Framework"

def install
# Allow brewed python
env :userpaths

# This hack is no longer needed with superenv but I leave it here because
# people might want to use a custom CC compiler with scipy by setting
# --env=std and HOMEBREW_CC:
Expand Down

0 comments on commit fbbfb90

Please sign in to comment.