Skip to content

Instantly share code, notes, and snippets.

@puremourning
Last active July 9, 2024 19:10
Show Gist options
  • Save puremourning/6aeb88b5a100bb6eb5dd11dbaf82dcbb to your computer and use it in GitHub Desktop.
Save puremourning/6aeb88b5a100bb6eb5dd11dbaf82dcbb to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# set up the proxy
proxy_port="TODO: Proxy Port"
proxy_host="TODO: Porxy host"
user="TODO: proxy user"
password="TODO: proxy password"
# ---
export http_proxy="http://$user:$password@$proxy_host:$proxy_port"
export https_proxy="http://$user:$password@$proxy_host:$proxy_port"
export ftp_proxy="ftp://$user:$password@$proxy_host:$proxy_port"
export http_proxy_user="$user"
export http_proxy_password="$password"
export http_proxy_address="$proxy_host"
export http_proxy_port="$proxy_port"
export HTTP_PROXY="${http_proxy}"
export HTTPS_PROXY="${http_proxy}"
# ---
export EXTRA_CMAKE_ARGS="-DPATH_TO_LLVM_ROOT=TODO:/path/to/custom/clang"
export GOPROXY=direct
python3 ./install.py --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment