Development/clang-cl

From The Document Foundation Wiki
Jump to: navigation, search

Work in progress to build LibreOffice on Windows with clang-cl:

Prerequisites

  • Install needed tools to build clang:
    • Install MSVC 12.0 or 14.0
    • Install cmake 3.5.0-rc3 from here
    • Install python 3.5.1 from here
    • Install Ninja 1.6 from here
    • Add all of the above to your path
  • Set up clang tree (note the patch instructions below):

Set up clang-cl

Set up LibreOffice build

Status

Most recent master with two patches is up and running on clang_cl (with three pending patches):

Future Work

Investigate whether clang-cl works on Windows Subsystem for Linux, aka "Windows Bash".

See also