Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Like java, python breaks mmalloc with FreeBSD+MC. Disable it.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 9 Jan 2019 08:51:55 +0000 (09:51 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 9 Jan 2019 10:21:23 +0000 (11:21 +0100)
CMakeLists.txt

index 3e90c9a..5356565 100644 (file)
@@ -375,9 +375,15 @@ if(enable_model-checking)
   include_directories(${LIBDW_INCLUDE_DIR} ${LIBELF_INCLUDE_DIR} ${LIBEVENT_INCLUDE_DIR})
   set(SIMGRID_DEP "${SIMGRID_DEP} ${LIBEVENT_LIBRARIES} ${LIBELF_LIBRARIES} ${LIBDW_LIBRARIES}")
   set(SIMGRID_HAVE_MC 1)
-  if("${CMAKE_SYSTEM}" MATCHES "FreeBSD" AND enable_java)
-    message(WARNING "FreeBSD + Model-Checking + Java = too much for now. Disabling java")
-    set(enable_java FALSE)
+  if("${CMAKE_SYSTEM}" MATCHES "FreeBSD")
+    if (enable_java)
+      message(WARNING "FreeBSD + Model-Checking + Java = too much for now. Disabling java")
+      set(enable_java FALSE)
+    endif()
+    if (enable_python)
+      message(WARNING "FreeBSD + Model-Checking + Python = too much for now. Disabling python")
+      set(enable_python FALSE)
+    endif()
   endif()
 else()
   SET(SIMGRID_HAVE_MC 0)