Added a comment about a redundant variable

This commit is contained in:
jpekkila
2019-07-26 15:13:19 +03:00
parent c9fafe41e5
commit 7c256d3bb3

View File

@@ -20,7 +20,7 @@ ALTER_CONF=${ALTER_CONF_DEFAULT}
while [ "$#" -gt 0 ]
do
case $1 in
case $1 in
-h|--help)
echo "You can set up a build directory separe of the ASTAROTH_HOME"
echo "Available flags:"
@@ -66,12 +66,14 @@ mkdir ${BUILD_DIR}
cd ${BUILD_DIR}
#Set up the astaroth.conf to be define and customized in the build directory to
#not always alter the default use i.e. for unit test etc.
#not always alter the default use i.e. for unit test etc.
#Assumed by default if you do this thing anyway.
echo "cp ${AC_HOME}/config/astaroth.conf ${PWD}"
cp ${AC_HOME}/config/astaroth.conf .
CONF_DIR="-D ASTAROTH_CONF_PATH=${PWD}"
CONF_DIR="-D ASTAROTH_CONF_PATH=${PWD}" # JP: Warning, not used in src/standalone/CMakeLists.txt.
# The config path supplied by cmake and this define
# is redundant.
#cmake -D CMAKE_C_COMPILER=icc -D CMAKE_CXX_COMPILER=icpc -DDOUBLE_PRECISION=OFF -DBUILD_DEBUG=OFF ${AC_HOME}