Skip to content

Add RISC-V 64 bit - #4894

Merged
Xiang Li (python3kgae) merged 1 commit into
microsoft:mainfrom
FantasqueX:riscv-port-1
Dec 30, 2022
Merged

Xiang Li (python3kgae) merged 1 commit into
microsoft:mainfrom
FantasqueX:riscv-port-1

Conversation

@FantasqueX

Copy link
Copy Markdown
Contributor
  • Add riscv64 target to config.guess
  • Update config-ix.cmake to update config-ix.cmake to support riscv64
  • Tested on riscv64

I created a similar PR previously which was closed because we should use the latest GPLv2 version of config.guess. x264 project has the same issue and they solved it by only adding riscv64 support to current config.guess. I think same thing could be done in DirectXShaderCompiler.

Ref:

  1. build: update config.guess and config-ix.cmake #4690
  2. https://code.videolan.org/videolan/x264/-/merge_requests/121

- Add riscv64 target to config.guess
- Update config-ix.cmake to update config-ix.cmake to support riscv64
- Tested on riscv64

@llvm-beanz Chris B (llvm-beanz) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@llvm-beanz

Copy link
Copy Markdown
Collaborator

Thank you for understanding and being sensitive to our licensing restrictions.

@AppVeyorBot

Copy link
Copy Markdown

@FantasqueX

Copy link
Copy Markdown
Contributor Author

Hi, it's been more than a week since this PR was approved. I wonder when it can be merged. Thanks!

@python3kgae
Xiang Li (python3kgae) merged commit a0b6fc1 into microsoft:main Dec 30, 2022
@python3kgae

Copy link
Copy Markdown
Contributor

Hi, it's been more than a week since this PR was approved. I wonder when it can be merged. Thanks!

Merged.
Happy new year.

AMX (aimixsaka) added a commit to aimixsaka/archriscv-packages that referenced this pull request Nov 1, 2023
- riscv port microsoft/DirectXShaderCompiler#4894 has been merged by upstream
- Successfully built without patch
AMX (aimixsaka) added a commit to aimixsaka/archriscv-packages that referenced this pull request Nov 1, 2023
- riscv port microsoft/DirectXShaderCompiler#4894 has been merged by upstream
- Successfully built without patch
Felix Yan (felixonmars) pushed a commit to felixonmars/archriscv-packages that referenced this pull request Nov 1, 2023
- riscv port microsoft/DirectXShaderCompiler#4894 has been merged by upstream
- Successfully built without patch
Steven Perron (s-perron) pushed a commit that referenced this pull request May 30, 2025
[LoongArch](https://docs.kernel.org/arch/loongarch/introduction.html) is
a new RISC ISA developed by loongson. There are already a lot of
[community support and
testing](https://www.phoronix.com/search/LoongArch) about it. Like #4894
, this PR add support for LoongArch 64bit.

- Add loongarch64 target to config.guess
- Update config-ix.cmake to support loongarch64
- Tested on loongarch64, see the [build
log](https://github.com/user-attachments/files/17893008/directx-shader-compiler-1.8.2407-1-loong64-build.log)

Signed-off-by: Zhou Qiankang <[email protected]>
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.

4 participants