Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
c969f9ca
Commit
c969f9ca
authored
Aug 06, 2021
by
Mccaskey, Alex
Browse files
minor updates to dockerfiles
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
3e2d9064
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker/ci/alpine/Dockerfile
View file @
c969f9ca
...
...
@@ -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_glucose.hpp xacc/tpls/staq/libs/glucose/glucose.hpp
\
&&
cd
xacc
&&
mkdir
build
&&
cd
build/
\
&&
cmake ..
&&
make
-j
4
install
\
&&
cmake ..
-DCMAKE_INSTALL_PREFIX
=
/usr/local/aideqc/qcor
&&
make
-j
8
install
\
&&
python3
-m
pip
install
ipopo
--user
\
&&
cd
../../
&&
rm
-rf
/xacc
\ No newline at end of file
&&
cd
../../
&&
rm
-rf
/xacc
ENV
PYTHONPATH "${PYTHONPATH}:/usr/local/aideqc/qcor"
docker/ci/ubuntu1804/master/Dockerfile
View file @
c969f9ca
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
\
&&
cmake ..
-DXACC_BUILD_TESTS
=
TRUE
-DXACC_BUILD_EXAMPLES
=
TRUE
\
&&
make
-j
$(
nproc
)
install
&&
PYTHONPATH
=
$HOME
/.xacc ctest
--output-on-failure
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment