Ninja

Status

  • Ninja for windows on arm can be compiled and executed successfully.

  • No pre-built binaries are yet available for native windows on arm but can be built from source.

  • Emulated Ninja(x64) also works well.

Getting Ninja on Windows Arm64

Mode

 

Known Limiations

Mode

 

Known Limiations

Native

Ninja | Build from source

None

Emulated

Ninja | Emulated Binaries

None

Python package

Ninja | Python distribution

None

Emulated Binaries

64-bit ninja binaries (x86_64) for windows can be downloaded https://github.com/ninja-build/ninja/releases

In more, we wrote a recipe for it https://gitlab.com/Linaro/windowsonarm/packages/ninja and you can download a native arm64 ninja binary here.

Build from source

Source code: https://github.com/ninja-build/ninja

Build tutorial: https://github.com/ninja-build/ninja/wiki#windows

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsx86_arm64.bat" ./configure.py --bootstrap

Python distribution

This project provides a setup.py script that build Ninja Python wheels. It relies on setuptools.

PyPi page: https://pypi.org/project/ninja/

Source code: https://github.com/scikit-build/ninja-python-distributions

Dependencies

  • scikit-build

  • CMake

For Windows, by default it downloads the Windows source code and builds it locally.

CI

Ninja uses GitHub Actions.