diff --git a/Changelog.md b/Changelog.md index a1b1fc07b..ba2a8c5d9 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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 diff --git a/src/target.rs b/src/target.rs index f04e124bf..8263af92a 100644 --- a/src/target.rs +++ b/src/target.rs @@ -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) @@ -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()"