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
64 stars 6 forks source link

Installer doesn't work with some arm64 platforms #18

Closed kalona closed 1 week ago

kalona commented 1 month 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

eliasdefaria commented 2 weeks ago

Thanks @kalona! Fix for this will be out in the next preview release

venkaa28 commented 1 week ago

@kalona The fix for this is out and is available in both our latest stable and preview releases!