-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix jit on mac #14274
fix jit on mac #14274
Conversation
test=develop
#include "paddle/fluid/operators/math/jit_kernel_macro.h" | ||
#include "paddle/fluid/platform/enforce.h" | ||
|
||
#ifdef PADDLE_WITH_XBYAK |
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.
Who will define it?
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.
Paddle/cmake/external/xbyak.cmake
Lines 15 to 19 in 8fc05e0
set(WITH_XBYAK ON) | |
if(WIN32 OR APPLE) | |
SET(WITH_XBYAK OFF CACHE STRING "Disable XBYAK in Windows and MacOS" FORCE) | |
return() | |
endif() |
Let's why failed on Mac
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.
OK
Build success in my Mac after pick this commit |
Thanks @heavengate |
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.
LGTM
fix #14271
test=develop