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

gcc version check needed #1

Closed
spond opened this issue Sep 8, 2011 · 1 comment
Closed

gcc version check needed #1

spond opened this issue Sep 8, 2011 · 1 comment
Assignees

Comments

@spond
Copy link
Member

spond commented Sep 8, 2011

The default cmake compiler flag (-flto) is not supported by gcc4.2 on OS X 10.6. Perhaps we should do a gcc version check?

@ghost ghost assigned nlhepler Sep 8, 2011
@nlhepler nlhepler closed this as completed Sep 8, 2011
@nlhepler nlhepler reopened this Sep 8, 2011
@nlhepler
Copy link
Contributor

nlhepler commented Sep 8, 2011

Ahh, here's how I do this. So I just updated CMakeLists to do something of a version check. It looks for gcc v4.5 or greater, or Darwin v11.0.0 or greater (Lion or better), as these support link time optimization.

@nlhepler nlhepler closed this as completed Sep 8, 2011
stevenweaver added a commit that referenced this issue Jul 16, 2014
sjspielman added a commit that referenced this issue Mar 1, 2017
Resolving missing freq errors; correctting branch scaling between con…
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

No branches or pull requests

2 participants