Commit bde17052 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

adding tools dir, adding qopt, prototype searching for for loops in llvm ir

parent a099a8b6
Loading
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -22,17 +22,11 @@ option(QCOR_BUILD_TESTS "Build qcor tests" OFF)
find_package(Clang 10.0.0 REQUIRED)
find_package(XACC REQUIRED)

# Store the location of the clang executable
set (CLANG_EXECUTABLE "${LLVM_INSTALL_PREFIX}/bin/clang++")

configure_file(${CMAKE_SOURCE_DIR}/scripts/qcor.in
               ${CMAKE_BINARY_DIR}/qcor)

add_subdirectory(handlers)
add_subdirectory(runtime)
add_subdirectory(tools)

if (QCOR_BUILD_TESTS)
  add_subdirectory(examples)
endif()
install(PROGRAMS ${CMAKE_BINARY_DIR}/qcor DESTINATION bin)

tools/CMakeLists.txt

0 → 100644
+2 −0
Original line number Diff line number Diff line
add_subdirectory(qopt)
add_subdirectory(driver)
 No newline at end of file
+8 −0
Original line number Diff line number Diff line

# Store the location of the clang executable
set (CLANG_EXECUTABLE "${LLVM_INSTALL_PREFIX}/bin/clang++")

configure_file(qcor.in
               ${CMAKE_BINARY_DIR}/qcor)

install(PROGRAMS ${CMAKE_BINARY_DIR}/qcor DESTINATION bin)
+0 −0

File moved.

+10 −0
Original line number Diff line number Diff line

# Store the location of the clang executable
set (OPT_EXECUTABLE "${LLVM_INSTALL_PREFIX}/bin/opt")

configure_file(qopt.in
               ${CMAKE_BINARY_DIR}/qopt)

add_subdirectory(passes)

install(PROGRAMS ${CMAKE_BINARY_DIR}/qopt DESTINATION bin)
Loading