- Add c++20-lang and c++2b-lang arguments
- Respect LLVM_DEFAULT if it fullfills the requirements
Details
Details
- Reviewers
jrm bapt tcberner - Group Reviewers
portmgr - Commits
- R11:5ca22080ae08: Mk/Uses/compiler.mk: Support newer C++ standards
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 46524 Build 43413: arc lint + arc unit
Event Timeline
Comment Actions
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!
Comment Actions
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.