Fixed triggering of CPU acceleration-scheme detection
authorMark Abraham <mark.j.abraham@gmail.com>
Sun, 6 Oct 2013 16:45:23 +0000 (18:45 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Sun, 6 Oct 2013 18:11:21 +0000 (20:11 +0200)
Recent patch Ic8f674e5ac29 fell afoul of the way the CPU acceleration
scheme needs to protect itself from re-running try_run() detection by
noticing when the suggestion variable is already defined.

Change-Id: Ifb528a072610b775384f397155a9daba8c293b64

CMakeLists.txt

index 5dcfe985fe4b38092954004084cb9755cad51655..0888dd3c292aaa28364b80384840ed71cc486e49 100644 (file)
@@ -149,7 +149,6 @@ gmx_add_cache_dependency(GMX_COOL_QUOTES BOOL "NOT GMX_FAHCORE" OFF)
 include(gmxManageGPU)
 
 include(gmxDetectAcceleration)
-set(GMX_SUGGESTED_CPU_ACCELERATION "None")
 if(NOT DEFINED GMX_CPU_ACCELERATION)
     if(CMAKE_CROSSCOMPILING)
         if("${CMAKE_SYSTEM_NAME}" MATCHES "BlueGeneQ")