Skip to content

Instantly share code, notes, and snippets.

@cat658011
Last active December 1, 2024 22:59
Show Gist options
  • Save cat658011/9462b1778231226b4fae0171a8cf1fd3 to your computer and use it in GitHub Desktop.
Save cat658011/9462b1778231226b4fae0171a8cf1fd3 to your computer and use it in GitHub Desktop.
Neutron clang setuper
#!/bin/bash
set -e
if [ ! -e toolchain ]; then
echo 'mkdir toolchain'
mkdir toolchain
elif [ ! -d toolchain ]; then
echo '$(pwd)/toolchain is not a directory'
exit 1
fi
echo 'Download antman and sync'
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") -S=latest
echo 'Patch for glibc'
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") --patch=glibc
echo 'Done'
cd ../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment