mirror of https://github.com/ecmwf/eccodes.git
Disable compilation of generated C/F90 in the tests
This commit is contained in:
parent
6b90a1de12
commit
5f35e99b05
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue