summarylogtreecommitdiffstats
path: root/cheat-sse-build.patch
diff options
context:
space:
mode:
authorgraysky2020-10-22 07:18:39 -0400
committergraysky2020-10-22 07:18:39 -0400
commit3ee3314b6ee0c16178c9331c23adef6eff016990 (patch)
tree43fbba0c4aec84848b42bd113852ed21880ded89 /cheat-sse-build.patch
parent8e4d245c1f6958332befd88822610d7037f7eebd (diff)
downloadaur-3ee3314b6ee0c16178c9331c23adef6eff016990.tar.gz
Update to r56286.588a38221d1-1
Diffstat (limited to 'cheat-sse-build.patch')
-rw-r--r--cheat-sse-build.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/cheat-sse-build.patch b/cheat-sse-build.patch
new file mode 100644
index 00000000000..df356d0fdb4
--- /dev/null
+++ b/cheat-sse-build.patch
@@ -0,0 +1,11 @@
+--- a/cmake/modules/FindSSE.cmake 2017-08-22 09:29:22.000000000 +0200
++++ b/cmake/modules/FindSSE.cmake 2018-01-06 19:36:32.716303559 +0100
+@@ -4,7 +4,7 @@
+
+ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ if(CPU MATCHES "x86_64" OR CPU MATCHES "i.86")
+- exec_program(cat ARGS "/proc/cpuinfo" OUTPUT_VARIABLE CPUINFO)
++ set(CPUINFO "sse sse2 pni ssse3 sse4_1 sse4_2 avx avx2")
+
+ string(REGEX REPLACE "^.*(sse).*$" "\\1" _SSE_THERE ${CPUINFO})
+ string(COMPARE EQUAL "sse" "${_SSE_THERE}" _SSE_TRUE)