Ah -std=c++17 is needed

This commit is contained in:
beiller 2023-03-08 16:44:50 -05:00
parent 07771aab81
commit ee36313770
No known key found for this signature in database
GPG key ID: 5AC5D1B01D0E5D75
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ jobs:
- name: Dependencies - name: Dependencies
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install build-essential cmake sudo apt-get install build-essential
- name: Build - name: Build
run: | run: |

View file

@ -31,7 +31,7 @@ endif
# #
CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC
CXXFLAGS = -I. -Ideps/sentencepiece-0.1.97/src/ -O3 -DNDEBUG -std=c++11 -fPIC CXXFLAGS = -I. -Ideps/sentencepiece-0.1.97/src/ -O3 -DNDEBUG -std=c++17 -fPIC
LDFLAGS = LDFLAGS =
# OS specific # OS specific
# TODO: support Windows # TODO: support Windows