From 4ab71a87f11dd2bd8687cfd219c4cb26fa230cef Mon Sep 17 00:00:00 2001 From: XMRig Date: Sun, 3 Feb 2019 16:49:17 +0700 Subject: [PATCH] Disable cn/gpu for 32bit builds. --- cmake/cn-gpu.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cn-gpu.cmake b/cmake/cn-gpu.cmake index db60fc0b..0fc048f5 100644 --- a/cmake/cn-gpu.cmake +++ b/cmake/cn-gpu.cmake @@ -1,4 +1,4 @@ -if (WITH_CN_GPU) +if (WITH_CN_GPU AND CMAKE_SIZEOF_VOID_P EQUAL 8) set(CN_GPU_SOURCES src/crypto/cn_gpu_avx.cpp src/crypto/cn_gpu_ssse3.cpp) if (CMAKE_CXX_COMPILER_ID MATCHES GNU)