graalvm / graalvm/mx

Cygwin

Open
#188 4 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.