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

removing old runtime folder

parent 962f4082
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ find_package(Clang 10.0.0 REQUIRED)
find_package(XACC REQUIRED)

add_subdirectory(handlers)
add_subdirectory(runtimev2)
add_subdirectory(runtime)
add_subdirectory(tools)
add_subdirectory(lib)

+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ need to download the appropriate LLVM/Clang binaries (via `apt-get` for instance
To build this fork of LLVM/Clang (be aware this step takes up a good amount of RAM):
```bash
$ apt-get install ninja-build [if you dont have ninja]
$ git clone https://github.com/hfinkel/llvm-project-csp llvm
$ git clone https://github.com/ornl-qci/llvm-project-csp llvm
$ cd llvm && mkdir build && cd build
$ cmake -G Ninja ../llvm -DCMAKE_INSTALL_PREFIX=$HOME/.llvm -DBUILD_SHARED_LIBS=TRUE -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_ENABLE_DUMP=ON -DLLVM_ENABLE_PROJECTS=clang
$ cmake --build . --target install
+1 −0
Original line number Diff line number Diff line
@@ -465,6 +465,7 @@ public:
    return std::make_pair(results.opt_val, results.opt_params);
  }
}; // namespace qcor

// Next, add Adapt

} // namespace qcor
+20 −3
Original line number Diff line number Diff line
set(LIBRARY_NAME qcor)

file(GLOB SRC *.cpp)
file(GLOB SRC observable/qcor_observable.cpp 
              optimizer/qcor_optimizer.cpp 
              objectives/objective_function.cpp
              execution/taskInitiate.cpp
              utils/qcor_utils.cpp)

add_library(${LIBRARY_NAME} SHARED ${SRC})

target_include_directories(${LIBRARY_NAME} PUBLIC . qrt)
target_include_directories(${LIBRARY_NAME} PUBLIC . qrt 
                            observable 
                            optimizer 
                            kernel 
                            objectives 
                            execution 
                            utils)

target_link_libraries(${LIBRARY_NAME} PUBLIC xacc::xacc xacc::quantum_gate qrt xacc::pauli)

xacc_configure_library_rpath(${LIBRARY_NAME})

file(GLOB HEADERS qcor.hpp)
file(GLOB HEADERS qcor.hpp 
                  observable/qcor_observable.hpp 
                  optimizer/qcor_optimizer.hpp 
                  kernel/quantum_kernel.hpp 
                  objectives/objective_function.hpp 
                  execution/taskInitiate.hpp
                  utils/qcor_utils.hpp)
                  
install(FILES ${HEADERS} DESTINATION include/qcor)
install(TARGETS ${LIBRARY_NAME} DESTINATION lib)

Loading