Commit b573bb0f authored by incardon's avatar incardon

Fixing configure script

parent 79f26ee6
...@@ -18,6 +18,11 @@ CXXFLAGS+=" --std=c++11 -march=native -mtune=native -Wno-unused-local-typedefs - ...@@ -18,6 +18,11 @@ CXXFLAGS+=" --std=c++11 -march=native -mtune=native -Wno-unused-local-typedefs -
NVCCFLAGS=" " NVCCFLAGS=" "
INCLUDES_PATH=" " INCLUDES_PATH=" "
# set default prefix
if test "$prefix" = "NONE"; then
prefix="/usr/local"
fi
# Add openfpm_vcluster to prefix forlder (if prefix end if openfpm_pdata remove that path) # Add openfpm_vcluster to prefix forlder (if prefix end if openfpm_pdata remove that path)
if [ echo "$prefix" | grep -qE "/openfpm_pdata$" ]; then if [ echo "$prefix" | grep -qE "/openfpm_pdata$" ]; then
prefix=$(echo "$prefix" | sed 's/\(.*\)\/openfpm_pdata$/\1/g') prefix=$(echo "$prefix" | sed 's/\(.*\)\/openfpm_pdata$/\1/g')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment