Skip to content

Instantly share code, notes, and snippets.

@umitanuki
Created May 25, 2011 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save umitanuki/990598 to your computer and use it in GitHub Desktop.
Save umitanuki/990598 to your computer and use it in GitHub Desktop.
run configure wrapper
#!/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