-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
python x.py setup complains about missing ninja #84938
Comments
Note: to reproduce this, run |
I've ran into this too. It'd be nice if setup could put ninja=false in config.toml automatically. Otherwise it's a funny situation where it requires config.toml in order to create the config.toml. |
The error message doesn't say in which section to put |
@kornelski it goes in the llvm section |
Note that `ninja = false` goes under `[llvm]` Addresses rust-lang#84938 (comment) - `@kornelski` does this look good? r? `@Mark-Simulacrum` cc `@joshtriplett`
Hi, I'm setting up a checkout of the Rust repository on a Windows machine. I would like to run
x.py setup
to generate aconfig.toml
file with thelibrary
profile.x.py
aborts due to ninja not being installed, even though this does not appear to be necessary for the library profile becausex.py
fetches pre-built copies of LLVM.To work around this I had to copy the example config and manually modify the ninja setting to false. Running
x.py setup
again returns an error since the config file already exists, although it does suggest setting a top-levelprofile
key.This is a speedbump on the road to contributing.
The text was updated successfully, but these errors were encountered: