Skip to content

Comments

Default to the processor's arch as host and target arch.#3

Merged
compnerd merged 14 commits intocompnerd:mainfrom
tristanlabelle:default-host-arch
Mar 8, 2025
Merged

Default to the processor's arch as host and target arch.#3
compnerd merged 14 commits intocompnerd:mainfrom
tristanlabelle:default-host-arch

Conversation

@tristanlabelle
Copy link

Previously when running on an arm64 runner, the vsdevcmd would be configured to cross-build to amd64 by default. Better default to the host architecture, which itself defaults to the processor architecture.

Likewise, components would default to looking for the x64 compiler, but we should rather look for the compiler based on arch.

@dabrahams
Copy link

@compnerd got time to look at this PR again? Looks pretty good.

Copy link
Owner

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

Can you remove the pre-generation of the dist? That makes it confusing. We should just generate the dist in a post-push job I think.

@tristanlabelle
Copy link
Author

@compnerd PR comments addressed.

Can you remove the pre-generation of the dist? That makes it confusing. We should just generate the dist in a post-push job I think.

That would be nice to have but it's unrelated to this change. Previous changes similarly updated the dist.

@compnerd compnerd merged commit ee96a6a into compnerd:main Mar 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants