未验证 提交 ca0cc8ab 编写于 作者: A Aurelius84 提交者: GitHub

[Cherry-pick][CustomOp]Specify -std=c++14 cflags by default (#33213) (#33227)

Cherry-pick (#33213)
上级 92a7d11f
......@@ -434,7 +434,7 @@ class BuildExtension(build_ext, object):
add_compile_flag(['-D_GLIBCXX_USE_CXX11_ABI=1'], cflags)
add_std_without_repeat(
cflags, self.compiler.compiler_type, use_std14=False)
cflags, self.compiler.compiler_type, use_std14=True)
original_compile(obj, src, ext, cc_args, cflags, pp_opts)
finally:
# restore original_compiler
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册