Skip to content

Commit 151a759

Browse files
committed
Add linux-riscv64 toolset.
Closes #22.
1 parent 7d4bc6d commit 151a759

File tree

5 files changed

+24
-2
lines changed

5 files changed

+24
-2
lines changed

PACKAGE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ projects.
1010
pattern `Vezel.Zig.Toolsets.<rid>` is published, where `<rid>` is replaced
1111
with `linux-arm64`, `osx-x64`, `win-x86`, etc.
1212
* Only the RIDs that .NET runs on are covered (so e.g.
13-
`Vezel.Zig.Toolsets.linux-riscv64` is *not* available).
13+
`Vezel.Zig.Toolsets.linux-x86` is *not* available).
1414
* The package version matches the official Zig release's version, with an extra
1515
fourth component added indicating the packaging version.
1616

@@ -22,6 +22,8 @@ This project offers the following packages:
2222
Provides the toolset for the `linux-arm64` build platform.
2323
* [Vezel.Zig.Toolsets.linux-ppc64le](https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-ppc64le):
2424
Provides the toolset for the `linux-ppc64le` build platform.
25+
* [Vezel.Zig.Toolsets.linux-riscv64](https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-riscv64):
26+
Provides the toolset for the `linux-riscv64` build platform.
2527
* [Vezel.Zig.Toolsets.linux-x64](https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-x64):
2628
Provides the toolset for the `linux-x64` build platform.
2729
* [Vezel.Zig.Toolsets.osx-arm64](https://www.nuget.org/packages/Vezel.Zig.Toolsets.osx-arm64):

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ projects.
3333
pattern `Vezel.Zig.Toolsets.<rid>` is published, where `<rid>` is replaced
3434
with `linux-arm64`, `osx-x64`, `win-x86`, etc.
3535
* Only the RIDs that .NET runs on are covered (so e.g.
36-
`Vezel.Zig.Toolsets.linux-riscv64` is *not* available).
36+
`Vezel.Zig.Toolsets.linux-x86` is *not* available).
3737
* The package version matches the official Zig release's version, with an extra
3838
fourth component added indicating the packaging version.
3939

@@ -46,6 +46,7 @@ This project offers the following packages:
4646
| [![Vezel.Zig.Toolsets.linux-arm][linux-arm-img]][linux-arm-pkg] | Provides the toolset for the `linux-arm` build platform. | ![Downloads][linux-arm-dls] |
4747
| [![Vezel.Zig.Toolsets.linux-arm64][linux-arm64-img]][linux-arm64-pkg] | Provides the toolset for the `linux-arm64` build platform. | ![Downloads][linux-arm64-dls] |
4848
| [![Vezel.Zig.Toolsets.linux-ppc64le][linux-ppc64le-img]][linux-ppc64le-pkg] | Provides the toolset for the `linux-ppc64le` build platform. | ![Downloads][linux-ppc64le-dls] |
49+
| [![Vezel.Zig.Toolsets.linux-riscv64][linux-riscv64-img]][linux-riscv64-pkg] | Provides the toolset for the `linux-riscv64` build platform. | ![Downloads][linux-riscv64-dls] |
4950
| [![Vezel.Zig.Toolsets.linux-x64][linux-x64-img]][linux-x64-pkg] | Provides the toolset for the `linux-x64` build platform. | ![Downloads][linux-x64-dls] |
5051
| [![Vezel.Zig.Toolsets.osx-arm64][osx-arm64-img]][osx-arm64-pkg] | Provides the toolset for the `osx-arm64` build platform. | ![Downloads][osx-arm64-dls] |
5152
| [![Vezel.Zig.Toolsets.osx-x64][osx-x64-img]][osx-x64-pkg] | Provides the toolset for the `osx-x64` build platform. | ![Downloads][osx-x64-dls] |
@@ -56,6 +57,7 @@ This project offers the following packages:
5657
[linux-arm-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-arm
5758
[linux-arm64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-arm64
5859
[linux-ppc64le-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-ppc64le
60+
[linux-riscv64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-riscv64
5961
[linux-x64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-x64
6062
[osx-arm64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.osx-arm64
6163
[osx-x64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.osx-x64
@@ -66,6 +68,7 @@ This project offers the following packages:
6668
[linux-arm-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-arm?label=Vezel.Zig.Toolsets.linux-arm
6769
[linux-arm64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-arm64?label=Vezel.Zig.Toolsets.linux-arm64
6870
[linux-ppc64le-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-ppc64le?label=Vezel.Zig.Toolsets.linux-ppc64le
71+
[linux-riscv64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-riscv64?label=Vezel.Zig.Toolsets.linux-riscv64
6972
[linux-x64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-x64?label=Vezel.Zig.Toolsets.linux-x64
7073
[osx-arm64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.osx-arm64?label=Vezel.Zig.Toolsets.osx-arm64
7174
[osx-x64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.osx-x64?label=Vezel.Zig.Toolsets.osx-x64
@@ -76,6 +79,7 @@ This project offers the following packages:
7679
[linux-arm-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-arm?label=
7780
[linux-arm64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-arm64?label=
7881
[linux-ppc64le-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-ppc64le?label=
82+
[linux-riscv64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-riscv64?label=
7983
[linux-x64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-x64?label=
8084
[osx-arm64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.osx-arm64?label=
8185
[osx-x64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.osx-x64?label=
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ZigToolsetPath>$([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)../tools'))</ZigToolsetPath>
4+
<ZigExePath>$([MSBuild]::NormalizePath('$(ZigToolsetPath)zig'))</ZigExePath>
5+
<ZigLibPath>$([MSBuild]::NormalizeDirectory('$(ZigToolsetPath)lib'))</ZigLibPath>
6+
<ZigDocPath>$([MSBuild]::NormalizeDirectory('$(ZigToolsetPath)doc'))</ZigDocPath>
7+
</PropertyGroup>
8+
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<Project />
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project Sdk="Microsoft.Build.NoTargets">
2+
<PropertyGroup>
3+
<ZigBuildRuntime>linux-riscv64</ZigBuildRuntime>
4+
<ZigArchiveName>linux-riscv64</ZigArchiveName>
5+
<ZigArchiveType>tar.xz</ZigArchiveType>
6+
</PropertyGroup>
7+
</Project>

0 commit comments

Comments
 (0)