summaryrefslogtreecommitdiff
path: root/binary/darwin/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:19:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:19:32 +0200
commitbe44ee078fa5d5470dddd097db0d97fadfc754ff (patch)
treef24dd05a88dbe2330837bc29f762ce648fd1b162 /binary/darwin/test
parentec47ef43536bd698f1f1176b5fec3803e149c2ac (diff)
Update Mac OS X binary build
Diffstat (limited to 'binary/darwin/test')
-rw-r--r--binary/darwin/test/clang-cxx1130
1 files changed, 30 insertions, 0 deletions
diff --git a/binary/darwin/test/clang-cxx11 b/binary/darwin/test/clang-cxx11
new file mode 100644
index 0000000..a365a76
--- /dev/null
+++ b/binary/darwin/test/clang-cxx11
@@ -0,0 +1,30 @@
+SQLITE=$HOME/sqlite
+MYSQL=$HOME/mysqlclient-5.1.51-osx10.4-i686
+PGSQL=$HOME/pgsql-8.4.8
+ORACLE=$HOME/oracle
+
+sqlite_build_options=
+sqlite_use_options=
+
+mysql_build_options=
+mysql_use_options="--with-mysql-host=192.168.0.2 --with-mysql-client=$MYSQL/bin/mysql"
+
+pgsql_build_options=
+pgsql_use_options="--with-pgsql-host=192.168.0.2 --with-pgsql-client=$PGSQL/bin/psql"
+
+oracle_build_options="--with-oci=$ORACLE"
+oracle_use_options="--with-oracle-host=192.168.0.2 --with-oracle-service=xe --with-oracle-client=$ORACLE/sqlplus"
+
+with_qt=n
+with_boost=n
+
+CC=clang
+CXX=clang++
+CPPFLAGS="-I$SQLITE -I$MYSQL/include -I$PGSQL/include"
+CXXFLAGS="-m32 -std=c++11 -O2 -W -Wall -Wno-unknown-pragmas"
+LDFLAGS="-m32 -L$SQLITE -L$MYSQL/lib -L$PGSQL/lib"
+
+export DYLD_LIBRARY_PATH=$SQLITE:$DYLD_LIBRARY_PATH
+export DYLD_LIBRARY_PATH=$MYSQL/lib:$DYLD_LIBRARY_PATH
+export DYLD_LIBRARY_PATH=$PGSQL/lib:$DYLD_LIBRARY_PATH
+export DYLD_LIBRARY_PATH=$ORACLE:$DYLD_LIBRARY_PATH