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

rocksdb: do not build with --march=native #11677

Merged
merged 1 commit into from
Oct 28, 2016
Merged

Conversation

tchaikov
Copy link
Contributor

we can not assume that building host has the same arch (or the same cpu
capability) with the target machine.

Signed-off-by: Kefu Chai kchai@redhat.com

we can not assume that building host has the same arch (or the same cpu
capability) with the target machine.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@bassam
Copy link
Contributor

bassam commented Oct 28, 2016

LGTM

@badone
Copy link
Contributor

badone commented Oct 28, 2016

lgtm

@liewegas
Copy link
Member

How should we fix this upstream in rocksdb so that we don't have to carry this patch? Add a cmake option?

@tchaikov
Copy link
Contributor Author

change posted to upstream facebook/rocksdb#1429

@tchaikov
Copy link
Contributor Author

@liewegas patch submitted to upstream. if we really want to have some optimization on some arch, for example i686. we should be using a toolchain cmake file to customize the CCFLAGS, etc. and use it instead.

@tchaikov
Copy link
Contributor Author

@tchaikov tchaikov merged commit 7842ea1 into master Oct 28, 2016
@tchaikov
Copy link
Contributor Author

tchaikov commented Oct 28, 2016

i am merging this change in hope to bring the master branch back to normal before it takes too long to wait until the test passes.

@tchaikov tchaikov deleted the wip-rocksdb-no-march-native branch October 28, 2016 13:50
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.

5 participants