Skip to content

Commit

Permalink
Support LLVM 16, GCC 11 and MSVC 2022 17.6 (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaoliello committed Jul 13, 2023
1 parent a80a1b4 commit 68dc52d
Show file tree
Hide file tree
Showing 16 changed files with 592 additions and 114 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ if (NOT DEFINED LLVM_VERSION_MAJOR)
find_package(LLVM REQUIRED CONFIG)
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")
message(STATUS "LLVM_INCLUDE_DIRS: ${LLVM_INCLUDE_DIRS}")
include_directories(${LLVM_INCLUDE_DIRS})
add_definitions(${LLVM_DEFINITIONS})

list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_DIR}")
include(AddLLVM)

set (CMAKE_CXX_STANDARD 14)
set (CMAKE_CXX_STANDARD 17)
endif()

if(LLVM_VERSION_MAJOR LESS 8)
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 has preliminary support for LLVM 11.0.
This version of the LLVM C backend works with LLVM 10.0 and 16.0, other version of LLVM may work but are untested.

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

0 comments on commit 68dc52d

Please sign in to comment.