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
F142228044: D35889.diff
Sat, Jan 17, 1:06 PM
Unknown Object (File)
Thu, Jan 1, 2:42 AM
Unknown Object (File)
Sat, Dec 20, 10:21 PM
Unknown Object (File)
Fri, Dec 19, 4:01 PM
Unknown Object (File)
Fri, Dec 19, 4:00 PM
Unknown Object (File)
Dec 9 2025, 11:25 PM
Unknown Object (File)
Nov 25 2025, 10:48 PM
Unknown Object (File)
Nov 23 2025, 5:01 AM
Subscribers

Details

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

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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