Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ jobs:
compress_cmd: tar -czf
compress_ext: .tar.gz

- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
artifact_name: popcorn-cli
asset_name: popcorn-cli-linux-aarch64.tar.gz
compress_cmd: tar -czf
compress_ext: .tar.gz

steps:
- uses: actions/checkout@v4

Expand All @@ -75,12 +82,6 @@ jobs:
with:
key: ${{ matrix.target }}

- name: Install cross-compilation dependencies (Linux ARM)
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu

- name: Install musl tools (Linux musl)
if: matrix.target == 'x86_64-unknown-linux-musl'
run: |
Expand Down Expand Up @@ -129,6 +130,7 @@ jobs:
name: Release ${{ needs.version.outputs.new_tag }}
files: |
popcorn-cli-linux.tar.gz/popcorn-cli-linux.tar.gz
popcorn-cli-linux-aarch64.tar.gz/popcorn-cli-linux-aarch64.tar.gz
popcorn-cli-windows.zip/popcorn-cli-windows.zip
popcorn-cli-macos.tar.gz/popcorn-cli-macos.tar.gz
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
rust: [stable]

steps:
Expand Down
11 changes: 8 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ SYMLINK_NAME=""
EXTENSION=""

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
OS="linux"
ARCH=$(uname -m)
if [[ "$ARCH" == "aarch64" || "$ARCH" == "arm64" ]]; then
OS="linux-aarch64"
else
OS="linux"
fi
EXTENSION=".tar.gz"
BINARY_NAME="popcorn-cli"
SYMLINK_NAME="popcorn"
Expand All @@ -47,7 +52,7 @@ else
exit 1
fi

echo "✅ Detected OS: $OS"
echo "✅ Detected OS: $OS ($(uname -m))"

# Download URL
DOWNLOAD_URL="https://github.com/gpu-mode/popcorn-cli/releases/latest/download/popcorn-cli-${OS}${EXTENSION}"
Expand Down Expand Up @@ -149,4 +154,4 @@ echo " - ✅ All modes available: test, benchmark, leaderboard, profile"
echo " - ✅ Clean user identification"
echo ""
echo "💡 Need help? Run: popcorn-cli --help"
echo "🔗 Example: popcorn-cli submit --gpu MI300 --leaderboard amd-fp8-mm --mode test example.py"
echo "🔗 Example: popcorn-cli submit --gpu MI300 --leaderboard amd-fp8-mm --mode test example.py"
Loading