Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[release/2.1] Fix opt data for source build#17268

Merged
weshaggard merged 3 commits into
dotnet:release/2.1from
weshaggard:Fix21OptDataSourceBuild
Mar 27, 2018
Merged

[release/2.1] Fix opt data for source build#17268
weshaggard merged 3 commits into
dotnet:release/2.1from
weshaggard:Fix21OptDataSourceBuild

Conversation

@weshaggard
Copy link
Copy Markdown
Member

Port #17136 and #17226 to release/2.1 branch to fix source-build.

FYI @dseefeld @dagood

cc @RussKeldorph @jashook

Pass unprocessed args to restore optdata step so it
can override the sources when doing restore

Handle prority as an unprocessed arg for the sync alias
There were various restore targets happening independently
when they should all be combined so the sync step can be
independent from the build step. This change merges them
together under the Sync target.

In particular this moves RestoreOptData and RestoreNETCorePlatforms
to be part of the sync step instead of being individually ran.

Pass BuildType to sync commands so optdata gets restored correctly
We don't need the binclash logger for optdata so disable it
by pass a single space (note empty string means default).

The default value points at net46 which isn't what we want on
linux.
@weshaggard weshaggard changed the title Fix21 opt data source build [release/2.1] Fix opt data for source build Mar 27, 2018
@mmitche
Copy link
Copy Markdown
Member

mmitche commented Mar 27, 2018

@weshaggard Is this related at all to #17262?

@weshaggard
Copy link
Copy Markdown
Member Author

@weshaggard Is this related at all to #17262?

No it isn't related. This is more about enabling us to pull the PGO data packages from local package folder for source-build.

@weshaggard weshaggard merged commit 6c45610 into dotnet:release/2.1 Mar 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants