summaryrefslogtreecommitdiff
path: root/lang/intel-compute-runtime/files/patch-arch
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-10-02 11:11:42 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-10-03 09:54:49 +0000
commit6587d3a4d2ecb023ce2625ac948f19b2cf080ba3 (patch)
treeaca536b3bc470e57f76d8d5e183abe434d521db7 /lang/intel-compute-runtime/files/patch-arch
parentlang/intel-compute-runtime: update to 21.39.21127 (diff)
lang/intel-compute-runtime: drop i386 support
Probably didn't work, anyway. Upstream works on aarch64 instead. https://github.com/intel/compute-runtime/issues/316 https://github.com/intel/compute-runtime/commit/895e9e511653
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-arch')
-rw-r--r--lang/intel-compute-runtime/files/patch-arch5
1 files changed, 1 insertions, 4 deletions
diff --git a/lang/intel-compute-runtime/files/patch-arch b/lang/intel-compute-runtime/files/patch-arch
index 4b9b30f7ef4b..0a319dba8445 100644
--- a/lang/intel-compute-runtime/files/patch-arch
+++ b/lang/intel-compute-runtime/files/patch-arch
@@ -2,18 +2,15 @@ Add more architecture names
CMake Error at CMakeLists.txt:164 (message):
Unsupported target processor: amd64
- Unsupported target processor: i386
--- CMakeLists.txt.orig 2021-09-17 14:06:15 UTC
+++ CMakeLists.txt
-@@ -154,6 +154,10 @@ if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+@@ -154,6 +154,8 @@ if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
set(NEO_TARGET_PROCESSOR "x86_64")
elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64")
set(NEO_TARGET_PROCESSOR "x86_64")
+elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64")
+ set(NEO_TARGET_PROCESSOR "x86_64")
-+elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i386")
-+ set(NEO_TARGET_PROCESSOR "x86_64") # pre-895e9e511653 code
elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
set(NEO_TARGET_PROCESSOR "aarch64")
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third_party/sse2neon)