source: interfaces/python/build_osx @ ba00fd7

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since ba00fd7 was ba00fd7, checked in by Paul Brossier <piem@piem.org>, 11 years ago

build_osx: use xcode numpy

  • Property mode set to 100755
File size: 479 bytes
Line 
1#! /bin/sh
2
3set -e
4set -x
5
6export CFLAGS="-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include/"
7export CFLAGS="-arch i386 -arch x86_64 $CFLAGS"
8export LDFLAGS=-L../../build/src/
9python setup.py clean build
10export PYTHONPATH=./build/lib.macosx-10.6-intel-2.7:$PYTHONPATH
11export DYLD_LIBRARY_PATH=../../build/src
12./run_all_tests --verbose
Note: See TracBrowser for help on using the repository browser.