summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-11-28 09:38:41 -0500
committerErik Schnetter <schnetter@gmail.com>2013-11-28 09:38:41 -0500
commit959fc3e0e407e5cbdb9fe297f144c871c6fafc2a (patch)
tree78165d3d4046b5186109b6077fca195ea4442d93
parent8f6c6f0bff47dc1d508b3ea70150f65a96c449be (diff)
downloadvecmathlib-959fc3e0e407e5cbdb9fe297f144c871c6fafc2a.zip
vecmathlib-959fc3e0e407e5cbdb9fe297f144c871c6fafc2a.tar.gz
Update build instructions for out-of-source-tree building
-rw-r--r--BUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/BUILD b/BUILD
index 681bc0c..69ff44d 100644
--- a/BUILD
+++ b/BUILD
@@ -43,11 +43,8 @@ cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_FLAGS='-Wall -g -Drestrict=__restrict
xlC -qarch=pwr7 -qaltivec -O3 -o test test.cc
# Redshift (OS X):
-cmake -DCMAKE_CXX_COMPILER=g++-mp-4.7 -DCMAKE_CXX_FLAGS='-Wall -g -Drestrict=__restrict__ -march=native -O3' -G Ninja
-cmake -DCMAKE_CXX_COMPILER=g++-mp-4.8 -DCMAKE_CXX_FLAGS='-Wall -g -Drestrict=__restrict__ -march=native -O3' -G Ninja
-cmake -DCMAKE_CXX_COMPILER=clang++-mp-3.2 -DCMAKE_CXX_FLAGS='-Wall -g -Drestrict=__restrict__ -march=native -O3' -G Ninja
-cmake -DCMAKE_CXX_COMPILER=clang++-mp-3.3 -DCMAKE_CXX_FLAGS='-Wall -g -Drestrict=__restrict__ -march=native -Ofast' -G Ninja
-cmake -DCMAKE_CXX_COMPILER=$HOME/llvm-trunk/bin/clang++ -DCMAKE_CXX_FLAGS='-Wall -g -Drestrict=__restrict__ -march=native -Ofast' -G Ninja
+cmake -DCMAKE_CXX_COMPILER=g++-mp-4.8 -DCMAKE_CXX_FLAGS='-Wall -g -march=native -Ofast' -G Ninja ../vecmathlib
+cmake -DCMAKE_CXX_COMPILER=clang++-mp-3.3 -DCMAKE_CXX_FLAGS='-Wall -g -march=native -Ofast' -G Ninja ../vecmathlib
# Stampede:
module swap intel gcc/4.7.1
OpenPOWER on IntegriCloud