Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Nov 26, 2024
1 parent 42c32bc commit 1934ab2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .buildkite/secure_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ steps:
curl -fLO "https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-darwin"
mv bazelisk-darwin .local/bin/bazel
chmod +x .local/bin/bazel
if [ "{{matrix.arch}}" == "aarch64" ]; then
sed -i.bak 's~targets = \[.*\]~targets = \[\"AArch64\", \"AMDGPU\"]~g' WORKSPACE
curl -fLO https://repo.anaconda.com/miniconda/Miniconda3-py3`echo {{matrix.python}} | cut -c 3-`_24.7.1-0-MacOSX-arm64.sh
else
sed -i.bak 's~targets = \[.*\]~targets = \[\"X86\", \"AMDGPU\"]~g' WORKSPACE
curl -fLO https://repo.anaconda.com/miniconda/Miniconda3-py3`echo {{matrix.python}} | cut -c 3-`_24.7.1-0-MacOSX-{{matrix.arch}}.sh
fi
chmod +x Miniconda*.sh
./Miniconda*.sh -b -p `pwd`/conda
rm Miniconda*.sh
elif [ "{{matrix.os}}" == "linux" ]; then
if [ "{{matrix.arch}}" == "aarch64" ]; then
curl -fLO https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-arm64
Expand Down

0 comments on commit 1934ab2

Please sign in to comment.