Summary: | [exp-run] devel/cmake needs to be built with C++11 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Justin Hibbits <jhibbits> | ||||
Component: | Individual Port(s) | Assignee: | Adriaan de Groot <adridg> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | adamw, kde, tcberner | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(kde) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://reviews.freebsd.org/D13694 | ||||||
Attachments: |
|
Description
Justin Hibbits
2017-12-30 04:25:55 UTC
Created attachment 189218 [details] Add compiler:c++11-lang kde@ would like an exp-run for CMake 3.10.1 with C++11 enabled. Also reported on IRC by Avengence, and snuck in to https://reviews.freebsd.org/D13662 as well. Don't the llvm/clang ports need cmake to build? How would this work if ports llvm/clang becomes a dependency of cmake? powerpc* and sparc64 use lang/gcc* as C++11 compiler, so there's no dependency loop. (In reply to Jan Beich from comment #3) Uses/compiler.mk is a bit of a black box to me, but it seems possible for USES=compiler:c++11-lang to bring in a dependency on lang/clang34. Am I misunderstanding? The base compiler on tier-1 archs supports c++11 so an exp-run won't show anything. (In reply to Adam Weinberger from comment #4) On gcc archs it'll bring in lang/gcc<version>, currently lang/gcc6. A commit references this bug: Author: adridg Date: Sat Dec 30 22:31:14 UTC 2017 New revision: 457650 URL: https://svnweb.freebsd.org/changeset/ports/457650 Log: CMake 3.10 uses C++11, which needs to be explicitly enabled for Tier-2 architectures. PR: 224721 Reported by: Justin Hibbits Approved by: tcberner (mentor) Changes: head/devel/cmake/Makefile Justin, please give CMake a stab (if this doesn't do the trick, we'll have to move to compiler:c++11-lib -- I have nothing suitable to test this with, though). (In reply to Adriaan de Groot from comment #8) Worked for me! With a now necessary fix for bug 224720 as well. Thanks for the quick fix. |