Instead, inherit from it with the *parents* argument to :py:class:`argparse.ArgumentParser`
"""
-parser.add_argument('--cmake', nargs='*', type=str, default=['3.16.3', '3.17.2', '3.18.4'], # new minimum required versions
+parser.add_argument('--cmake', nargs='*', type=str, default=['3.16.3', '3.17.2', '3.18.4', '3.21.2'], # new minimum required versions
help='Selection of CMake version to provide to base image')
compiler_group = parser.add_mutually_exclusive_group()
- .rules:merge-requests
image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-11-tsan
variables:
- CMAKE: /usr/local/cmake-3.18.4/bin/cmake
+ CMAKE: /usr/local/cmake-3.21.2/bin/cmake
COMPILER_MAJOR_VERSION: 11
CMAKE_BUILD_TYPE_OPTIONS: "-DCMAKE_BUILD_TYPE=ASAN"
- .rules:merge-requests
image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-11-tsan
variables:
- CMAKE: /usr/local/cmake-3.18.4/bin/cmake
+ CMAKE: /usr/local/cmake-3.21.2/bin/cmake
tags:
- k8s-scilifelab
needs:
- .rules:merge-requests
image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-11-tsan
variables:
- CMAKE: /usr/local/cmake-3.18.4/bin/cmake
+ CMAKE: /usr/local/cmake-3.21.2/bin/cmake
CTEST_RUN_MODE: "ExperimentalMemCheck"
tags:
- k8s-scilifelab
needs:
- job: gromacs:clang-ASAN:build
+ after_script:
+ - for file in $(compgen -G "build/Testing/Temporary/MemoryChecker*log") ; do
+ echo Error log file for ASAN via ctest $file ;
+ cat $file ;
+ done
gromacs:clang-ASAN:regressiontest:
extends:
- .rules:merge-requests
image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-11-tsan
variables:
- CMAKE: /usr/local/cmake-3.18.4/bin/cmake
+ CMAKE: /usr/local/cmake-3.21.2/bin/cmake
tags:
- k8s-scilifelab
needs:
extra_opts="$extra_opts $1"
shift
done
-for opt in $ASAN_OPTIONS ; do
- if [[ "$opt" == log_path=* ]] ; then
- # CTest gives errors if the file does not exist, but AddressSanitizer
- # only produces it if it finds issues...
- log_path="${opt#log_path=}"
- log_path="${log_path%\"}"
- log_path="${log_path#\"}"
- touch ${log_path}.99999
- fi
-done
# Suppressions are not currently necessary, but can be introduced like this.
#path=`dirname $0`
#export LSAN_OPTIONS="suppressions=$path/../admin/lsan-suppressions.txt"