-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
Update Makefile to support ppc64le #612
Conversation
@@ -377,6 +380,11 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu") | |||
ALTIVEC_CFLAGS = -maltivec | |||
HAVE_VM_COMPILED=true | |||
endif | |||
ifeq ($(ARCH),ppc64le) | |||
OPTIMIZE += -mcpu=power8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
power8
is the lowest common denominator for LE support
8c6dfa2
to
faeb486
Compare
else | ||
ifeq ($(ARCH),ppc64) | ||
BASE_CFLAGS += -m64 | ||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need to declare -m64
because we have specify -mcpu=power7|power8
that automatically set -m64
ifeq ($(ARCH),ppc64) | ||
ALTIVEC_CFLAGS = -maltivec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need to explicitly declare -maltivec
because -mcpu=power7
would set that automatically for us
Please resubmit when the PR is complete and ready for review. |
Fixed #610