You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As accidentally enabling them, combined with an LLVM 11 with disabled
assertions, seems to work fine for the macOS/arm64 job.
So allow the user to override the inherited LLVM assertions mode.
Copy file name to clipboardexpand all lines: CMakeLists.txt
+7-5
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,8 @@ set(LIB_SUFFIX "" CACHE STRING "Appended to the library installation directory.
140
140
141
141
set(COMPILE_D_MODULES_SEPARATELY OFFCACHEBOOL"Compile each D module separately (instead of all at once). Useful for many CPU cores and/or iterative development; generated executables will be somewhat slower.")
142
142
143
+
set(LDC_ENABLE_ASSERTIONS "${LLVM_ENABLE_ASSERTIONS}"CACHEBOOL"Enable LDC assertions. Defaults to the LLVM assertions mode.")
144
+
143
145
if(D_VERSION EQUAL 1)
144
146
message(FATAL_ERROR "D version 1 is no longer supported.
145
147
Please consider using D version 2 or checkout the 'd1' git branch for the last version supporting D version 1.")
0 commit comments