Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
5c26eb52
Commit
5c26eb52
authored
Jun 30, 2021
by
Mccaskey, Alex
Browse files
update ci docker base to ubuntu 20.04, gcc 9.3, fix a few includes
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
ccadfdf2
Changes
5
Hide whitespace changes
Inline
Side-by-side
docker/ci/ubuntu1804/base/Dockerfile
View file @
5c26eb52
from
ubuntu:18.04
from
ubuntu:20.04
ENV
DEBIAN_FRONTEND noninteractive
run
apt-get
-y
update
&&
apt-get
install
-y
gcc g++ git wget
\
libcurl4-openssl-dev libssl-dev python3 libunwind-dev
\
libpython3-dev python3-pip libblas-dev liblapack-dev software-properties-common
\
...
...
docker/ci/ubuntu1804/master/Dockerfile
View file @
5c26eb52
from
xacc/ubuntu:
18
.04
run
apt-add-repository
"deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse"
&&
apt-get
install
-y
libz3-dev
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
&&
cmake ..
-DXACC_BUILD_TESTS
=
TRUE
-DXACC_BUILD_EXAMPLES
=
TRUE
#
&& make -j$(nproc) install && PYTHONPATH=$HOME/.xacc ctest --output-on-failure
quantum/examples/hpc_virtualization/tnqvm_h4_chain_8qbit_adapt_gs.in.cpp
View file @
5c26eb52
...
...
@@ -13,6 +13,7 @@
#include "Utils.hpp"
#include "xacc.hpp"
#include "xacc_observable.hpp"
#include <fstream>
// run this with
// $ mpirun -n N h4_chain_8qbit_hpc_virt --n-virtual-qpus M --n-hydrogens H
...
...
quantum/examples/qasm/phase_estimation_10q.cpp
View file @
5c26eb52
#include "xacc.hpp"
#include <fstream>
int
main
(
int
argc
,
char
**
argv
)
{
xacc
::
Initialize
(
argc
,
argv
);
...
...
quantum/plugins/placement/triq/tests/TriQPlacementTester.cpp
View file @
5c26eb52
...
...
@@ -3,6 +3,7 @@
#include <gtest/gtest.h>
#include "xacc.hpp"
#include "xacc_service.hpp"
#include <fstream>
using
namespace
xacc
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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