diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index fb8eb660a9a68..c67e919139783 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -319,21 +319,21 @@ https://github.com/dotnet/arcade f4269875971171c278c2cd695e9ef94b6516e4be - + https://dev.azure.com/dnceng/internal/_git/dotnet-optimization - baa0269a2e1d895c328c64b6aa1bfad619a8cc7b + 85af145192ce699ffcc16bd1a7b565820b6a2dff - + https://dev.azure.com/dnceng/internal/_git/dotnet-optimization - baa0269a2e1d895c328c64b6aa1bfad619a8cc7b + 85af145192ce699ffcc16bd1a7b565820b6a2dff - + https://dev.azure.com/dnceng/internal/_git/dotnet-optimization - baa0269a2e1d895c328c64b6aa1bfad619a8cc7b + 85af145192ce699ffcc16bd1a7b565820b6a2dff - + https://dev.azure.com/dnceng/internal/_git/dotnet-optimization - baa0269a2e1d895c328c64b6aa1bfad619a8cc7b + 85af145192ce699ffcc16bd1a7b565820b6a2dff https://github.com/dotnet/hotreload-utils @@ -369,13 +369,13 @@ 2fd62c3936f5336b836f6b12df170aa0e90da767 - + https://dev.azure.com/dnceng/internal/_git/dotnet-optimization - baa0269a2e1d895c328c64b6aa1bfad619a8cc7b + 85af145192ce699ffcc16bd1a7b565820b6a2dff - + https://dev.azure.com/dnceng/internal/_git/dotnet-optimization - baa0269a2e1d895c328c64b6aa1bfad619a8cc7b + 85af145192ce699ffcc16bd1a7b565820b6a2dff diff --git a/eng/Versions.props b/eng/Versions.props index f6fde3d599d9f..ff96f6551ac72 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -155,12 +155,12 @@ 8.0.0-beta.23265.1 8.0.0-beta.23265.1 - 1.0.0-prerelease.23260.3 - 1.0.0-prerelease.23260.3 - 1.0.0-prerelease.23260.3 - 1.0.0-prerelease.23260.3 - 1.0.0-prerelease.23260.3 - 1.0.0-prerelease.23260.3 + 1.0.0-prerelease.23271.4 + 1.0.0-prerelease.23271.4 + 1.0.0-prerelease.23271.4 + 1.0.0-prerelease.23271.4 + 1.0.0-prerelease.23271.4 + 1.0.0-prerelease.23271.4 16.11.23-beta1.23063.1 2.0.0-beta4.22564.1 diff --git a/src/coreclr/pgosupport.cmake b/src/coreclr/pgosupport.cmake index edcffea53954f..719ac14ad990b 100644 --- a/src/coreclr/pgosupport.cmake +++ b/src/coreclr/pgosupport.cmake @@ -64,7 +64,7 @@ function(add_pgo TargetName) add_compile_definitions(WITH_NATIVE_PGO) else(CLR_CMAKE_HOST_WIN32) if(UPPERCASE_CMAKE_BUILD_TYPE STREQUAL RELEASE OR UPPERCASE_CMAKE_BUILD_TYPE STREQUAL RELWITHDEBINFO) - if((CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.6)) + if((CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16)) if(HAVE_LTO) target_compile_options(${TargetName} PRIVATE -flto -fprofile-instr-use=${ProfilePath} -Wno-profile-instr-out-of-date -Wno-profile-instr-unprofiled) set_property(TARGET ${TargetName} APPEND_STRING PROPERTY LINK_FLAGS " -flto -fprofile-instr-use=${ProfilePath}") @@ -75,9 +75,9 @@ function(add_pgo TargetName) else(HAVE_LTO) message(WARNING "LTO is not supported, skipping profile guided optimizations") endif(HAVE_LTO) - else((CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.6)) - message(WARNING "PGO is not supported; Clang 3.6 or later is required for profile guided optimizations") - endif((CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.6)) + else((CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16)) + message(WARNING "PGO is not supported; Clang 16 or later is required for profile guided optimizations") + endif((CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16)) endif(UPPERCASE_CMAKE_BUILD_TYPE STREQUAL RELEASE OR UPPERCASE_CMAKE_BUILD_TYPE STREQUAL RELWITHDEBINFO) endif(CLR_CMAKE_HOST_WIN32) endif(NOT EXISTS ${ProfilePath})