Skip to content

Commit 7cb9967

Browse files
authored
Add upcoming versions of clang and gcc (#7982)
1 parent ef01d47 commit 7cb9967

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

eng/common/native/init-compiler.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ if [[ -z "$CLR_CC" ]]; then
5050
# Set default versions
5151
if [[ -z "$majorVersion" ]]; then
5252
# note: gcc (all versions) and clang versions higher than 6 do not have minor version in file name, if it is zero.
53-
if [[ "$compiler" == "clang" ]]; then versions=( 12 11 10 9 8 7 6.0 5.0 4.0 3.9 3.8 3.7 3.6 3.5 )
54-
elif [[ "$compiler" == "gcc" ]]; then versions=( 11 10 9 8 7 6 5 4.9 ); fi
53+
if [[ "$compiler" == "clang" ]]; then versions=( 13 12 11 10 9 8 7 6.0 5.0 4.0 3.9 3.8 3.7 3.6 3.5 )
54+
elif [[ "$compiler" == "gcc" ]]; then versions=( 12 11 10 9 8 7 6 5 4.9 ); fi
5555

5656
for version in "${versions[@]}"; do
5757
parts=(${version//./ })

0 commit comments

Comments
 (0)