Skip to content

Commit

Permalink
Merge pull request #147 from parlance/feature/1.5
Browse files Browse the repository at this point in the history
Swap to c++14 as required for PyTorch 1.5, this requires gcc>=4.7
  • Loading branch information
Sean Naren authored May 25, 2020
2 parents 62f3364 + cd67680 commit 149b808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def compile_test(header, library):
return os.system(command) == 0


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

0 comments on commit 149b808

Please sign in to comment.