OpenNMT / CTranslate

Lightweight C++ translator for OpenNMT Torch models (deprecated)
https://opennmt.net/
MIT License
79 stars 50 forks source link

fixes for Windows build: find MKL, disable two-phase lookup with OpenMP #56

Closed jhnwnd closed 5 years ago

jhnwnd commented 5 years ago

This fixes two problems with building on Windows (tested with MS C/C++ compiler): -using MKL (#55) -two-phase lookup error in compilation when OpenMP is used I also removed the linking to the MKL Fortran libraries (gf/gf_lp64); other than this there is no change for non-Windows builds.

guillaumekln commented 5 years ago

Thanks!