Skip to content

swiftshader: add riscv64 default condition to select() blocks#2379

Merged
Databean merged 1 commit intogoogle:mainfrom
monkey-jsun:pr/swiftshader-riscv64
Apr 14, 2026
Merged

swiftshader: add riscv64 default condition to select() blocks#2379
Databean merged 1 commit intogoogle:mainfrom
monkey-jsun:pr/swiftshader-riscv64

Conversation

@monkey-jsun
Copy link
Copy Markdown
Contributor

The LLVM backend sources select() in BUILD.swiftshader.bazel only lists
x86_64 and aarch64 entries. On riscv64 Bazel fails with 'no matching
condition'. Add //conditions:default: [] so riscv64 falls through to
pure C/software rendering (SwiftShader's CPU renderer works without
arch-specific LLVM backends).

Comment thread base/cvd/build_external/swiftshader/BUILD.swiftshader.bazel Outdated
The LLVM backend sources select() in BUILD.swiftshader.bazel only lists
x86_64 and aarch64 entries. Currently riscv64 Bazel fails with 'no matching
condition'. Add "@platforms//cpu:riscv64: []" so riscv64 falls through to
pure C/software rendering without JIT backend compilation.
@monkey-jsun monkey-jsun force-pushed the pr/swiftshader-riscv64 branch from 5f6fd23 to 2223aa8 Compare April 11, 2026 16:00
@jmacnak jmacnak added the kokoro:run Run e2e tests. label Apr 14, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Apr 14, 2026
@Databean Databean added this pull request to the merge queue Apr 14, 2026
Merged via the queue into google:main with commit af6a594 Apr 14, 2026
27 checks passed
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.

5 participants