Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No official way to install ninja is documented #11235

Open
14 of 16 tasks
marc-hb opened this issue Dec 22, 2024 · 3 comments
Open
14 of 16 tasks

No official way to install ninja is documented #11235

marc-hb opened this issue Dec 22, 2024 · 3 comments

Comments

@marc-hb
Copy link

marc-hb commented Dec 22, 2024

Description

This is a documentation gap; there is no specific category for that so filing as a "bug".

As detailed in #514 (comment) and many others, ninja is probably the most popular tool for building C/C++. It's also used outside C/C++ Unsurprisingly, including ninja in the default image has been requested many times over the years:

This has been rejected every time. One of the answers given practically every time: "it's easy to install at run time".

Because ninja is the top C/C++ build tool, how to install it should be in the official documentation.
https://docs.github.com/en/search?query=ninja

The official documentation should either:

As of now, installing ninja requires searching closed issues for scattered, conflicting and out of date advice. Random tips to install ninja on Windows vary (either vcpkg that comes and goes, unreliable choco, other?), mac recommendations are very slow (brew) and Linux samples miss the important and non-obvious "apt-get update" pre-requirement #2924

From #8348 (comment)

"The instrument is extremely easy to install in runtime."

I don't think it is "extremely" easy, see above. But if it truly is, then documenting this will be too.

cc: @erik-bershel, @Darleev, @alepauly, @miketimeofeev, @maxim-lobanov, @dibir-magomedsaygitov

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

This is a documentation gap; there was no category for that.

Is it regression?

No

Expected behavior

https://docs.github.com/en/search?query=ninja shows something

Actual behavior

https://docs.github.com/en/search?query=ninja shows nothing

Repro steps

https://docs.github.com/en/search?query=ninja

@RaviAkshintala
Copy link
Contributor

Hi @marc-hb Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

@Toxe
Copy link

Toxe commented Dec 23, 2024

Thank you for bringing this up. (Even though this shouldn't be an issue in the first place.)

@kelvinphilip889
Copy link

It will be rectify soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants