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

System architecture aarch64 is not detected as arm #346

Open
mugglmenzel opened this issue Sep 9, 2019 · 1 comment
Open

System architecture aarch64 is not detected as arm #346

mugglmenzel opened this issue Sep 9, 2019 · 1 comment

Comments

@mugglmenzel
Copy link

Some devices with arm architecture are indicated by the java system property "os.arch" as aarch64 (e.g. the Coral Dev Board).
However, the current arch detection mechanism in PlatformHelper would identify such a device (or OS) as x64:
https://github.com/srs/gradle-node-plugin/blob/master/src/main/groovy/com/moowork/gradle/node/util/PlatformHelper.groovy#L59

Thereby the wrong nodejs version is downloaded and cannot be installed on those devices. The whole build process fails.

@deepy
Copy link

deepy commented Sep 11, 2019

We re-arranged the conditionals and added a startsWith('aarch') in the https://github.com/node-gradle/gradle-node-plugin fork, which should hopefully solve this

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

No branches or pull requests

2 participants