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

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

上级 9066b578
......@@ -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.
先完成此消息的编辑!
想要评论请 注册