Skip to content

Fix issues in cross-os DAC build. #32808

Closed

Description

@hoyosjs

#32322 got reverted due to several issues that were impacting official builds. To get it back in we'll have to

  • All assets need to have unique names. This includes logs and binlogs. We could use a delayed expansion variable to prepend a linuxdac_ to the assets needed. Not sure how to do this in some cases like arcade
  • Several command-line arguments must be preserved. The original command-line was
./src/coreclr\build.cmd release x64 -ci -skiptests -skipbuildpackages -officialbuildid="20200224.13"

but the one that got used in the child process is

./src/coreclr/build.cmd  -linuxdac x64 Release -skiptests -skipbuildpackages -officialbuildid -enforcepgo

See that importantly this omits the build ID and the CI parameters, both of which are necessary so the machine state and caches are consistent and we have correct versioning information in the build. I haven't tested what happens for additional parameters used by sourcebuild.

  • There's a bunch of things we shouldn't be doing which we do by running the scripts twice. Make sure this doesn't happen (like generating sources, toolsets and package restores).

cc: @sdmaclea

Activity

  1. self-assigned this
    on Feb 25, 2020
  2. added
    untriaged
    on Feb 25, 2020
  3. added this to the 5.0 milestone on Feb 25, 2020
  4. removed
    untriaged
    on Feb 25, 2020
  5. hoyosjs commented on Mar 2, 2020

    @hoyosjs
    MemberAuthor

    Verified packaging won't be affected. Just missing to verify this all works with PGO.

  6. ghost locked as resolved and limited conversation to collaborators on Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions