Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Big fat error message when trying to enable MC on not supported archs
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 30 Nov 2022 21:57:27 +0000 (22:57 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 1 Dec 2022 21:19:44 +0000 (22:19 +0100)
The previous message was ways too easy to miss [no-ci].

CMakeLists.txt
examples/README.rst

index 7984a44..10e82d7 100644 (file)
@@ -371,8 +371,7 @@ else()
 endif()
 
 if(enable_model-checking AND NOT "${CMAKE_SYSTEM}" MATCHES "Linux|FreeBSD")
-  message(WARNING "Support for model-checking has not been enabled on ${CMAKE_SYSTEM}: disabling it")
-  set(enable_model-checking FALSE)
+  message(FATAL_ERROR "Support for model-checking has not been enabled on ${CMAKE_SYSTEM}. Please use a Linux docker to use the model checker.")
 endif()
 
 if(enable_model-checking AND minimal-bindings)
index a03eb65..eff074b 100644 (file)
@@ -1198,6 +1198,8 @@ the first level is used.
       .. showfile:: examples/platforms/wifi.xml
          :language: xml
 
+
+
 ===============
 Plugin Examples
 ===============