/[svn]/linuxsampler/trunk/osx/wrapper.sh
ViewVC logotype

Contents of /linuxsampler/trunk/osx/wrapper.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1649 - (show annotations) (download) (as text)
Fri Jan 25 15:06:02 2008 UTC (16 years, 2 months ago) by nagata
File MIME type: application/x-sh
File size: 1035 byte(s)
* added a new config option --enable-pthread-testcancel, which uses
pthread_testcancel() instead of asynchronous canceling (needed for OSX)

1 #export WITH_INSTALL=1
2 export BUILD_BASE_DIR=$PWD/../temp_build
3 export CONFIG_OPTIONS="--disable-shared --enable-signed-triang-algo=intmathabs --enable-unsigned-triang-algo=intmathabs --enable-default-instruments-db-location=~/Library/linuxsampler/linuxsampler.db --enable-plugin-dir=~/Library/linuxsampler/plugins --enable-refill-streams=2 --enable-stream-size=320000 --enable-max-voices=200 --enable-max-streams=220 --enable-pthread-testcancel"
4
5 case "$BUILD_STYLE" in
6 Deployment_i386)
7 OPT="-O3 -march=pentium4 -mfpmath=sse -ffast-math -fomit-frame-pointer -funroll-loops"
8 ;;
9 Deployment_ppc)
10 OPT="-O3 -ffast-math -fomit-frame-pointer -funroll-loops"
11 ;;
12 esac
13
14 export CFLAGS="-I$BUILD_BASE_DIR/$BUILD_STYLE/local/include -D_APPLE_C_SOURCE $OPT"
15 export CXXFLAGS=$CFLAGS
16 export PKG_CONFIG_PATH="$BUILD_BASE_DIR/$BUILD_STYLE/local/lib/pkgconfig:/usr/local/lib/pkgconfig"
17 export HAVE_UNIX98=1
18 export UB_PRODUCTS=bin/linuxsampler
19 PATH=/opt/local/bin:$PATH # Use MacPorts
20 source $PROJECT_DIR/autoconf_builder.sh
21 make install-exec

  ViewVC Help
Powered by ViewVC