Skip to content

Commit

Permalink
恢复 linux riscv64 支持
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack253-png committed Jan 15, 2025
1 parent 9e5a3e6 commit 11bc228
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ jobs:
libc_arch: ppc64el
loaderarch: ppc64le

- os: ubuntu-22.04
name: Linux (riscv64)
plat: linux
arch: riscv64
triplet: riscv64-linux-gnu
libc_arch: riscv64
loaderarch: riscv64

- os: ubuntu-22.04
name: Linux (loongarch64)
plat: linux
Expand Down
4 changes: 3 additions & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ includes("extlibs/meshoptimizer.lua")
includes("extlibs/yoga.lua")
includes("extlibs/stb.lua")
if not is_plat("bsd") then
includes("extlibs/shaderc.lua")
if not is_plat("linux") or not is_arch("riscv64") then
includes("extlibs/shaderc.lua")
end
end

if not is_plat("iphoneos", "harmony") then
Expand Down

0 comments on commit 11bc228

Please sign in to comment.