Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for wasm builds #2320

Merged
merged 3 commits into from
Mar 21, 2022
Merged

Fixes for wasm builds #2320

merged 3 commits into from
Mar 21, 2022

Conversation

radical
Copy link
Member

@radical radical commented Mar 17, 2022

Add --dotnet-path to the ci scripts

For wasm builds, we use a custom dotnet populated with the bits from a
runtime build. And this is passed to bdn via --cli argument.

The project is built by benchmarks_ci.py first, and then run, which
then builds the project again via BDN, using the dotnet from the
--cli argument.

But this means that the project gets built with the "default" dotnet
first, and then the custom one next, which can result in a corrupted
build. Using --dotnet-path, same as --cli avoids this.

For wasm builds, we use a custom dotnet populated with the bits from a
`runtime` build. And this is passed to bdn via `--cli` argument.

The project is built by `benchmarks_ci.py` first, and then run, which
then runs builds the project again via BDN, using the dotnet from the
`--cli` argument.

But this means that the project gets built with the "default" dotnet
first, and then the custom one next, which can result in a corrupted
build.
@radical
Copy link
Member Author

radical commented Mar 17, 2022

@LoopedBard3 LoopedBard3 added bug Something isn't working pipeline blocker issue blocks perf pipeline stays green. This be considered high priority. python Pull requests that update Python code labels Mar 17, 2022
@radical
Copy link
Member Author

radical commented Mar 19, 2022

Failures are same as mentioned in #2323 (comment) and #2323 (comment) .

Copy link
Member

@LoopedBard3 LoopedBard3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DrewScoggins
Copy link
Member

LGTM. We should also keep a close eye on this after it gets merged to make sure we don't see any unintended consequences in the runtime repo runs.

@DrewScoggins DrewScoggins merged commit 7d5a03b into dotnet:main Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pipeline blocker issue blocks perf pipeline stays green. This be considered high priority. python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants