Commit Graph

6 Commits

Author SHA1 Message Date
Roman Grundkiewicz
326b9400e9 Merged PR 18232: Update VS CMake builds and scripts
This PR updates Windows build using Visual Studio CMake compilation with Ninja. It does not affect standard VS compilation or Windows builds on Azure/GitHub CI.

List of changes:
- Fixed syntax in the script installing dependencies via vcpkg.
- Removed installation of Protobuf (already included as a submodule) and Boost 1.72 (the previous solution no longer works with new vcpkg).
- Disabled compilation of marian-server in the default setting due to Boost issues.
- Disabled compilation of NCCL in the default setting due to an error (see comment in the code).
- Updated vs/README.
2021-03-19 08:27:34 +00:00
Roman Grundkiewicz
71dccf343e Merged PR 14262: Update MSVC CMake build and instructions
This PR updates Windows build via CMake and build instructions. With https://github.com/marian-nmt/marian-dev/pull/676, this should be fully workable, including CUDA, FBGEMM, SentencePiece, unit tests, marian-server.

List of changes:
- Fixing compilation of marian-server on Windows via CMake
- Updating vs/CheckDeps.bat
    - zlib no longer needs to be installed as it is included in 3rd_party
    - Installing Boost 1.72 since newer is not supported
    - Installing minimal required Boost components in CheckDeps.bat
    - Installing protobuf in CheckDeps.bat
- Updating CMakeSettings.json
- Updating vs/README.md
- Development notes extracted to vs/NOTES.md

I did not update and test with CUDA, because I do not have a machine for that, but AFAIK it works properly.
2020-07-25 20:57:17 +00:00
Cédric Rousseau
e83d0ed8c3 Keep only Release and Debug targets with Ninja 2018-09-19 14:58:10 +02:00
Cédric Rousseau
77516c9239 Update scripts to build on Windows 2018-09-14 15:52:42 +02:00
Cédric Rousseau
a445635cbd Ninja and MSBuild compilation 2018-09-13 17:27:46 +02:00
Cédric Rousseau
f792b899dc Make it build directly on VS with CMake 2018-09-12 18:28:36 +02:00