diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-09-17 14:06:15 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-10-03 09:54:49 +0000 |
commit | 484d5a925f45edee3e5c6621500d9da73d87ecbb (patch) | |
tree | a3ef04aa5f585cd828db8894f4ed2aa7bb637844 /lang/intel-compute-runtime/files | |
parent | devel/nlohmann-json: Update 3.10.1 -> 3.10.2 (diff) |
lang/intel-compute-runtime: update to 21.39.21127
Changes: https://github.com/intel/compute-runtime/compare/21.37.20939...21.39.21127
Reported by: GitHub (watch releases)
Diffstat (limited to 'lang/intel-compute-runtime/files')
-rw-r--r-- | lang/intel-compute-runtime/files/patch-arch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/intel-compute-runtime/files/patch-arch b/lang/intel-compute-runtime/files/patch-arch new file mode 100644 index 000000000000..4b9b30f7ef4b --- /dev/null +++ b/lang/intel-compute-runtime/files/patch-arch @@ -0,0 +1,19 @@ +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") + 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) |