Skip to content

Commit

Permalink
Making changes for new code structure
Browse files Browse the repository at this point in the history
  • Loading branch information
anilavakundu committed May 22, 2021
1 parent 84462ee commit d11bbfd
Show file tree
Hide file tree
Showing 3 changed files with 850 additions and 111 deletions.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ project(ir2vec VERSION 1.0.1)
set(IR2VEC_LIB "IR2Vec")
set(IR2VEC_LIB_STATIC "IR2Vec_Static")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")

set(LT_LLVM_INSTALL_DIR "" CACHE PATH "LLVM installation directory")
list(APPEND CMAKE_PREFIX_PATH "${LT_LLVM_INSTALL_DIR}/lib/cmake/llvm/")

find_package(LLVM 10.0.1 REQUIRED CONFIG)
find_package(LLVM 10.0.0 REQUIRED CONFIG)
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")

Expand Down
Loading

0 comments on commit d11bbfd

Please sign in to comment.