Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 347794 Details for
Bug 469134
media-gfx/blender-2.66 sse USE flag causes -msse2 build, lacks sse2 use flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
epatch for allowing SSE while removing faulty SSE2 cmake checks
file_469134.txt (text/plain), 1.91 KB, created by
Navar
on 2013-05-09 04:09:17 UTC
(
hide
)
Description:
epatch for allowing SSE while removing faulty SSE2 cmake checks
Filename:
MIME Type:
Creator:
Navar
Created:
2013-05-09 04:09:17 UTC
Size:
1.91 KB
patch
obsolete
>--- blender-2.66/build_files/cmake/macros.cmake 2013-05-08 18:22:09.369578697 -0600 >+++ blender-2.66/build_files/cmake/macros.cmake 2013-05-08 18:16:32.457758937 -0600 >@@ -389,28 +389,23 @@ > endmacro() > > macro(TEST_SSE_SUPPORT >- _sse_flags >- _sse2_flags) >+ _sse_flags) > > include(CheckCSourceRuns) > > # message(STATUS "Detecting SSE support") > if(CMAKE_COMPILER_IS_GNUCC OR (CMAKE_C_COMPILER_ID MATCHES "Clang")) > set(${_sse_flags} "-msse") >- set(${_sse2_flags} "-msse2") > elseif(MSVC) > set(${_sse_flags} "/arch:SSE") >- set(${_sse2_flags} "/arch:SSE2") > elseif(CMAKE_C_COMPILER_ID MATCHES "Intel") > set(${_sse_flags} "") # icc defaults to -msse >- set(${_sse2_flags} "-msse2") > else() > message(WARNING "SSE flags for this compiler: '${CMAKE_C_COMPILER_ID}' not known") > set(${_sse_flags}) >- set(${_sse2_flags}) > endif() > >- set(CMAKE_REQUIRED_FLAGS "${${_sse_flags}} ${${_sse2_flags}}") >+ set(CMAKE_REQUIRED_FLAGS "${${_sse_flags}}") > > if(NOT DEFINED SUPPORT_SSE_BUILD) > # result cached >@@ -426,20 +421,6 @@ > endif() > endif() > >- if(NOT DEFINED SUPPORT_SSE2_BUILD) >- # result cached >- check_c_source_runs(" >- #include <emmintrin.h> >- int main(void) { __m128d v = _mm_setzero_pd(); return 0; }" >- SUPPORT_SSE2_BUILD) >- >- if(SUPPORT_SSE2_BUILD) >- message(STATUS "SSE2 Support: detected.") >- else() >- message(STATUS "SSE2 Support: missing.") >- endif() >- endif() >- > unset(CMAKE_REQUIRED_FLAGS) > endmacro()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 469134
:
347792
| 347794