Skip to content

Commit e587853

Browse files
authored
[CustomOp]Specify -std=c++14 cflags by default (#33213)
1 parent 9066b57 commit e587853

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/paddle/utils/cpp_extension/cpp_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def unix_custom_single_compiler(obj, src, ext, cc_args, extra_postargs,
434434
add_compile_flag(['-D_GLIBCXX_USE_CXX11_ABI=1'], cflags)
435435

436436
add_std_without_repeat(
437-
cflags, self.compiler.compiler_type, use_std14=False)
437+
cflags, self.compiler.compiler_type, use_std14=True)
438438
original_compile(obj, src, ext, cc_args, cflags, pp_opts)
439439
finally:
440440
# restore original_compiler

0 commit comments

Comments
 (0)