Skip to content

Commit

Permalink
Only support LLVM 16 (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaoliello authored Jul 19, 2023
1 parent 089cf8d commit 44f68f6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 337 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ if (NOT DEFINED LLVM_VERSION_MAJOR)
set (CMAKE_CXX_STANDARD 17)
endif()

if(LLVM_VERSION_MAJOR LESS 8)
message(FATAL_ERROR "This project isn't buldable with LLVM < 8.0.0.")
elseif(LLVM_VERSION_MAJOR LESS 10)
message(WARNING "Building with LLVM < 10.0.0 is at your own risk.")
if(NOT LLVM_VERSION_MAJOR EQUAL 16)
message(FATAL_ERROR "This project only supports LLVM 16. For older versions of LLVM please check https://github.com/JuliaHubOSS/llvm-cbe/tags")
endif()

add_subdirectory(lib)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This LLVM C backend has been resurrected by Julia Computing with various improve
Installation instructions
=========================

This version of the LLVM C backend works with LLVM 10.0 and 16.0, other version of LLVM may work but are untested.
This version of the LLVM C backend works with LLVM 16, for older versions please check the [tags](https://github.com/JuliaHubOSS/llvm-cbe/tags).

Step 1: Installing LLVM
=======================
Expand Down
Loading

0 comments on commit 44f68f6

Please sign in to comment.