File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ endif()
6161set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake ${BCL_CMAKE_MODULE_PATH} )
6262
6363# Minimum LLVM version which is necessary to build TSAR.
64- set (LLVM_MIN_VERSION 11 .0)
64+ set (LLVM_MIN_VERSION 15 .0)
6565
6666include (CMakeDependentOption)
6767include (BCLCompilerOptions)
@@ -205,6 +205,11 @@ else()
205205 FOLDER Misc
206206 RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR} /$<CONFIG>/${TSAR_LIBRARY_PATH} " )
207207 endif ()
208+ if (MSVC )
209+ include (BCLPatch)
210+ bcl_patch(PATCHFILE ${PROJECT_SOURCE_DIR} /patches/llvm-${LLVM_VERSION_MAJOR} .patch
211+ TARGET ${LLVM_PROJECT_DIR} "" IGNORE "" PATCH_OPTIONS -p0)
212+ endif ()
208213 sapfor_install_llvm()
209214endif (PACKAGE_LLVM)
210215
You can’t perform that action at this time.
0 commit comments