Test with newer compilers in CI
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 30 Jun 2021 11:14:21 +0000 (11:14 +0000)
committerAndrey Alekseenko <al42and@gmail.com>
Wed, 30 Jun 2021 11:14:21 +0000 (11:14 +0000)
commit694fe0e602d943e44b944515368ae46da732d9f1
treee9c9ec1b9586f836c1804c4557807ce760c92c4b
parent3bd7be09ec50fd3841a4693fdb00a834f3cb2422
Test with newer compilers in CI

Now compiles with clang 12 and gcc 11 without warnings in various
configurations. Did not update santizer configurations as they're
already on clang 11.

Adjusted various CI job intents to be either accurate or placed on
more suitable configurations.

Eliminated one build container, since we target only gcc versions that
are most recent supported, oldest supported, and if needed also those
required for e.g. support of most recent and oldest supported CUDA
versions.

Code changes mostly related to false positives.

Suppresses a false-positive warning in GoogleTest

Avoids warnings about loop variables referring to temporaries. Our
usage was safe, but the warning is potentially valuable elsewhere, so
we should respect it.

Rewrote a test with idiomatic value-parametrization to avoid a warning
about a reference to a temporary

Refs #3912
32 files changed:
admin/containers/buildall.sh
admin/containers/scripted_gmx_docker_builds.py
admin/containers/utility.py
admin/gitlab-ci/gromacs.gitlab-ci.yml
admin/gitlab-ci/gromacs.matrix.gitlab-ci.yml
admin/gitlab-ci/gromacs.matrix/gromacs.clang-12-mpi.gitlab-ci.yml [moved from admin/gitlab-ci/gromacs.matrix/gromacs.clang-9-mpi.gitlab-ci.yml with 68% similarity]
admin/gitlab-ci/gromacs.matrix/gromacs.clang-12-release.gitlab-ci.yml [moved from admin/gitlab-ci/gromacs.matrix/gromacs.clang-9-release.gitlab-ci.yml with 72% similarity]
admin/gitlab-ci/gromacs.matrix/gromacs.clang-static-analyzer.gitlab-ci.yml
admin/gitlab-ci/gromacs.matrix/gromacs.gcc-11-coverage.gitlab-ci.yml [moved from admin/gitlab-ci/gromacs.matrix/gromacs.gcc-10-coverage.gitlab-ci.yml with 78% similarity]
admin/gitlab-ci/gromacs.matrix/gromacs.gcc-11-release.gitlab-ci.yml [moved from admin/gitlab-ci/gromacs.matrix/gromacs.gcc-9-release.gitlab-ci.yml with 74% similarity]
admin/gitlab-ci/gromacs.matrix/gromacs.gcc-11.gitlab-ci.yml [moved from admin/gitlab-ci/gromacs.matrix/gromacs.gcc-10.gitlab-ci.yml with 77% similarity]
admin/gitlab-ci/gromacs.matrix/gromacs.hipsycl-dev.gitlab-ci.yml
admin/gitlab-ci/python-gmxapi01.gitlab-ci.yml
admin/gitlab-ci/python-gmxapi02.gitlab-ci.yml
admin/gitlab-ci/sample_restraint.gitlab-ci.yml
src/external/googletest/README.Gromacs
src/external/googletest/googletest/cmake/internal_utils.cmake
src/gromacs/gmxpreprocess/h_db.cpp
src/gromacs/utility/tests/path.cpp
src/gromacs/utility/tests/refdata/PathTest_SearchOperationsWork.xml [deleted file]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_0.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_1.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_10.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_2.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_3.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_4.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_5.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_6.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_7.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_8.xml [new file with mode: 0644]
src/gromacs/utility/tests/refdata/WithInputPaths_PathSearchTest_SearchOperationsWork_9.xml [new file with mode: 0644]
src/programs/mdrun/tests/periodicactions.cpp