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

minor updates to dockerfiles



Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 3e2d9064
...@@ -10,6 +10,8 @@ RUN apk add build-base gcc binutils cmake blas-dev lapack-dev python3-dev curl-d ...@@ -10,6 +10,8 @@ RUN apk add build-base gcc binutils cmake blas-dev lapack-dev python3-dev curl-d
&& mv /tmp/patch_Error.cpp xacc/tpls/cppmicroservices/util/src/Error.cpp \ && mv /tmp/patch_Error.cpp xacc/tpls/cppmicroservices/util/src/Error.cpp \
&& mv /tmp/patch_glucose.hpp xacc/tpls/staq/libs/glucose/glucose.hpp \ && mv /tmp/patch_glucose.hpp xacc/tpls/staq/libs/glucose/glucose.hpp \
&& cd xacc && mkdir build && cd build/ \ && cd xacc && mkdir build && cd build/ \
&& cmake .. && make -j4 install \ && cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/aideqc/qcor && make -j8 install \
&& python3 -m pip install ipopo --user \ && python3 -m pip install ipopo --user \
&& cd ../../ && rm -rf /xacc && cd ../../ && rm -rf /xacc
\ No newline at end of file
ENV PYTHONPATH "${PYTHONPATH}:/usr/local/aideqc/qcor"
from xacc/ubuntu:20.04 from xacc/ubuntu:20.04
#run apt-add-repository "deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse" && apt-get install -y libz3-dev
run git clone --recursive https://github.com/eclipse/xacc && cd xacc && mkdir build && cd build \ run git clone --recursive https://github.com/eclipse/xacc && cd xacc && mkdir build && cd build \
&& cmake .. -DXACC_BUILD_TESTS=TRUE -DXACC_BUILD_EXAMPLES=TRUE \ && cmake .. -DXACC_BUILD_TESTS=TRUE -DXACC_BUILD_EXAMPLES=TRUE \
&& make -j$(nproc) install && PYTHONPATH=$HOME/.xacc ctest --output-on-failure && make -j$(nproc) install && PYTHONPATH=$HOME/.xacc ctest --output-on-failure
Supports Markdown
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