Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Disable raw contextes on Windows.
authordegomme <augustin.degomme@unibas.ch>
Mon, 7 Mar 2016 09:29:29 +0000 (10:29 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Mon, 7 Mar 2016 09:35:17 +0000 (10:35 +0100)
They used to work on 32 bit version of simgrid on Windows, but are broken for 64 bits
We don't want to spend time maintaining them.

CMakeLists.txt

index 3ec3296..6ef0d80 100644 (file)
@@ -194,8 +194,8 @@ IF(CMAKE_SYSTEM_PROCESSOR MATCHES ".86|AMD64|amd64")
     message(STATUS "System processor: x86_64 (${CMAKE_SYSTEM_PROCESSOR}, 64 bits)")
     set(PROCESSOR_x86_64 1)
   ENDIF()
-  if (MSVC)
-    message(STATUS "Disable fast raw contextes on Microsoft Visual.")
+  if (WIN32)
+    message(STATUS "Disable fast raw contextes on Windows.")
   else()
     set(HAVE_RAW_CONTEXTS 1)
   endif()