Skip to content

Instantly share code, notes, and snippets.

@danielsuo
Created December 4, 2020 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielsuo/0a2d751878db7e03fe933be5bccd9e33 to your computer and use it in GitHub Desktop.
Save danielsuo/0a2d751878db7e03fe933be5bccd9e33 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Install jaxlib
sudo apt install g++ python3 python3-pip python python3-dev
pip install numpy scipy six wheel
BAZEL_VERSION=3.7.1
BAZEL_EXECUTABLE=bazel-$BAZEL_VERSION-linux-arm64
wget https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/$BAZEL_EXECUTABLE
chmod +x $BAZEL_EXECUTABLE
python3 build/build.py --bazel_path BAZEL_EXECUTABLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment