Page MenuHomeFreeBSD

Mk/Uses/compiler.mk: Support newer C++ standards
ClosedPublic

Authored by zirias on Jul 24 2022, 12:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 10:48 PM
Unknown Object (File)
Sun, Nov 23, 5:01 AM
Unknown Object (File)
Sat, Nov 22, 9:22 PM
Unknown Object (File)
Fri, Nov 7, 1:53 AM
Unknown Object (File)
Mon, Nov 3, 12:32 AM
Unknown Object (File)
Oct 27 2025, 10:01 AM
Unknown Object (File)
Oct 26 2025, 1:41 PM
Unknown Object (File)
Oct 25 2025, 9:11 PM
Subscribers

Details

Summary
  • Add c++20-lang and c++2b-lang arguments
  • Respect LLVM_DEFAULT if it fullfills the requirements

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 46519
Build 43408: arc lint + arc unit

Event Timeline

Remark: I'm not too sure about the support for newer C++ standards as this would probably also require support in STL/libstdc++...

But I really think compiler.mk should respect LLVM_DEFAULT when pulling in llvm from ports? Would of course require intensive testing!

Fix min version for llvm

Checking for c++2b-lang must happen before c++20-lang to "win" regarding
the min version of llvm required.

Extend VALID_ARGS

forgot that ....

imho worth an exp-run

This revision is now accepted and ready to land.Aug 24 2022, 6:58 AM