Skip to content

CIPD: Add riscv64 string to detect native riscv64. - #78

Open
Xeonacid wants to merge 1 commit into
google:mainfrom
Xeonacid:cipd-riscv64
Open

CIPD: Add riscv64 string to detect native riscv64.#78
Xeonacid wants to merge 1 commit into
google:mainfrom
Xeonacid:cipd-riscv64

Conversation

@Xeonacid

Copy link
Copy Markdown

That's what platform.machine reports on Linux, causing failure to build on riscv64.

Unclear whether we also need an emulated_x86-style fallback like arm64 has (detecting armv8 via platform.processor() when platform.machine() reports x86). What situations run x86 Python on arm64? And if platform.machine() is unreliable in that case, why not rely solely on platform.processor() instead?

@github-actions

Copy link
Copy Markdown

👋 Thanks for your contribution! Your PR has been imported to Gerrit.
Please visit https://dawn-review.googlesource.com/c/dawn/+/331475 to see it and CC yourself on the change.
After iterating on feedback, please comment on the Gerrit review to notify reviewers.
All reviews are handled within Gerrit, any comments on the GitHub PR may be missed.
You can continue to upload commits to this PR, and they will be automatically imported
into Gerrit.

That's what platform.machine reports on Linux,
causing failure to build on riscv64.

Unclear whether we also need an emulated_x86-style fallback
like arm64 has (detecting armv8 via platform.processor() when
platform.machine() reports x86). What situations run x86 Python
on arm64? And if platform.machine() is unreliable in that case,
why not rely solely on platform.processor() instead?
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

Successfully merging this pull request may close these issues.

1 participant