File tree Expand file tree Collapse file tree 6 files changed +18
-7
lines changed Expand file tree Collapse file tree 6 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ rm -rf $TARBALL_ROOT/Tools/configuration/configuration.props
110
110
cp $SCRIPT_ROOT /support/tarball/build.sh $TARBALL_ROOT /build.sh
111
111
112
112
mkdir -p $TARBALL_ROOT /prebuilt/nuget-packages
113
+ mkdir -p $TARBALL_ROOT /prebuilt/source-built
113
114
find $SCRIPT_ROOT /packages -name ' *.nupkg' -exec cp {} $TARBALL_ROOT /prebuilt/nuget-packages/ \;
114
115
find $SCRIPT_ROOT /bin/obj/x64/Release/nuget-packages -name ' *.nupkg' -exec cp {} $TARBALL_ROOT /prebuilt/nuget-packages/ \;
115
116
129
130
fi
130
131
done
131
132
133
+ echo ' Copying source-built packages to tarball to replace packages needed before they are built...'
134
+
135
+ for built_package in $( find $SCRIPT_ROOT /bin/obj/x64/Release/blob-feed/packages/ -name ' *.nupkg' )
136
+ do
137
+ cp $built_package $TARBALL_ROOT /prebuilt/source-built/
138
+ done
139
+
132
140
echo ' WORKAROUND: Overwriting the source-built roslyn-tools MSBuild files with prebuilt so that roslyn-tools can successfully build in the tarball... (https://github.com/dotnet/source-build/issues/654)'
133
141
134
142
ROSLYN_TOOLS_PACKAGE=' RoslynTools.RepoToolset'
Original file line number Diff line number Diff line change 57
57
<SourceBuiltPackagesPath >$(SourceBuiltBlobFeedDir)packages/</SourceBuiltPackagesPath >
58
58
<SourceBuiltAssetsDir >$(SourceBuiltBlobFeedDir)assets/</SourceBuiltAssetsDir >
59
59
<PrebuiltPackagesPath >$(ProjectDir)prebuilt/nuget-packages/</PrebuiltPackagesPath >
60
+ <PrebuiltSourceBuiltPackagesPath >$(ProjectDir)prebuilt/source-built/</PrebuiltSourceBuiltPackagesPath >
60
61
<SourceBuiltTarBallPath >$(OutputPath)</SourceBuiltTarBallPath >
61
62
<TargetInfoProps >$(IntermediatePath)TargetInfo.props</TargetInfoProps >
62
63
<RestoreSourcePropsPath >$(IntermediatePath)RestoreSources.props</RestoreSourcePropsPath >
Original file line number Diff line number Diff line change 9
9
<OverrideTargetRid Condition =" '$(TargetOS)' == 'OSX'" >osx-x64</OverrideTargetRid >
10
10
11
11
<BuildArguments >-$(Configuration) -buildArch=$(Platform) -portable=$(OverridePortableBuild) -BuildTests=false -PackageRid=$(OverrideTargetRid)</BuildArguments >
12
- <BuildCommand >$(ProjectDirectory)/build$(ShellExtension) $(BuildArguments) -- /bl</BuildCommand >
12
+ <BuildCommand >$(ProjectDirectory)/build$(ShellExtension) $(BuildArguments) -- /p:BuildAllPackages=true / bl</BuildCommand >
13
13
<BuildCommand Condition =" $(Platform.Contains('arm'))" >$(ArmEnvironmentVariables) $(BuildCommand)</BuildCommand >
14
14
<PackagesOutput >$(ProjectDirectory)/bin/packages/$(Configuration)</PackagesOutput >
15
15
<CleanCommand >$(ProjectDirectory)/clean$(ShellExtension)</CleanCommand >
Original file line number Diff line number Diff line change 140
140
SourcePath =" $(PrebuiltPackagesPath)"
141
141
Condition =" '$(OfflineBuild)' == 'true'" />
142
142
143
+ <AddSourceToNuGetConfig NuGetConfigFile =" %(NuGetConfigFiles.Identity)"
144
+ SourceName =" previously-source-built"
145
+ SourcePath =" $(PrebuiltSourceBuiltPackagesPath)"
146
+ Condition =" '$(OfflineBuild)' == 'true'" />
147
+
143
148
<AddSourceToNuGetConfig NuGetConfigFile =" %(NuGetConfigFiles.Identity)"
144
149
SourceName =" source-built"
145
150
SourcePath =" $(SourceBuiltPackagesPath)" />
211
216
<ItemGroup >
212
217
<_DotNetRestoreSources Include =" $(SourceBuiltPackagesPath)" />
213
218
<_DotNetRestoreSources Include =" $(PrebuiltPackagesPath)" Condition =" '$(OfflineBuild)' == 'true'" />
219
+ <_DotNetRestoreSources Include =" $(PrebuiltSourceBuiltPackagesPath)" Condition =" '$(OfflineBuild)' == 'true'" />
214
220
</ItemGroup >
215
221
<WriteRestoreSourceProps RestoreSources =" @(_DotNetRestoreSources)"
216
222
OutputPath =" $(RestoreSourcePropsPath)" />
Original file line number Diff line number Diff line change 176
176
<Usage Id =" Microsoft.NETCore.Platforms" Version =" 2.1.0-preview1-26116-01" />
177
177
<Usage Id =" Microsoft.NETCore.Platforms" Version =" 2.1.0-preview2-26406-04" />
178
178
<Usage Id =" Microsoft.NETCore.Platforms" Version =" 2.1.1-servicing-26722-02" />
179
- <Usage Id =" Microsoft.NETCore.Platforms" Version =" 2.1.1" />
180
179
<Usage Id =" Microsoft.NETCore.Runtime.CoreCLR" Version =" 1.0.5" />
181
180
<Usage Id =" Microsoft.NETCore.Runtime.CoreCLR" Version =" 1.0.7" />
182
181
<Usage Id =" Microsoft.NETCore.Runtime.CoreCLR" Version =" 1.1.1" />
183
182
<Usage Id =" Microsoft.NETCore.Runtime.CoreCLR" Version =" 1.1.2" />
184
183
<Usage Id =" Microsoft.NETCore.Targets" Version =" 1.0.1" />
185
184
<Usage Id =" Microsoft.NETCore.Targets" Version =" 1.0.3" />
186
185
<Usage Id =" Microsoft.NETCore.Targets" Version =" 1.1.0" />
187
- <Usage Id =" Microsoft.NETCore.Targets" Version =" 2.0.0" />
188
186
<Usage Id =" Microsoft.NETCore.Targets" Version =" 2.1.0-preview2-26406-04" />
189
187
<Usage Id =" Microsoft.NETCore.Windows.ApiSets" Version =" 1.0.1" />
190
188
<Usage Id =" Microsoft.NETFramework.ReferenceAssemblies" Version =" 1.0.0-alpha-003" />
711
709
<Usage Id =" xunit.runner.visualstudio" Version =" 2.3.0" />
712
710
<Usage Id =" xunit.runner.visualstudio" Version =" 2.3.1" />
713
711
</Usages >
714
- </UsageData >
712
+ </UsageData >
Original file line number Diff line number Diff line change 168
168
<Usage Id =" Microsoft.NETCore.Platforms" Version =" 2.1.0-preview1-26116-01" />
169
169
<Usage Id =" Microsoft.NETCore.Platforms" Version =" 2.1.0-preview2-26406-04" />
170
170
<Usage Id =" Microsoft.NETCore.Platforms" Version =" 2.1.1-servicing-26722-02" />
171
- <Usage Id =" Microsoft.NETCore.Platforms" Version =" 2.1.1" />
172
171
<Usage Id =" Microsoft.NETCore.Runtime.CoreCLR" Version =" 1.0.5" />
173
172
<Usage Id =" Microsoft.NETCore.Runtime.CoreCLR" Version =" 1.0.7" />
174
173
<Usage Id =" Microsoft.NETCore.Runtime.CoreCLR" Version =" 1.1.1" />
177
176
<Usage Id =" Microsoft.NETCore.Targets" Version =" 1.0.1" />
178
177
<Usage Id =" Microsoft.NETCore.Targets" Version =" 1.0.3" />
179
178
<Usage Id =" Microsoft.NETCore.Targets" Version =" 1.1.0" />
180
- <Usage Id =" Microsoft.NETCore.Targets" Version =" 2.0.0" />
181
179
<Usage Id =" Microsoft.NETCore.Targets" Version =" 2.1.0-preview2-26406-04" />
182
180
<Usage Id =" Microsoft.NETCore.Windows.ApiSets" Version =" 1.0.1" />
183
181
<Usage Id =" Microsoft.NETFramework.ReferenceAssemblies" Version =" 1.0.0-alpha-003" />
709
707
<Usage Id =" xunit.runner.visualstudio" Version =" 2.3.0" />
710
708
<Usage Id =" xunit.runner.visualstudio" Version =" 2.3.1" />
711
709
</Usages >
712
- </UsageData >
710
+ </UsageData >
You can’t perform that action at this time.
0 commit comments