added example for linux-ppc64 build script
authorkhizmax <khizmax@gmail.com>
Tue, 2 Dec 2014 12:13:48 +0000 (15:13 +0300)
committerkhizmax <khizmax@gmail.com>
Tue, 2 Dec 2014 12:13:48 +0000 (15:13 +0300)
build/sample/build-linux-ppc64.sh [new file with mode: 0644]

diff --git a/build/sample/build-linux-ppc64.sh b/build/sample/build-linux-ppc64.sh
new file mode 100644 (file)
index 0000000..8e55073
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+clear
+
+export BOOST_ROOT=~/boost/boost_1_57_0
+
+GCC_ROOT=/opt/cfarm/release/4.9.2
+export PATH=${GCC_ROOT}/bin:${PATH}
+export LD_LIBRARY_PATH=${GCC_ROOT}/lib:${LD_LIBRARY_PATH}
+
+./build.sh -b 64 -j 8 \
+--clean \
+-x 'g++' \
+-z '-std=c++0x -Wall -Wextra -pedantic -m64' \
+-l '-L${BOOST_ROOT}/stage64/lib' \
+--with-boost ${BOOST_ROOT} \
+2>&1 | tee build-linux-ppc64.log
+