Skip to end of banner
Go to start of banner

Ninja

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

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

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.

  • No labels