Skip to content

Commit cd67680

Browse files
author
sean.narenthiran
committed
Swap to c++14 as required for PyTorch 1.5, this requires gcc>=4.7
1 parent 62f3364 commit cd67680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def compile_test(header, library):
4040
return os.system(command) == 0
4141

4242

43-
compile_args = ['-O3', '-DKENLM_MAX_ORDER=6', '-std=c++11', '-fPIC']
43+
compile_args = ['-O3', '-DKENLM_MAX_ORDER=6', '-std=c++14', '-fPIC']
4444
ext_libs = []
4545
if compile_test('zlib.h', 'z'):
4646
compile_args.append('-DHAVE_ZLIB')

0 commit comments

Comments
 (0)