[PATCH] D77740: [CMake] Add a warning message to prepare the upcoming upgrade to CMake 3.13.4

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 12:30:24 PDT 2020


smeenai added inline comments.


================
Comment at: llvm/CMakeLists.txt:8
+    "The current CMake version is ${CMAKE_VERSION}. As soon as the release "
+    "branch for LLVM 11.0.0 is created, the minimum version of CMake required "
+    "to build LLVM will become 3.13.4, and using an older CMake will become "
----------------
ldionne wrote:
> mehdi_amini wrote:
> > hubert.reinterpretcast wrote:
> > > This message refers to "internal process" concepts such as creation of a release branch. Can the message be made to be clear for "downstream consumers"?
> > I would write "Starting with 11.0, the minimum version of CMake required ...."
> @hubert.reinterpretcast 
> 
> > This message refers to "internal process" concepts such as creation of a release branch. Can the message be made to be clear for "downstream consumers"?
> 
> The reason why I didn't say a date is that I wasn't able to find the (approximate) date at which we'd branch off LLVM 11.0.0. It looks like this is around September, however, so I'll mention that if we keep the warning similar (see other threads).
> 
> @mehdi_amini 
> 
> > I would write "Starting with 11.0, the minimum version of CMake required ...."
> 
> It does read better, however it's not really what we mean. We'd have to say "Starting with 12.0, the minimum ...", which would be clear to downstream users of LLVM, but not to developers who will want to know that we're going to bump as soon as 11.0 is branched, even though 12.0 hasn't been released yet. I guess we could also lie and say "Starting with 11.0, ..." -- this would be clear to developers, and downstream users would think they need to upgrade when they could actually afford to wait one more release (which is probably OK).
> 
The branch date is usually mid-July, and the release is late August/early September. I assume the branch date is what's relevant here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77740/new/

https://reviews.llvm.org/D77740





More information about the llvm-commits mailing list