Disable compilation of generated C/F90 in the tests

This commit is contained in:
Shahram Najm 2019-01-30 13:49:28 +00:00
parent 6b90a1de12
commit 5f35e99b05
4 changed files with 16 additions and 16 deletions

View File

@ -46,10 +46,10 @@ if command -v pkg-config >/dev/null 2>&1; then
FLAGS_LINKER=`pkg-config --libs $PKGCONFIG_FILE`
# TODO: For now only support when shared libs enabled
SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
if [ "$SHARED_LIBS" = "ON" ]; then
COMPILE_AND_RUN=1
fi
#SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
#if [ "$SHARED_LIBS" = "ON" ]; then
# COMPILE_AND_RUN=1
#fi
fi
fi

View File

@ -42,10 +42,10 @@ if command -v pkg-config >/dev/null 2>&1; then
FLAGS_LINKER=`pkg-config --libs $PKGCONFIG_FILE`
# TODO: For now only support when shared libs enabled
SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
if [ "$SHARED_LIBS" = "ON" ]; then
COMPILE_AND_RUN=1
fi
#SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
#if [ "$SHARED_LIBS" = "ON" ]; then
# COMPILE_AND_RUN=1
#fi
fi
fi

View File

@ -55,10 +55,10 @@ if command -v pkg-config >/dev/null 2>&1; then
#FLAGS_COMPILER=`echo $FLAGS_COMPILER | sed -e "s:$INSTALL_DIR:$BUILD_DIR:g"`
# TODO: For now only support when shared libs enabled
SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
if [ "$SHARED_LIBS" = "ON" ]; then
COMPILE_AND_RUN=1
fi
#SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
#if [ "$SHARED_LIBS" = "ON" ]; then
# COMPILE_AND_RUN=1
#fi
fi
fi

View File

@ -42,10 +42,10 @@ if command -v pkg-config >/dev/null 2>&1; then
FLAGS_LINKER=`pkg-config --libs $PKGCONFIG_FILE`
# TODO: For now only support when shared libs enabled
SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
if [ "$SHARED_LIBS" = "ON" ]; then
COMPILE_AND_RUN=1
fi
#SHARED_LIBS=`grep -w BUILD_SHARED_LIBS $CACHE_FILE | cut -d'=' -f2`
#if [ "$SHARED_LIBS" = "ON" ]; then
# COMPILE_AND_RUN=1
#fi
fi
fi