Skip to content

Commit bf202e3

Browse files
committed
Bug#31340969 32 BIT BUILD OF NDB NOT SUPPORTED FROM 8.0
Starting from MySQL Cluster 8.0 it's not supported do a 32 bit build anymore. Fail build unless 64 bit is detected. Change-Id: Id6bc512389e6753086dadfb60f69a9fd39d3900a
1 parent 084b8ec commit bf202e3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

storage/ndb/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,8 @@ IF(MY_COMPILER_IS_GNU_OR_CLANG)
130130
STRING_APPEND(CMAKE_CXX_FLAGS " -fno-strict-aliasing")
131131
ENDIF()
132132

133-
IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
134-
MESSAGE(STATUS "Building NDB 32-bit")
135-
ELSE()
136-
MESSAGE(STATUS "Building NDB 64-bit")
133+
IF(NOT CMAKE_SIZEOF_VOID_P EQUAL 8)
134+
MESSAGE(FATAL_ERROR "Only 64-bit build of NDB is supported")
137135
ENDIF()
138136

139137
INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/ndb_configure.cmake)

0 commit comments

Comments
 (0)