Last active
December 1, 2024 22:59
-
-
Save cat658011/9462b1778231226b4fae0171a8cf1fd3 to your computer and use it in GitHub Desktop.
Neutron clang setuper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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