From 84b7f3b5c20776be94152f0dc0e3a74b9be10a5b Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Tue, 27 May 2014 09:58:26 +0200 Subject: [PATCH] Finalize change from GMX_CPU_ACCELERATION to GMX_SIMD Change-Id: I6c947d80f36c2fd8e1608520cb505d0586719644 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f1f62b6dd..c06b624831 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,6 +216,8 @@ gmx_detect_target_architecture() if(GMX_CPU_ACCELERATION) # Stay compatible with old Jenkins command line options for specific SIMD acceleration set(GMX_SIMD "${GMX_CPU_ACCELERATION}" CACHE STRING "SIMD instruction set level and compiler optimization" FORCE) + message("You set GMX_CPU_ACCELERATION, which is deprecated, and will be removed in a later version of GROMACS. It is replaced by GMX_SIMD. For now, copying the value from GMX_CPU_ACCELERATION to GMX_SIMD.") + # TODO remove all references to GMX_CPU_ACCELERATION in master branch endif() if(NOT GMX_TARGET_MIC) @@ -590,7 +592,7 @@ gmx_set_build_information() # Note: it's better to not use the later set value of GMX_SIMD because # it reflects the system's capability of both compiling and running AVX code. # TODO: After merge with 5.0 one could implement a cache variable dependency -# such that GMX_USE_RDTSCP can change if GMX_CPU_ACCELERATION is changed to AVX +# such that GMX_USE_RDTSCP can change if GMX_SIMD is changed to AVX # after the first cmake pass. if (BUILD_CPU_FEATURES MATCHES "rdtscp" OR GMX_SIMD MATCHES "AVX") set(GMX_USE_RDTSCP_DEFAULT_VALUE ON) -- 2.22.0