File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,13 @@ if ("libc" IN_LIST LLVM_ENABLE_PROJECTS)
157157 "https://libc.llvm.org/ for building the runtimes." )
158158endif ()
159159
160+ if ("compiler-rt" IN_LIST LLVM_ENABLE_PROJECTS)
161+ message (WARNING "Using LLVM_ENABLE_PROJECTS=compiler-rt is deprecated now, and will "
162+ "become a fatal error in the LLVM 21 release. Please use "
163+ "-DLLVM_ENABLE_RUNTIMES=compiler-rt or see the instructions at "
164+ "https://compiler-rt.llvm.org/ for building the runtimes." )
165+ endif ()
166+
160167# Select the runtimes to build
161168#
162169# As we migrate runtimes to using the bootstrapping build, the set of default runtimes
Original file line number Diff line number Diff line change @@ -120,6 +120,12 @@ Changes to building LLVM
120120------------------------
121121
122122* Raised the minimum MSVC version to Visual Studio 2019 16.8.
123+ * Deprecated support for building compiler-rt with ` LLVM_ENABLE_PROJECTS ` .
124+ Users should instead use ` LLVM_ENABLE_RUNTIMES ` , either through the
125+ runtimes or the bootstrapping build.
126+ * Deprecated support for building libc with ` LLVM_ENABLE_PROJECTS ` .
127+ Users should instead use ` LLVM_ENABLE_RUNTIMES ` , either through the
128+ runtimes or the bootstrapping build.
123129
124130Changes to TableGen
125131-------------------
You can’t perform that action at this time.
0 commit comments