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

use the CC env var for gcc command in Makefile if available. #867

Merged
merged 1 commit into from
May 12, 2016

Conversation

petebristow
Copy link
Contributor

Centos 6 ships with an old version of gcc that doesn't support -mavx2. It would be nice for the Makefile to respect CC rather than having to mangle PATH.

@lukego
Copy link
Member

lukego commented Apr 20, 2016

Good catch.

I would really like for us to rewrite the SIMD checksum code with DynASM rather than GCC SIMD intrinsics. This way we could build with older GCC versions and trust that we get the right code (generated by the DynASM in our tree rather than an uncontrolled version of GCC).

One step at a time... DynASM did not support the AVX2 instruction set back when we introduced this code.

@eugeneia eugeneia merged commit 314c308 into snabbco:master May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants