Skip to content

Commit 781ae0c

Browse files
authored
[llvm] Remove downstream workaround for LLVM Version
build_lightning.sh now reads from LLVMVersion.cmake, so we no longer need this workaround (that's a diff from upstream)
1 parent 9e33f48 commit 781ae0c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

llvm/CMakeLists.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,6 @@ endif()
1919

2020
include(${LLVM_COMMON_CMAKE_UTILS}/Modules/LLVMVersion.cmake)
2121

22-
# TODO: Remove the following block of llvm versions once build_lightning script
23-
# has been updated to lookup above LLVMVersion.cmake file instead of this file.
24-
if(NOT DEFINED LLVM_VERSION_MAJOR)
25-
set(LLVM_VERSION_MAJOR 19)
26-
endif()
27-
if(NOT DEFINED LLVM_VERSION_MINOR)
28-
set(LLVM_VERSION_MINOR 0)
29-
endif()
30-
if(NOT DEFINED LLVM_VERSION_PATCH)
31-
set(LLVM_VERSION_PATCH 0)
32-
endif()
33-
if(NOT DEFINED LLVM_VERSION_SUFFIX)
34-
set(LLVM_VERSION_SUFFIX git)
35-
endif()
36-
3722
set_directory_properties(PROPERTIES LLVM_VERSION_MAJOR "${LLVM_VERSION_MAJOR}")
3823

3924
if (NOT PACKAGE_VERSION)

0 commit comments

Comments
 (0)