Changeset: 0d818fadb95b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0d818fadb95b
Modified Files:
        CMakeLists.txt
        cmake/monetdb-functions.cmake
Branch: default
Log Message:

find out if the system is big endian


diffs (22 lines):

diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,6 +45,7 @@ include(TestBigEndian REQUIRED)
 if(WIN32)
   set(CMAKE_REQUIRED_LIBRARIES  ws2_32.lib shell32.lib advapi32.lib)
 endif()
+test_big_endian(IS_BIG_ENDIAN)
 
 # Include MonetDB specific functions
 include(monetdb-functions)
diff --git a/cmake/monetdb-functions.cmake b/cmake/monetdb-functions.cmake
--- a/cmake/monetdb-functions.cmake
+++ b/cmake/monetdb-functions.cmake
@@ -107,6 +107,7 @@ function(monetdb_cmake_summary)
   message(STATUS "")
   message(STATUS "Summary of cmake configuration of MonetDB")
   message(STATUS "-----------------------------------------")
+  message(STATUS "System is big endian: ${IS_BIG_ENDIAN}")
   if(${CMAKE_VERSION} VERSION_LESS "3.14.0")
     message(STATUS "NumPy include dirs: ${NUMPY_INCLUDE_DIRS}")
   else()
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to