From 5b9ee695c17402dd5c4ef9b5a9fa1714ec79a35d Mon Sep 17 00:00:00 2001 From: Roland Schulz Date: Mon, 18 Jul 2016 12:17:15 -0700 Subject: [PATCH] Update GCC version for reference build 4.7 isn't available anymore with recent Linux distributions. Change-Id: I27b9d1af386b4891f648a033872b876230247b67 --- cmake/gmxBuildTypeReference.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/gmxBuildTypeReference.cmake b/cmake/gmxBuildTypeReference.cmake index 6c33a5fe99..8116ac7b7f 100644 --- a/cmake/gmxBuildTypeReference.cmake +++ b/cmake/gmxBuildTypeReference.cmake @@ -48,8 +48,8 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Reference") set(GMX_SOFTWARE_INVSQRT OFF CACHE BOOL "Disabled for regressiontests reference builds" FORCE) set(GMX_THREAD_MPI OFF CACHE BOOL "Disabled for regressiontests reference builds" FORCE) - if(NOT "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR NOT "${CMAKE_C_COMPILER_VERSION}" MATCHES "4.7") + if(NOT "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR NOT "${CMAKE_C_COMPILER_VERSION}" MATCHES "4.8") message(WARNING "Reference values for regressiontests should use GROMACS compiled with " - "gcc 4.7, but your configuration is using ${CMAKE_C_COMPILER_ID}-${CMAKE_C_COMPILER_VERSION}.") + "gcc 4.8, but your configuration is using ${CMAKE_C_COMPILER_ID}-${CMAKE_C_COMPILER_VERSION}.") endif() endif() -- 2.11.4.GIT