Skip to content

Commit

Permalink
Fix powerpc64 and powerpc64le Python wheel platform tag for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Nov 30, 2022
1 parent 91aa870 commit ec3544e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Fix wrong platform tag when building in armv7 docker container on aarch64 host in [#1303](https://github.com/PyO3/maturin/pull/1303)
* Add Solaris operating system support in [#1310](https://github.com/PyO3/maturin/pull/1310)
* Add armv6 and armv7 target support for FreeBSD in [#1312](https://github.com/PyO3/maturin/pull/1312)
* Add riscv64 target support for FreeBSD in [#1313](https://github.com/PyO3/maturin/pull/1313)
* Add riscv64 and powerpc target support for FreeBSD in [#1313](https://github.com/PyO3/maturin/pull/1313)
* Fix powerpc64 and powerpc64le Python wheel platform tag for FreeBSD in [#1313](https://github.com/PyO3/maturin/pull/1313)

## [0.14.2] - 2022-11-24

Expand Down
4 changes: 2 additions & 2 deletions src/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ impl Target {
| (Os::FreeBsd, Arch::Aarch64)
| (Os::FreeBsd, Arch::Armv6L)
| (Os::FreeBsd, Arch::Armv7L)
| (Os::FreeBsd, Arch::Powerpc)
| (Os::FreeBsd, Arch::Powerpc64)
| (Os::FreeBsd, Arch::Powerpc64Le)
| (Os::FreeBsd, Arch::Riscv64)
Expand All @@ -258,8 +259,7 @@ impl Target {
Arch::X86 => "i386",
Arch::Aarch64 => "arm64",
Arch::Armv6L | Arch::Armv7L => "arm",
Arch::Powerpc64 => "powerpc64",
Arch::Powerpc64Le => "powerpc64le",
Arch::Powerpc | Arch::Powerpc64 | Arch::Powerpc64Le => "powerpc",
Arch::Riscv64 => "riscv",
_ => panic!(
"unsupported architecture should not have reached get_platform_tag()"
Expand Down

0 comments on commit ec3544e

Please sign in to comment.