We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f9eb2 commit 472fa8aCopy full SHA for 472fa8a
setup.py
@@ -310,6 +310,7 @@ def build_extension(self, ext):
310
'-DPYTHON_INCLUDE_DIR=' + python_include_dir,
311
'-DPYTORCH_INCLUDE_DIRS=' + pytorch_install_dir + "/include",
312
'-DPYTORCH_LIBRARY_DIRS=' + pytorch_install_dir + "/lib",
313
+ '-DCMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=' + str(int(torch._C._GLIBCXX_USE_CXX11_ABI)),
314
]
315
316
if _check_env_flag("IPEX_DISP_OP"):
0 commit comments