sdf-labs / sdf-cli

This is the main repository for SDF documentation found at docs.sdf.com, as well as public schemas, benchmarks, and examples
45 stars 4 forks source link

Installer doesn't work with some arm64 platforms #18

Open kalona opened 5 days ago

kalona commented 5 days ago

Describe the bug This fails on some arm64 platforms: curl -LSfs https://cdn.sdf.com/releases/download/install.sh | sh -s

To Reproduce Steps to reproduce the behavior: curl -LSfs https://cdn.sdf.com/releases/download/install.sh | sh -s

image

Additional context The issue is when this command returns something different than expected in the install.sh: if [ "$cpu_arch_target" = "arm64" ]; then target="aarch64-unknown-linux-gnu"

❯ uname -m aarch64

The solution could be to add one more condition to the if statement:

if [ "$cpu_arch_target" = "arm64" ] || [ "$cpu_arch_target" = "aarch64" ]; then target="aarch64-unknown-linux-gnu"

image