Cygwin
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 205
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to run in mx in cygwin, but am getting:
WARNING: No platform-specific definition is available for library NINJA for your OS (cygwin) library NINJA: Library without "path" attribute must have a non-empty "urls" list attribute or "maven" attribute
when just doing mx update.
pebl@stationary /cygdrive/d/shared/git/mx $ which ninja /usr/bin/ninja pebl@stationary /cygdrive/d/shared/git/mx $ ninja --version 1.9.0 pebl@stationary /cygdrive/d/shared/git/mx $ uname -a CYGWIN_NT-6.1 stationary 3.0.4(0.338/5/3) 2019-03-16 09:50 x86_64 Cygwin
Adding
"cygwin" : {
"amd64" : {
"urls" : ["https://github.com/ninja-build/ninja/releases/download/v{version}/ninja-win.zip"],
"sha1" : "637cc6e144f5cc7c6388a30f3c32ad81b2e0442e"
}
},
to mx.mx/suite.py, seems to help, but I dont know if this is the right way.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the NINJA definition in mx.mx/suite.py and compare its platform-specific entries with the reported Cygwin environment. Verify the chosen mapping with mx update on Cygwin and confirm that the warning disappears and Ninja remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100