Skip to content

build: exit on unsupported host OS for Android - #52882

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
VoltrexKeyva:throw-unsup-os
May 25, 2024
Merged

build: exit on unsupported host OS for Android#52882
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
VoltrexKeyva:throw-unsup-os

Conversation

@VoltrexKeyva

Copy link
Copy Markdown
Contributor

The Android configure script throws an unhelpful error message telling the user that toolchain_path is not defined when the script is run on an unsupported host OS, exit with a more helpful message instead while listing the supported host OSes.

@VoltrexKeyvaVoltrexKeyva added build Issues and PRs related to build files or the CI. android Issues and PRs related to the android platform. labels May 8, 2024
@lpinca

Copy link
Copy Markdown
Member

Wouldn't it be better to fix it here

ifplatform.system() =="Windows":
print("android-configure is not supported on Windows yet.")
sys.exit(1)

The Android configure script throws an unhelpful error message telling
the user that `toolchain_path` is not defined when the script is run on
an unsupported host OS, exit with a more helpful message instead while
listing the supported host OSes.
@VoltrexKeyva

Copy link
Copy Markdown
ContributorAuthor

I assume this doesn't need a Jenkins CI right?

@VoltrexKeyvaVoltrexKeyva added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels May 25, 2024
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 25, 2024
@nodejs-github-bot
nodejs-github-bot merged commit 0cbbab9 into nodejs:mainMay 25, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 0cbbab9

@VoltrexKeyva
VoltrexKeyva deleted the throw-unsup-os branch May 25, 2024 10:11
targos pushed a commit that referenced this pull request Jun 1, 2024
The Android configure script throws an unhelpful error message telling
the user that `toolchain_path` is not defined when the script is run on
an unsupported host OS, exit with a more helpful message instead while
listing the supported host OSes.
PR-URL: #52882
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@RafaelGSSRafaelGSS mentioned this pull request Jun 7, 2024
eliphazbouye pushed a commit to eliphazbouye/node that referenced this pull request Jun 20, 2024
The Android configure script throws an unhelpful error message telling
the user that `toolchain_path` is not defined when the script is run on
an unsupported host OS, exit with a more helpful message instead while
listing the supported host OSes.
PR-URL: nodejs#52882
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
The Android configure script throws an unhelpful error message telling
the user that `toolchain_path` is not defined when the script is run on
an unsupported host OS, exit with a more helpful message instead while
listing the supported host OSes.
PR-URL: #52882
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@marco-ippolitomarco-ippolito mentioned this pull request Jul 19, 2024
@Balmasexy

Copy link
Copy Markdown

The Android configure script throws an unhelpful error message telling
the user that toolchain_path is not defined when the script is run on
an unsupported host OS, exit with a more helpful message instead while
listing the supported host OSes.
PR-URL: #52881
Reviewed-By: Luigi Pinca luigipinca@gmail.com
Reviewed-By: James M Snell jasnell@gmail.com

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

androidIssues and PRs related to the android platform.author readyPRs that have at least one approval, no pending requests for changes, and a CI started.buildIssues and PRs related to build files or the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@VoltrexKeyva@lpinca@nodejs-github-bot@Balmasexy@jasnell