diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props index 383c4cef575d7c..1463c13145dc26 100644 --- a/eng/SourceBuild.props +++ b/eng/SourceBuild.props @@ -14,13 +14,17 @@ true + <_hostRid>$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier) - $([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier) + $(_hostRid) <_targetRidPlatformIndex>$(TargetRid.LastIndexOf('-')) $(TargetRid.Substring($(_targetRidPlatformIndex)).TrimStart('-')) + <_hostRidPlatformIndex>$(_hostRid.LastIndexOf('-')) + <_hostArch>$(_hostRid.Substring($(_hostRidPlatformIndex)).TrimStart('-')) + minimal @@ -31,6 +35,7 @@ This allows to build the repository using './build.sh /p:DotNetBuildFromSource=true'. Properties that control flags from source-build, and the expected output for source-build should be added to this file. --> $(InnerBuildArgs) --arch $(TargetArch) + $(InnerBuildArgs) --cross $(InnerBuildArgs) --configuration $(Configuration) $(InnerBuildArgs) --allconfigurations $(InnerBuildArgs) --verbosity $(LogVerbosity) @@ -49,6 +54,7 @@ $(InnerBuildArgs) /p:ContinuousIntegrationBuild=$(ContinuousIntegrationBuild) $(InnerBuildArgs) --usemonoruntime $(InnerBuildArgs) /p:PortableBuild=$(PortableBuild) + $(InnerBuildArgs) /p:DotnetBuildVertical=$(DotnetBuildVertical) @@ -71,7 +77,7 @@ - + diff --git a/src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj b/src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj index 6c94731ffdade7..d3ccae71ef5cb4 100644 --- a/src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj +++ b/src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj @@ -19,6 +19,7 @@ $(ROOTFS_DIR) true true + false true true diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj index 8243494d1e15ad..2416920ed40552 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj @@ -28,7 +28,8 @@ false false - true + false + $(PublishReadyToRun) diff --git a/src/native/libs/System.Security.Cryptography.Native/pal_evp.c b/src/native/libs/System.Security.Cryptography.Native/pal_evp.c index b623df6b0b1784..7559b4c1970b24 100644 --- a/src/native/libs/System.Security.Cryptography.Native/pal_evp.c +++ b/src/native/libs/System.Security.Cryptography.Native/pal_evp.c @@ -133,6 +133,11 @@ int32_t CryptoNative_EvpDigestFinalXOF(EVP_MD_CTX* ctx, uint8_t* md, uint32_t le return EVP_DigestFinalXOF(ctx, md, len); } } + #else + // Use each parameter to avoid unused parameter warnings. + (void)(ctx); + (void)(md); + (void)(len); #endif return 0;