google / sentencepiece

Unsupervised text tokenizer for Neural Network-based text generation.
Apache License 2.0
10.07k stars 1.16k forks source link

Build sentencepiece with mingw #1006

Closed Kreijstal closed 4 months ago

Kreijstal commented 4 months ago

How can we build sentencepiece with mingw, setup.py assumes windows==msvc

taku910 commented 4 months ago

It seems that cmake supports mingw. The following site might be useful. https://stackoverflow.com/questions/59095842/cmake-mingw-compilation-on-windows-without-needing-the-g-mingw-makefiles-f

We do not officially support mingw, so this is all the information we can provide at this time. Any contribution is appreciated. Thank you.