Created
May 25, 2011 08:42
-
-
Save umitanuki/990598 to your computer and use it in GitHub Desktop.
run configure wrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSION=`pwd | perl -ne 's/.+postgresql-([^\/]+).*/$1/;print'` | |
./configure CC="ccache gcc" CFLAGS=-pthread --prefix=$HOME/local/pgsql-$VERSION --enable-debug --enable-cassert | |
# planner dev | |
#./configure OPTIMZER_DEBUG=1 CFLAGS=-pthread --prefix=$HOME/local/pgsql-$VERSION --enable-debug --enable-cassert | |
# mac | |
#./configure CC="ccache gcc" CFLAGS='-pthread -arch x86_64' --prefix=$HOME/local/pgsql-$VERSION --enable-debug --enable-cassert --with-python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment