Commit 64e56e3d authored by Mccaskey, Alex's avatar Mccaskey, Alex

fixing failed linux tests

Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 78e5f388
[![Build Status](https://travis-ci.org/ORNL-QCI/xacc.svg?branch=master)](https://travis-ci.org/ORNL-QCI/xacc)
[![Build Status](https://travis-ci.org/eclipse/xacc.svg?branch=master)](https://travis-ci.org/eclipse/xacc)
# Eclipse XACC
## Hardware Agnostic Quantum Programming
......
from xacc/ci-base
run git clone --recursive https://github.com/eclipse/xacc && cd xacc && mkdir build && cd build \
&& cmake .. -DXACC_BUILD_TESTS=TRUE -DPYTHON_INCLUDE_DIR=$(python3 -m pyxacc --python-include-dir) \
&& make -j4 install && ctest && PYTHONPATH=~/.xacc python3 -c "import pyxacc; pyxacc.Initialize()"
&& cmake .. -DXACC_BUILD_TESTS=TRUE -DPYTHON_INCLUDE_DIR=$(python3 -c "import sysconfig; print(sysconfig.get_paths()['platinclude'])") \
&& make install && ctest && PYTHONPATH=~/.xacc python3 -c "import pyxacc; pyxacc.Initialize()"
......@@ -19,6 +19,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
set(BUILD_SHARED_LIBS FALSE)
add_subdirectory(cpr)
set(BUILD_SHARED_LIBS TRUE)
add_subdirectory(cpr/opt/googletest)
if(APPLE)
set_target_properties(gtest PROPERTIES INSTALL_RPATH "@loader_path")
......
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