diff --git a/eng/Subsets.props b/eng/Subsets.props index f81c5e0661cf5d..ce9081f87cdde0 100644 --- a/eng/Subsets.props +++ b/eng/Subsets.props @@ -378,7 +378,8 @@ - <_CrossToolSubset Condition="'$(_BuildCrossComponents)' == 'true' and '$(TargetArchitecture)' != 'wasm' and ($(_subset.Contains('+clr.tools+')) or $(_subset.Contains('+clr.nativecorelib+')) or $(_subset.Contains('+clr.crossarchtools+')))" Include="ClrAllJitsSubset=true" /> + <_CrossToolSubset Condition="'$(_BuildCrossComponents)' == 'true' and '$(TargetArchitecture)' != 'wasm' and $(_subset.Contains('+clr.toolstests+'))" Include="ClrAllJitsSubset=true" /> + <_CrossToolSubset Condition="'$(_BuildCrossComponents)' == 'true' and '$(TargetArchitecture)' != 'wasm' and ($(_subset.Contains('+clr.tools+')) or $(_subset.Contains('+clr.nativecorelib+')) or $(_subset.Contains('+clr.crossarchtools+')))" Include="ClrJitSubset=true" /> <_CrossToolSubset Condition="'$(_BuildCrossComponents)' == 'true' and '$(TargetArchitecture)' == 'wasm' and ($(_subset.Contains('+clr.tools+')) or $(_subset.Contains('+clr.nativecorelib+')) or $(_subset.Contains('+clr.crossarchtools+')))" Include="ClrWasmJitSubset=true" /> diff --git a/eng/pipelines/common/global-build-job.yml b/eng/pipelines/common/global-build-job.yml index 2f4241b44c25c0..33dcc731daccac 100644 --- a/eng/pipelines/common/global-build-job.yml +++ b/eng/pipelines/common/global-build-job.yml @@ -49,17 +49,7 @@ jobs: pool: ${{ parameters.pool }} container: ${{ parameters.container }} condition: and(succeeded(), ${{ parameters.condition }}) - # Windows arm64 builds are slower than the 60 min ADO default, - # so enforce a floor of 75 minutes while still honoring any larger explicit value. - ${{ if eq(parameters.platform, 'windows_arm64') }}: - ${{ if eq(parameters.timeoutInMinutes, '') }}: - timeoutInMinutes: 75 - ${{ elseif lt(75, parameters.timeoutInMinutes) }}: - timeoutInMinutes: ${{ parameters.timeoutInMinutes }} - ${{ else }}: - timeoutInMinutes: 75 - ${{ else }}: - timeoutInMinutes: ${{ parameters.timeoutInMinutes }} + timeoutInMinutes: ${{ parameters.timeoutInMinutes }} enablePublishTestResults: ${{ parameters.enablePublishTestResults }} testResultsFormat: ${{ parameters.testResultsFormat }} enableMicrobuild: ${{ parameters.isOfficialBuild }} diff --git a/src/coreclr/jit/CMakeLists.txt b/src/coreclr/jit/CMakeLists.txt index 0178c65397d36b..0544cd33ec9be4 100644 --- a/src/coreclr/jit/CMakeLists.txt +++ b/src/coreclr/jit/CMakeLists.txt @@ -716,11 +716,12 @@ else() endif() create_standalone_jit(TARGET clrjit OS ${TARGET_OS_NAME} ARCH ${ARCH_TARGET_NAME}) -install_clr(TARGETS clrjit DESTINATIONS . sharedFramework COMPONENT jit) +install_clr(TARGETS clrjit DESTINATIONS . COMPONENT jit) if (NOT CLR_CROSS_COMPONENTS_BUILD) # Install the clrjit into the sharedframework dir only when we're not doing a cross-components build. # We never want to ship the cross-component JIT (it would never be used). + install_clr(TARGETS clrjit DESTINATIONS sharedFramework COMPONENT jit) install_clr(TARGETS clrjit DESTINATIONS sharedFramework COMPONENT alljits) endif() diff --git a/src/coreclr/tools/aot/AotCompilerCommon.props b/src/coreclr/tools/aot/AotCompilerCommon.props index 800a9cff0cc9f6..827d2d3fc94ec0 100644 --- a/src/coreclr/tools/aot/AotCompilerCommon.props +++ b/src/coreclr/tools/aot/AotCompilerCommon.props @@ -16,5 +16,48 @@ <_LibPrefix Condition="'$(CrossHostArch)' != 'true'">$(HostLibPrefix) <_LibSuffix Condition="'$(CrossHostArch)' == 'true'">$(LibSuffix) <_LibSuffix Condition="'$(CrossHostArch)' != 'true'">$(HostLibSuffix) + + $(TargetArchitecture) + $(CrossHostArch) + arm + + $(_LibPrefix)jitinterface_$(TargetArchitectureForSharedLibraries)$(_LibSuffix) + + <_TargetArchitectureForJitLibraryName>$(TargetArchitecture) + <_TargetArchitectureForJitLibraryName Condition="'$(_TargetArchitectureForJitLibraryName)' == 'armel'">arm + <_TargetArchitectureForJitLibraryName Condition="'$(_TargetArchitectureForJitLibraryName)' == 'wasm'">wasm + <_TargetOSForJitLibraryName Condition="'$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'armel' or '$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'wasm'">universal + <_TargetOSForJitLibraryName Condition="'$(_TargetOSForJitLibraryName)' == '' and '$(TargetOS)' == 'windows'">win + <_TargetOSForJitLibraryName Condition="'$(_TargetOSForJitLibraryName)' == ''">unix + $(_LibPrefix)clrjit_$(_TargetOSForJitLibraryName)_$(_TargetArchitectureForJitLibraryName)_$(TargetArchitectureForSharedLibraries)$(_LibSuffix) + $(_LibPrefix)clrjit$(_LibSuffix) + $(SingleJitLibraryName) + true + + + + + + + + diff --git a/src/coreclr/tools/aot/ILCompiler.ReadyToRun.Tests/ILCompiler.ReadyToRun.Tests.csproj b/src/coreclr/tools/aot/ILCompiler.ReadyToRun.Tests/ILCompiler.ReadyToRun.Tests.csproj index 9fa35c126976d9..72e0847ba05f0e 100644 --- a/src/coreclr/tools/aot/ILCompiler.ReadyToRun.Tests/ILCompiler.ReadyToRun.Tests.csproj +++ b/src/coreclr/tools/aot/ILCompiler.ReadyToRun.Tests/ILCompiler.ReadyToRun.Tests.csproj @@ -27,7 +27,8 @@ even when this test project is built in a different configuration than CoreCLR was (e.g. CoreCLR built Release via 'clr -rc release', but the test built/run as Debug). Mirrors the CoreLib SetConfiguration pattern in eng/references.targets. --> - Configuration=$(CoreCLRConfiguration) + CopyAllJitLibrariesToAotCompilerOutput=true + Configuration=$(CoreCLRConfiguration);CopyAllJitLibrariesToAotCompilerOutput=true diff --git a/src/coreclr/tools/aot/ILCompiler/ILCompiler.props b/src/coreclr/tools/aot/ILCompiler/ILCompiler.props index e3e6d02212c298..e901d56df167fb 100644 --- a/src/coreclr/tools/aot/ILCompiler/ILCompiler.props +++ b/src/coreclr/tools/aot/ILCompiler/ILCompiler.props @@ -53,31 +53,4 @@ - - - $(TargetArchitecture) - $(CrossHostArch) - arm - - $(_LibPrefix)jitinterface_$(TargetArchitectureForSharedLibraries)$(_LibSuffix) - - $(RuntimeBinDir)$(CrossHostArch) - - - - - - - diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.props b/src/coreclr/tools/aot/crossgen2/crossgen2.props index 825f499e688d04..5c912720c8c927 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.props +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.props @@ -41,31 +41,6 @@ - - $(TargetArchitecture) - $(CrossHostArch) - arm - - $(_LibPrefix)jitinterface_$(TargetArchitectureForSharedLibraries)$(_LibSuffix) - - - - - - - -