Commit 14a5502d authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

updates to gitpod config


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 8acfaf2f
image: xacc/gitpod-base
tasks:
- init: brew install lapack && mkdir build && cd build && CMAKE_PREFIX_PATH=/home/linuxbrew/.linuxbrew/Cellar/lapack/3.8.0_2/lib cmake .. -DXACC_BUILD_TESTS=TRUE -DXACC_BUILD_EXAMPLES=TRUE
\ No newline at end of file
- init: mkdir build && cd build && cmake .. -DXACC_BUILD_TESTS=TRUE -DXACC_BUILD_EXAMPLES=TRUE
vscode:
extensions:
- ms-vscode.cpptools@0.26.2:Pq/tmf2WN3SanVzB4xZc1g==
\ No newline at end of file
......@@ -20,9 +20,17 @@ Documentation
* [Website and Documentation](https://xacc.readthedocs.io)
* [API Documentation](https://ornl-qci.github.io/xacc-api-docs/)
Quick Start with Docker
-----------------------
We provide docker images with XACC built and installed. These images by default serve
Quick Start
-----------
Click the GitPod icon at the top of this README to open up a pre-configured Eclipse Theia IDE. From the
terminal
```bash
$ [build xacc] cd build && make -j4 install
$ [run tests] ctest
$ [run example] quantum/examples/base_api/bell_xasm_ibm_local
```
We also provide docker images with XACC built and installed. These images by default serve
an Eclipse Theia IDE on port 3000. To get started, run
```bash
$ docker run --security-opt seccomp=unconfined --init -it -p 3000:3000 xacc/xacc
......
......@@ -62,8 +62,8 @@ if(LAPACK_FOUND)
xacc-quantum-gate
${ANTLR_LIB}
CppMicroServices
blas
lapack PRIVATE cpr)
${LAPACK_LIBRARIES}
PRIVATE cpr)
else()
......
......@@ -24,7 +24,7 @@ target_include_directories(${LIBRARY_NAME}
find_package(LAPACK)
if(LAPACK_FOUND)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAS_LAPACK")
target_link_libraries(${LIBRARY_NAME} PUBLIC xacc lapack)
target_link_libraries(${LIBRARY_NAME} PUBLIC xacc ${LAPACK_LIBRARIES})
else()
target_link_libraries(${LIBRARY_NAME} PUBLIC xacc)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment