Merge 4de3a6236e59f7170b93367730516896faafe868 into 08d627c3338173c3229286d8787060d6559fe0f8

This commit is contained in:
DayDaySpeed 2026-06-01 20:18:31 +08:00 committed by GitHub
commit ff97b13197
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,8 +196,14 @@ if [ "$(uname)" != "Darwin" ]; then
echo -e "${INFO}Detected GCC Version: $gcc_major_version" echo -e "${INFO}Detected GCC Version: $gcc_major_version"
echo -e "${INFO}Skip Installing GCC & G++ From Conda-Forge" echo -e "${INFO}Skip Installing GCC & G++ From Conda-Forge"
echo -e "${INFO}Installing libstdcxx-ng From Conda-Forge" echo -e "${INFO}Installing libstdcxx-ng From Conda-Forge"
run_conda_quiet "libstdcxx-ng>=$gcc_major_version" # Arch GCC 16+: conda 尚无 libstdcxx-ng>=16装最新版即可
echo -e "${SUCCESS}libstdcxx-ng=$gcc_major_version Installed..." if [ "$gcc_major_version" -gt 15 ]; then
run_conda_quiet libstdcxx-ng
echo -e "${SUCCESS}libstdcxx-ng (latest) Installed..."
else
run_conda_quiet "libstdcxx-ng>=$gcc_major_version"
echo -e "${SUCCESS}libstdcxx-ng=$gcc_major_version Installed..."
fi
fi fi
else else
if ! xcode-select -p &>/dev/null; then if ! xcode-select -p &>/dev/null; then