From 6882e73933e2972fa93db89c7a1d8087023b0f27 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 10 Jul 2012 19:43:01 -0600 Subject: [PATCH] build_osx: add sample script to build and run tests on osx --- interfaces/python/build_osx | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 interfaces/python/build_osx diff --git a/interfaces/python/build_osx b/interfaces/python/build_osx new file mode 100755 index 00000000..572270a7 --- /dev/null +++ b/interfaces/python/build_osx @@ -0,0 +1,8 @@ +#! /bin/sh + +export CFLAGS=-I/Users/piem/Library/Python/2.7/site-packages/numpy-1.8.0.dev_436a28f_20120710-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/ +export LDFLAGS=-L../../build/src/ +python setup.py clean build +export PYTHONPATH=./build/lib.macosx-10.6-intel-2.7:$PYTHONPATH +export DYLD_LIBRARY_PATH=../../build/src +./run_all_tests --verbose -- 2.26.2