Skip to content

Commit

Permalink
Update source-build artifacts to be coherent (dotnet#15372)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Thalman <[email protected]>
  • Loading branch information
MichaelSimons and mthalman committed Feb 7, 2023
1 parent 0041e46 commit 67cbd57
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/SourceBuild/content/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ while :; do
lowerI="$(echo $1 | awk '{print tolower($0)}')"
case $lowerI in
--clean-while-building)
MSBUILD_ARGUMENTS+=( "-p:CleanWhileBuilding=true")
# TODO: Reenable with https://github.com/dotnet/source-build/issues/3233
# MSBUILD_ARGUMENTS+=( "-p:CleanWhileBuilding=true")
;;
--online)
MSBUILD_ARGUMENTS+=( "-p:BuildWithOnlineSources=true")
Expand Down
3 changes: 2 additions & 1 deletion src/SourceBuild/content/eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
or minor release, prebuilts may be needed. When the release is mature, prebuilts are not
necessary, and this property is removed from the file.
-->
<PrivateSourceBuiltArtifactsPackageVersion>0.1.0-8.0.100-4.centos.8-x64</PrivateSourceBuiltArtifactsPackageVersion>
<PrivateSourceBuiltArtifactsPackageVersion>0.1.0-8.0.100-5.centos.8-x64</PrivateSourceBuiltArtifactsPackageVersion>
<PrivateSourceBuiltPrebuiltsPackageVersion>0.1.0-8.0.100-1.centos.8-x64</PrivateSourceBuiltPrebuiltsPackageVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/SourceBuild/content/global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"tools": {
"dotnet": "8.0.100-alpha.1.23061.8"
"dotnet": "8.0.100-alpha.1.23080.2"
},
"msbuild-sdks": {
"Microsoft.Build.CentralPackageVersions": "2.0.1",
Expand Down
3 changes: 3 additions & 0 deletions src/SourceBuild/content/repo-projects/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
<EnvironmentVariables Include="DeterministicSourcePaths=false" Condition="'$(DeterministicBuildOptOut)' == 'true'" />

<EnvironmentVariables Include="SourceRoot=$(ProjectDirectory)" />

<!-- https://github.com/dotnet/source-build/issues/3081 -->
<EnvironmentVariables Include="CheckEolTargetFramework=false" />
</ItemGroup>

<ItemGroup Condition="'$(EnableExtraDebugging)' == 'true'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@
AfterTargets="RemoveBuiltPackagesFromCache"
Condition=" '$(CleanWhileBuilding)' == 'true' ">

<!-- Make a copy of the build logs & project.assets.json files-->
<!-- Make a copy of the build logs & project.assets.json files -->
<PropertyGroup>
<BuildLogsDir>$(ProjectDirectory)artifacts/buildLogs</BuildLogsDir>
<BuildObjDir>$(ProjectDirectory)artifacts/buildObj</BuildObjDir>
Expand Down
1 change: 0 additions & 1 deletion src/SourceBuild/content/repo-projects/fsharp.proj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

<ItemGroup>
<UseSourceBuiltSdkOverride Include="@(ArcadeSdkOverride)" />
<EnvironmentVariables Include="CheckEolTargetFramework=false" />
</ItemGroup>

<Target Name="SetArcadeSdkDir"
Expand Down
2 changes: 0 additions & 2 deletions src/SourceBuild/content/repo-projects/xliff-tasks.proj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

<PropertyGroup>
<BuildCommandArgs>$(StandardSourceBuildArgs)</BuildCommandArgs>
<!-- Repo has netcoreapp2.1 projects: https://github.com/dotnet/xliff-tasks/issues/508 -->
<BuildCommandArgs>$(BuildCommandArgs) /p:CheckEolTargetFramework=false</BuildCommandArgs>
<BuildCommand>$(StandardSourceBuildCommand) $(BuildCommandArgs)</BuildCommand>

<RepoApiImplemented>false</RepoApiImplemented>
Expand Down

0 comments on commit 67cbd57

Please sign in to comment.