Skip to content

Commit 51cc80c

Browse files
authored
Merge pull request #12662 from tensor-tang/fix/xbyak
fix missing macro condition
2 parents 2d9508f + 1ab1d03 commit 51cc80c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

paddle/fluid/platform/cpu_info.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#include "paddle/fluid/platform/cpu_info.h"
16+
17+
#ifdef PADDLE_WITH_XBYAK
1618
#include "xbyak/xbyak.h"
1719
#include "xbyak/xbyak_util.h"
20+
#endif
1821

1922
#ifdef __APPLE__
2023
#include <sys/sysctl.h>

0 commit comments

Comments
 (0)