Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: use direct test to decide if SSE available #1879

Merged
merged 2 commits into from
Mar 6, 2016
Merged

Conversation

danstowell
Copy link
Member

Use direct test to decide if SSE available, rather than guessing from the CPU name. As recommended for the sc3-plugins project at: supercollider/sc3-plugins#73

@@ -115,11 +115,18 @@ option(FINAL_BUILD "Build as single source file." OFF)

option(FFT_GREEN "Use internal 'Green' FFT lib rather than FFTW. (Not recommended.)" OFF)

if(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
include (${CMAKE_ROOT}/Modules/CheckCXXCompilerFlag.cmake)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include( CheckCXXCompilerFlag ) should be sufficient

@danstowell
Copy link
Member Author

(minor improvement, thanks tim for the tip)

crucialfelix added a commit that referenced this pull request Mar 6, 2016
build: use direct test to decide if SSE available
@crucialfelix crucialfelix merged commit 8f4dbab into 3.7 Mar 6, 2016
@mossheim mossheim deleted the direct_sse_test branch January 15, 2017 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants