File tree 2 files changed +13
-0
lines changed
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)
157
157
"https://libc.llvm.org/ for building the runtimes." )
158
158
endif ()
159
159
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
+
160
167
# Select the runtimes to build
161
168
#
162
169
# 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
120
120
------------------------
121
121
122
122
* 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.
123
129
124
130
Changes to TableGen
125
131
-------------------
You can’t perform that action at this time.
0 commit comments