From a93b9bb5c996bb7bcd050b21176d2d4184d73bcb Mon Sep 17 00:00:00 2001 From: John Sirois Date: Wed, 11 Dec 2024 11:36:30 -0800 Subject: [PATCH] Add support for Linux s390x. --- .github/workflows/ci.yml | 3 +++ .github/workflows/release.yml | 3 +++ CHANGES.md | 4 ++++ Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 4 ++-- 6 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5edebbf..020c16b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,9 @@ jobs: - os: ubuntu-24.04 name: Linux armv7l (musl) cross-target: armv7-unknown-linux-musleabihf + - os: ubuntu-24.04 + name: Linux s390x + cross-target: s390x-unknown-linux-gnu - os: macos-13 name: macOS x86-64 - os: macos-14 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 479c720..205ac7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,9 @@ jobs: - os: ubuntu-24.04 name: Linux armv7l cross-target: armv7-unknown-linux-musleabihf + - os: ubuntu-24.04 + name: Linux s390x + cross-target: s390x-unknown-linux-gnu - os: macos-13 name: macOS x86-64 - os: macos-14 diff --git a/CHANGES.md b/CHANGES.md index 1a26e97..045b206 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Release Notes +## 1.4.0 + +This release adds support for Linux s390x. + ## 1.3.0 This release adds support for Linux ARM (armv7l and armv8l 32 bit mode). diff --git a/Cargo.lock b/Cargo.lock index e5be04f..22e4ebe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -608,7 +608,7 @@ dependencies = [ [[package]] name = "ptex" -version = "1.3.0" +version = "1.4.0" dependencies = [ "anyhow", "curl", diff --git a/Cargo.toml b/Cargo.toml index c78556b..5d18afc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ members = [ [package] name = "ptex" -version = "1.3.0" +version = "1.4.0" edition = "2021" authors = [ "John Sirois ", diff --git a/README.md b/README.md index c2ccec3..6fbb66c 100644 --- a/README.md +++ b/README.md @@ -142,8 +142,8 @@ distribution is ~28M: ## Building `ptex` The `ptex` binary is [released](https://github.com/a-scie/ptex/releases) for Linux (x86_64, -aarch64 & armv7l), macOS (x86_64 & aarch64) and Windows (x86_64 & aarch64). If you'd like to build -your own copy, you'll need [Rust installed](https://rustup.rs/) at which point you can run +aarch64, armv7l & s390x), macOS (x86_64 & aarch64) and Windows (x86_64 & aarch64). If you'd like tox +build your own copy, you'll need [Rust installed](https://rustup.rs/) at which point you can run `cargo run -p package` and a binary for your current machine will be built in `dist/` along with a sha256 checksum file. For more build options, you can run `cargo run -p package -- --help`. On some systems, builds will require `cmake`, `make` and `perl` in order to build various `*-sys` crates.