Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added s390x support #22

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rust_arch:
- x86_64-unknown-linux-gnu # [linux64]
- aarch64-unknown-linux-gnu # [aarch64]
- powerpc64le-unknown-linux-gnu # [ppc64le]
- s390x-unknown-linux-gnu # [s390x]
- x86_64-pc-windows-msvc # [win64]
- x86_64-apple-darwin # [osx and x86_64]
- aarch64-apple-darwin # [osx and arm64]
2 changes: 2 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ source:
sha256: bb601cbc057f704d9e028a4c0fab1430d4614b9f83bb73b0013ad2c347d751d7 # [linux and x86_64]
- url: https://static.rust-lang.org/dist/{{ year }}-{{ month }}-{{ day }}/rust-nightly-powerpc64le-unknown-linux-gnu.tar.gz # [ppc64le]
sha256: e0921ee9c2c3433b11079c91177ae3dcaf15139955938ae3c4422c55c99aa69b # [ppc64le]
- url: https://static.rust-lang.org/dist/{{ year }}-{{ month }}-{{ day }}/rust-nightly-s390x-unknown-linux-gnu.tar.gz # [s390x]
sha256: 3cff7a3f4ae9a04501b5556c73fdcc500c3b43c985043217b2cc8bfacf899d3b # [s390x]

build:
number: 1
Expand Down
2 changes: 2 additions & 0 deletions scripts/rust_activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
ARCH=`uname -p`
if [[ "${ARCH}" == 'ppc64le' ]]; then
rust_env_arch=POWERPC64LE_UNKNOWN_LINUX_GNU
elif [[ "${ARCH}" == 's390x' ]]; then
rust_env_arch=S390X_UNKNOWN_LINUX_GNU
else
rust_env_arch=X86_64_UNKNOWN_LINUX_GNU
fi
Expand Down
2 changes: 2 additions & 0 deletions scripts/rust_deactivate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
ARCH=`uname -p`
if [[ "${ARCH}" == 'ppc64le' ]]; then
rust_env_arch=POWERPC64LE_UNKNOWN_LINUX_GNU
elif [[ "${ARCH}" == 's390x' ]]; then
rust_env_arch=S390X_UNKNOWN_LINUX_GNU
else
rust_env_arch=X86_64_UNKNOWN_LINUX_GNU
fi
Expand Down
Loading