Skip to content

Deduce the Alpha architecture - #1161

Merged
pdimov merged 1 commit into
boostorg:developfrom
alphalinux:alpha
Oct 28, 2026
Merged

pdimov merged 1 commit into
boostorg:developfrom
alphalinux:alpha

Conversation

@mattst88

Copy link
Copy Markdown
Contributor

Jamroot applies boostcpp.platform to the whole /boost project, and its deduce-architecture rule had no Alpha entry. find-builds then matched nothing, the rule returned early, and a build on Alpha got neither nor set for any library.

alpha goes first in both .deducible-architectures and the find-builds argument list: the rule indexes the former with the result of the latter, so the two have to stay in the same order.

See also

@mattst88

Copy link
Copy Markdown
Contributor Author

@pdimov, @grafikrobot: is there anything I can do to help get this merged?

@grafikrobot

Copy link
Copy Markdown
Member

We are going to need to make sure all the other PRs are reflected in the master branch. AFAICT

@grafikrobot

Copy link
Copy Markdown
Member

Or maybe some of them? @mattst88 can you list what other changes this depends on?

@mattst88

Copy link
Copy Markdown
Contributor Author

All the PRs are listed in the initial comment. boostorg/config#556 is the only one that's still outstanding.

(Sorry, I'm unaware of how things flow into this repository)

@pdimov

pdimov commented Oct 23, 2026

Copy link
Copy Markdown
Member

This PR depends on the Config one, so I don't think we should merge it yet.

Also, it needs to be against develop and not master.

@grafikrobot

Copy link
Copy Markdown
Member

The b2 changes haven´t made it to the bundled b2. And the prefer changes haven´t made it to master. I'm working on those. Looks like context changes are in master.

Jamroot applies boostcpp.platform to the whole /boost project, and its
deduce-architecture rule had no Alpha entry.  find-builds then matched
nothing, the rule returned early, and a build on Alpha got neither
<architecture> nor <address-model> set for any library.

alpha goes first in both .deducible-architectures and the find-builds
argument list: the rule indexes the former with the result of the
latter, so the two have to stay in the same order.
@mattst88
mattst88 changed the base branch from master to develop October 24, 2026 17:40
@mattst88

Copy link
Copy Markdown
Contributor Author

Thanks. Retargeted the PR to the develop branch. Hopefully the boostorg/config change will land soon.

@grafikrobot

Copy link
Copy Markdown
Member

Thanks @mattst88 . I'm getting close to getting the predef changes ironed out for master (tonight or tomorrow on this). But I'm waiting on one verification on a b2 fix to be able to reflect that into the boost tree. :-(

@pdimov

pdimov commented Oct 25, 2026

Copy link
Copy Markdown
Member

This is now only blocked on the b2 change, right?

@grafikrobot

Copy link
Copy Markdown
Member

@pdimov B2 (needs to be put in) and Predef (needs to be finalized in develop and merged to master).

@pdimov

pdimov commented Oct 25, 2026

Copy link
Copy Markdown
Member

But Predef is not a blocker for this PR, is it?

@grafikrobot

Copy link
Copy Markdown
Member

Sorry for the brief silence.. A combination of work travel and wg21 insanity delayed things. Anyway, both B2 and Predef are updated in all branches.

@pdimov pdimov closed this Oct 28, 2026
@pdimov pdimov reopened this Oct 28, 2026
@pdimov
pdimov merged commit c0aac90 into boostorg:develop Oct 28, 2026
50 of 117 checks passed
pdimov pushed a commit that referenced this pull request Oct 28, 2026
Jamroot applies boostcpp.platform to the whole /boost project, and its
deduce-architecture rule had no Alpha entry.  find-builds then matched
nothing, the rule returned early, and a build on Alpha got neither
<architecture> nor <address-model> set for any library.

alpha goes first in both .deducible-architectures and the find-builds
argument list: the rule indexes the former with the result of the
latter, so the two have to stay in the same order.
@mattst88
mattst88 deleted the alpha branch October 28, 2026 17:08
@mattst88

Copy link
Copy Markdown
Contributor Author

Thank you both!

mattst88 added a commit to alphalinux/alphalinux.org-wiki-content that referenced this pull request Oct 28, 2026
boostorg/boost#1161 deduces the Alpha architecture in the Boost build,
and with it come fcontext support in Boost.Context, Alpha detection in
Boost.Predef and Boost.Config, and an alpha architecture in B2.
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