Skip to content

Commit

Permalink
Fixing external cmake script
Browse files Browse the repository at this point in the history
  • Loading branch information
sithhell committed Nov 3, 2015
1 parent 4927c8e commit 57aaf5c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions babbage/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ MODULEPATH_BAK=$MODULEPATH
MODULEPATH=/project/projectdirs/xpress/tau2-hpx/modulefiles:$MODULEPATH

load_modules "${MODULES_MIC}"
CC=icc
CXX=icpc
CC=`which icc`
CXX=`which icpc`
CFLAGS="-mmic"
CXXFLAGS="-std=c++14 -mmic -DBOOST_NO_CXX11_ALLOCATOR"
LDFLAGS="-mmic"
Expand Down Expand Up @@ -54,8 +54,8 @@ echo ""
echo "Building dependencies for the Host"

load_modules "${MODULES_HOST}"
CC=icc
CXX=icpc
CC=`which icc`
CXX=`which icpc`
CFLAGS=
CXXFLAGS="-std=c++14"
LDFLAGS=""
Expand Down
4 changes: 2 additions & 2 deletions edison/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ make_hwloc "edison/hwloc"
make_jemalloc "edison/jemalloc"
make_lua "edison/lua"
make_ah "edison/activeharmony"
CC=
CXX=
CC=`which cc`
CXX=`which CC`
CFLAGS=
CXXFLAGS="-std=c++14"
LDFLAGS=""
Expand Down
2 changes: 1 addition & 1 deletion misc/hpx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function hpx_cmake()

cat << EOF >> $BASE_PATH/packages/$PREFIX/hpx/$BUILD_TYPE/bin/hpxcmake
#!/bin/bash
cmake -DCMAKE_CXX_COMPILER=${CC} \
cmake -DCMAKE_CXX_COMPILER=${CXX} \
-DCMAKE_C_COMPILER=${CC} \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
"\$@"
Expand Down

0 comments on commit 57aaf5c

Please sign in to comment.