Skip to content

Commit

Permalink
↩️ Revert changes in install_go.sh & remove install_zig.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
arjxn-py committed Apr 19, 2024
1 parent 2c50a0d commit 0645456
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 35 deletions.
12 changes: 6 additions & 6 deletions scripts/ci/tools/linux/install_go.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/bash
# !#/bin/bash

# Small script to install Golang into a PyPA manylinux2014 Docker container

apt-get update && apt-get install -y wget
yum install -y wget

arch=$(uname -m)

if [ "$arch" == "x86_64" ]; then
tarball="go1.22.1.linux-amd64.tar.gz"
elif [ "$arch" == "aarch64" ] || [ "$arch" == "arm64" ]; then
tarball="go1.22.1.linux-arm64.tar.gz"
tarball="go1.22.2.linux-amd64.tar.gz"
elif [[ "$arch" == "aarch64" || "$arch" == "arm64" ]]; then
tarball="go1.22.2.linux-arm64.tar.gz"
else
echo "Unsupported architecture: $arch"
exit 1
Expand All @@ -20,4 +20,4 @@ mkdir $HOME/go_installed/
tar -C $HOME/go_installed/ -xzf $tarball
export PATH=$PATH:$HOME/go_installed/go/bin >> ~/.bashrc
export PATH=$PATH:$HOME/go_installed/go/bin >> ~/.bash_profile
go version
go version
29 changes: 0 additions & 29 deletions scripts/ci/tools/linux/install_zig.sh

This file was deleted.

0 comments on commit 0645456

Please sign in to comment.