Skip to content

Commit

Permalink
Add linux-ppc64le support.
Browse files Browse the repository at this point in the history
Closes #76.
  • Loading branch information
alexrp committed Jan 2, 2024
1 parent b423f1d commit da73c47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/sdk/build/Vezel.Zig.Sdk.Cross.Host.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
<PropertyGroup>
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-arm64'))">aarch64</HostArchitecture>
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-arm'))">arm</HostArchitecture>
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-ppc64le'))">powerpc64le</HostArchitecture>
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-x86'))">x86</HostArchitecture>
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-x64'))">x86_64</HostArchitecture>
</PropertyGroup>

<PropertyGroup>
<HostBits>32</HostBits>
<HostBits Condition="$(HostArchitecture.EndsWith('64'))">64</HostBits>
<HostBits Condition="$(HostArchitecture.Contains('64'))">64</HostBits>
</PropertyGroup>

<PropertyGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/sdk/build/Vezel.Zig.Sdk.Cross.Target.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
<PropertyGroup>
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-arm64'))">aarch64</TargetArchitecture>
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-arm'))">arm</TargetArchitecture>
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-ppc64le'))">powerpc64le</TargetArchitecture>
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-x86'))">x86</TargetArchitecture>
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-x64'))">x86_64</TargetArchitecture>
</PropertyGroup>

<PropertyGroup>
<TargetBits>32</TargetBits>
<TargetBits Condition="$(TargetArchitecture.EndsWith('64'))">64</TargetBits>
<TargetBits Condition="$(TargetArchitecture.Contains('64'))">64</TargetBits>
</PropertyGroup>

<PropertyGroup Condition="$(TargetRuntimeIdentifier.StartsWith('linux-'))">
Expand Down

0 comments on commit da73c47

Please sign in to comment.