Throw error for 32-bit archs (#10005)
This commit is contained in:
parent
d12cc1090a
commit
60ec7b8424
@ -39,6 +39,9 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|||||||
message(FATAL_ERROR "Need Clang 9.0 or newer to build XGBoost")
|
message(FATAL_ERROR "Need Clang 9.0 or newer to build XGBoost")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
if(CMAKE_SIZE_OF_VOID_P EQUAL 4)
|
||||||
|
message(FATAL_ERROR "XGBoost does not support 32-bit archs. Please use 64-bit arch instead.")
|
||||||
|
endif()
|
||||||
|
|
||||||
include(${xgboost_SOURCE_DIR}/cmake/PrefetchIntrinsics.cmake)
|
include(${xgboost_SOURCE_DIR}/cmake/PrefetchIntrinsics.cmake)
|
||||||
find_prefetch_intrinsics()
|
find_prefetch_intrinsics()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user