mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Add comments to site-setup for new gcc
This commit is contained in:
parent
83449c16ab
commit
f0268a011a
@ -424,9 +424,12 @@ if [ ! -e "${RISCV}"/site-setup.sh ]; then
|
|||||||
wget https://raw.githubusercontent.com/openhwgroup/cvw/main/site-setup.csh
|
wget https://raw.githubusercontent.com/openhwgroup/cvw/main/site-setup.csh
|
||||||
# Add necessary lines to site-setup script to activate newer version of gcc for older distros
|
# Add necessary lines to site-setup script to activate newer version of gcc for older distros
|
||||||
if [ "$FAMILY" = rhel ]; then
|
if [ "$FAMILY" = rhel ]; then
|
||||||
|
echo "# Activate newer gcc version" >> site-setup.sh
|
||||||
echo "source /opt/rh/gcc-toolset-13/enable" >> site-setup.sh
|
echo "source /opt/rh/gcc-toolset-13/enable" >> site-setup.sh
|
||||||
elif [ "$UBUNTU_VERSION" = 20 ]; then
|
elif [ "$UBUNTU_VERSION" = 20 ]; then
|
||||||
|
echo "# Activate newer gcc version" >> site-setup.sh
|
||||||
echo "export PATH=\$RISCV/gcc-10/bin:\$PATH" >> site-setup.sh
|
echo "export PATH=\$RISCV/gcc-10/bin:\$PATH" >> site-setup.sh
|
||||||
|
echo "# Activate newer gcc version" >> site-setup.csh
|
||||||
echo "prepend PATH \$RISCV/gcc-10/bin" >> site-setup.csh
|
echo "prepend PATH \$RISCV/gcc-10/bin" >> site-setup.csh
|
||||||
fi
|
fi
|
||||||
echo -e "${SUCCESS_COLOR}Site setup script successfully downloaded${ENDC}"
|
echo -e "${SUCCESS_COLOR}Site setup script successfully downloaded${ENDC}"
|
||||||
|
Loading…
Reference in New Issue
Block a user