Skip to content

Add a CPU constraint for loongarch64.#133

Merged
gregestren merged 1 commit into
bazelbuild:mainfrom
katre:i107-loongarch64-support
Apr 30, 2026
Merged

Add a CPU constraint for loongarch64.#133
gregestren merged 1 commit into
bazelbuild:mainfrom
katre:i107-loongarch64-support

Conversation

@katre
Copy link
Copy Markdown
Contributor

@katre katre commented Apr 20, 2026

Based on https://en.wikipedia.org/wiki/Loongson, the architecture name seems to be "loongarch", so using "loongarch64" to distinguish the 64-bit variant seems useful. Given that this is new, I do not see a value in adding an alias for loong64 since that seems likely to confuse users about which name is correct.

Fixes #107.

@katre
Copy link
Copy Markdown
Contributor Author

katre commented Apr 20, 2026

Ping @gregestren

Based on https://en.wikipedia.org/wiki/Loongson, the architecture name
seems to be "loongarch", so using "loongarch64" to distinguish the
64-bit variant seems useful. Given that this is new, I do not see a
value in adding an alias for `loong64` since that seems likely to
confuse users about which name is correct.

Fixes bazelbuild#107.
@katre katre force-pushed the i107-loongarch64-support branch from 79ca32d to 0d7f599 Compare April 30, 2026 15:31
@gregestren gregestren merged commit dbae6fc into bazelbuild:main Apr 30, 2026
2 checks passed
@katre katre deleted the i107-loongarch64-support branch April 30, 2026 16:53
@jan-wassenberg
Copy link
Copy Markdown

Nice :)

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.

Add loongarch64 support

3 participants