Skip to content

Enable test builds with --bootstrap#127909

Open
am11 wants to merge 11 commits intodotnet:mainfrom
am11:feature/tests-build-with-bootstrap
Open

Enable test builds with --bootstrap#127909
am11 wants to merge 11 commits intodotnet:mainfrom
am11:feature/tests-build-with-bootstrap

Conversation

@am11
Copy link
Copy Markdown
Member

@am11 am11 commented May 7, 2026

Fixes #115622

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label May 7, 2026
@am11
Copy link
Copy Markdown
Member Author

am11 commented May 7, 2026

For community platforms, this is the cross-build workflow for runtime development/testing:

os=linux
arch=riscv64

# ROOTFS_DIR is set

# cross-build product, --bootstrap
./build.sh clr+libs --cross --arch $arch --os $os --bootstrap

# for rebuild (e.g. after editing code), --use-bootstrap
./build.sh clr+libs --cross --arch $arch --os $os --use-bootstrap

# runtime tests cross-build, --use-bootstrap
src/tests/build.sh -cross -$arch -$os -p:LibrariesConfiguration=Debug --use-bootstrap

# libraries tests cross-build, --use-bootstrap
./build.sh libs.tests --cross --arch $arch --os $os --use-bootstrap

cc:
riscv64: @clamp03, @dotnet/samsung
loongarch64: @LuckyXu-HF, @shushanhf
illumos: @gwr
FreeBSD: @Thefrank, @sec
Haiku: @trungnt2910
OpenBSD: @sethjackson

@am11 am11 requested a review from jkoritzinsky May 7, 2026 12:38
@jkotas
Copy link
Copy Markdown
Member

jkotas commented May 7, 2026

Update PR title to match the content?

@am11 am11 changed the title Inline remaining usages of OpenProcess on Unix Enable test builds with --bootstrap May 7, 2026
@am11
Copy link
Copy Markdown
Member Author

am11 commented May 7, 2026

Update PR title to match the content?

Ah, it somehow used cached title from my previous PR.

@am11 am11 force-pushed the feature/tests-build-with-bootstrap branch from f6b1128 to f6b70d2 Compare May 7, 2026 23:06
@Thefrank
Copy link
Copy Markdown
Contributor

Thefrank commented May 8, 2026

So if I am reading this correctly, after this PR, I can:

This is pretty awesome. I gave up trying to do nightly runtime builds / tests more than a year ago because it was such a hassle natively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Infrastructure-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

bootstrap: libs.tests subsets fails

3 participants