/
Ninja

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 Releases · ninja-build/ninja

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: 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.

Related content

CMake
More like this
Blender
Read with this
Toolchain for Python ecosystem
Toolchain for Python ecosystem
More like this
Perl
Read with this
PyWin32
More like this
Qt
Read with this