Add Xcode-Commandline-Tool Installation

This commit is contained in:
XXXXRT666 2025-05-04 12:12:17 +01:00
parent 3e177aaaae
commit 04aaa6ae34

View File

@ -131,6 +131,22 @@ if [ "$(uname)" != "Darwin" ]; then
echo "Installing G++..."
conda install -c conda-forge gxx -q -y
else
if ! xcode-select -p &>/dev/null; then
echo "Installing Xcode Command Line Tools..."
xcode-select --install
fi
echo "Waiting For Xcode Command Line Tools Installation Complete..."
while true; do
sleep 20
if xcode-select -p &>/dev/null; then
echo "Xcode Command Line Tools Installed"
break
else
echo "InstallingPlease Wait..."
fi
done
fi
echo "Installing ffmpeg and cmake..."