Skip to content

Commit 149b808

Browse files
author
Sean Naren
authored
Merge pull request #147 from parlance/feature/1.5
Swap to c++14 as required for PyTorch 1.5, this requires gcc>=4.7
2 parents 62f3364 + cd67680 commit 149b808

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)