Commit e20a61ec authored by Nguyen, Thien Minh's avatar Nguyen, Thien Minh
Browse files

Update qcor GitHub url



Refactor 'github.com/ornl-qci/qcor' to 'github.com/qir-alliance/qcor' throughout the codebase
Signed-off-by: Nguyen, Thien Minh's avatarThien Nguyen <nguyentm@ornl.gov>
parent 162a3ce8
......@@ -34,7 +34,7 @@ RUN git clone --recursive https://github.com/eclipse/xacc && sudo chown -R coder
&& mv /home/coder/patch_glucose.hpp xacc/tpls/staq/libs/glucose/glucose.hpp \
&& cd xacc && mkdir build && cd build/ \
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/aideqc/qcor && make -j8 install && cd ../.. \
&& git clone https://github.com/ornl-qci/qcor && cd qcor && mkdir build && cd build \
&& git clone https://github.com/qir-alliance/qcor && cd qcor && mkdir build && cd build \
&& cmake .. -G Ninja -DXACC_DIR=/usr/local/aideqc/qcor -DCMAKE_INSTALL_PREFIX=/usr/local/aideqc/qcor \
-DLLVM_ROOT=/usr/local/aideqc/llvm -DQCOR_EXTRA_COMPILER_FLAGS="-B /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1 -L /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1" \
-DQCOR_EXTRA_HEADERS="/usr/include/c++/10.3.1;/usr/include/c++/10.3.1/x86_64-alpine-linux-musl" \
......
......@@ -17,7 +17,7 @@ ENV USER=coder
WORKDIR /home/coder
ADD README.md .
RUN sudo chown coder README.md && sudo chgrp coder README.md \
&& git clone https://github.com/ornl-qci/qcor && cp -r qcor/examples cpp-examples \
&& git clone https://github.com/qir-alliance/qcor && cp -r qcor/examples cpp-examples \
&& cp -r qcor/python/examples py-examples && rm -rf qcor \
&& mkdir -p /home/coder/.local/share/code-server/User \
&& printf "{\"workbench.startupEditor\": \"readme\", \"workbench.colorTheme\": \"Monokai Dimmed\", \"workbench.panel.defaultLocation\": \"right\", \"terminal.integrated.shell.linux\": \"bash\", \"files.associations\": {\"*.qasm\": \"cpp\"}}" | tee /home/coder/.local/share/code-server/User/settings.json \
......
<img src="https://github.com/ornl-qci/qcor/blob/master/docs/assets/qcor_full_logo.svg?raw=true" alt="qcor_fig" width="600"/>
<img src="https://github.com/qir-alliance/qcor/blob/master/docs/assets/qcor_full_logo.svg?raw=true" alt="qcor_fig" width="600"/>
# Welcome to QCOR
You are using the QCOR web-IDE for heterogeneous quantum-classical computing. <br>
This project provides a pre-built image containing the entire `qcor` compiler stack, including the [`qcor`](https://github.com/ornl-qci/qcor) <br>
This project provides a pre-built image containing the entire `qcor` compiler stack, including the [`qcor`](https://github.com/qir-alliance/qcor) <br>
C++ compiler and Python quantum JIT environment, the [XACC](https://github.com/eclipse/xacc) framework and high-level Python API, <br>
and the OpenQASM 3 MLIR compiler.
......
FROM qcor/llvm-alpine as llvm_install
FROM xacc/alpine
COPY --from=llvm_install /usr/local/aideqc/llvm /usr/local/aideqc/llvm
RUN apk add libc6-compat ninja bash sudo curl && git clone https://github.com/ornl-qci/qcor && cd qcor && mkdir build && cd build \
RUN apk add libc6-compat ninja bash sudo curl && git clone https://github.com/qir-alliance/qcor && cd qcor && mkdir build && cd build \
&& cmake .. -G Ninja -DXACC_DIR=/usr/local/aideqc/qcor -DCMAKE_INSTALL_PREFIX=/usr/local/aideqc/qcor -DLLVM_ROOT=/usr/local/aideqc/llvm -DQCOR_EXTRA_COMPILER_FLAGS="-B /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1 -L /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1" -DQCOR_EXTRA_HEADERS="/usr/include/c++/10.3.1;/usr/include/c++/10.3.1/x86_64-alpine-linux-musl" \
&& cmake --build . --target install && cd ../.. && rm -rf qcor \
&& adduser --gecos '' --disabled-password coder \
......@@ -17,7 +17,7 @@ RUN apk add libc6-compat ninja bash sudo curl && git clone https://github.com/or
USER 1000
ENV USER=coder
WORKDIR /home/coder
RUN git clone https://github.com/ornl-qci/qcor && cp -r qcor/examples cpp-examples \
RUN git clone https://github.com/qir-alliance/qcor && cp -r qcor/examples cpp-examples \
&& cp -r qcor/python/examples py-examples && rm -rf qcor
ENV PYTHONPATH "${PYTHONPATH}:/usr/local/aideqc/qcor"
ENV PATH "${PATH}:/usr/local/aideqc/qcor/bin"
......
......@@ -21,7 +21,7 @@ RUN sudo apk add bash icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib
&& sudo ln -s ~/.dotnet/dotnet /usr/bin/dotnet \
&& dotnet nuget add source "https://pkgs.dev.azure.com/ms-quantum-public/Microsoft Quantum (public)/_packaging/alpha/nuget/v3/index.json" -n qdk-alpha \
&& dotnet new -i Microsoft.Quantum.ProjectTemplates \
&& git clone https://github.com/ornl-qci/qcor && cp -r qcor/examples cpp-examples && rm -rf qcor \
&& git clone https://github.com/qir-alliance/qcor && cp -r qcor/examples cpp-examples && rm -rf qcor \
&& sudo apk add llvm \
&& sudo apk add xmlstarlet \
&& xmlstarlet ed --inplace -s /configuration -t elem -n config -v "" \
......
<img src="https://github.com/ornl-qci/qcor/blob/master/docs/assets/qcor_full_logo.svg?raw=true" alt="qcor_fig" width="600"/>
<img src="https://github.com/qir-alliance/qcor/blob/master/docs/assets/qcor_full_logo.svg?raw=true" alt="qcor_fig" width="600"/>
# Welcome to QCOR
You are using the QCOR web-IDE for heterogeneous quantum-classical computing. <br>
This project provides a pre-built image containing the entire `qcor` compiler stack, including the [`qcor`](https://github.com/ornl-qci/qcor) <br>
This project provides a pre-built image containing the entire `qcor` compiler stack, including the [`qcor`](https://github.com/qir-alliance/qcor) <br>
C++ compiler and Python quantum JIT environment, the [XACC](https://github.com/eclipse/xacc) framework and high-level Python API, <br>
and the OpenQASM 3 MLIR compiler.
......
......@@ -2,6 +2,6 @@ from xacc/ubuntu:18.04
run git clone --recursive -b xacc-devel https://github.com/eclipse/xacc && cd xacc && mkdir build && cd build \
&& cmake .. \
&& make -j$(nproc) install \
&& cd ../../ && git clone -b devel https://github.com/ornl-qci/qcor && cd qcor && mkdir build && cd build \
&& cd ../../ && git clone -b devel https://github.com/qir-alliance/qcor && cd qcor && mkdir build && cd build \
&& cmake .. -DXACC_DIR=~/.xacc -DQCOR_BUILD_TESTS=TRUE \
&& make -j$(nproc) install && ctest --output-on-failure
......@@ -2,6 +2,6 @@ from qcor/deploy-base
run git clone --recursive https://github.com/eclipse/xacc && cd xacc && mkdir build && cd build \
&& cmake .. \
&& make -j$(nproc) install
run cd ../../ && git clone -b master https://github.com/ornl-qci/qcor && cd qcor && mkdir build && cd build \
run cd ../../ && git clone -b master https://github.com/qir-alliance/qcor && cd qcor && mkdir build && cd build \
&& cmake .. -DXACC_DIR=~/.xacc -DLLVM_ROOT=/usr/local/aideqc/llvm -DMLIR_DIR=/usr/local/aideqc/llvm/lib/cmake/mlir -DQCOR_BUILD_TESTS=TRUE \
&& make -j$(nproc) install && ctest --output-on-failure
\ No newline at end of file
......@@ -15,6 +15,6 @@ RUN git clone --recursive https://github.com/eclipse/xacc && cd xacc && mkdir bu
&& cmake .. \
&& make -j$(nproc) install
RUN cd ../../ && git clone -b master https://github.com/ornl-qci/qcor && cd qcor && mkdir build && cd build \
RUN cd ../../ && git clone -b master https://github.com/qir-alliance/qcor && cd qcor && mkdir build && cd build \
&& cmake .. -DXACC_DIR=~/.xacc -DLLVM_ROOT=/usr/local/aideqc/llvm -DMLIR_DIR=/usr/local/aideqc/llvm/lib/cmake/mlir -DQCOR_BUILD_TESTS=TRUE \
&& make -j$(nproc) install && ctest --output-on-failure
\ No newline at end of file
......@@ -38,7 +38,7 @@ Questions, Bug Reporting, and Issue Tracking
---------------------------------------------
Questions, bug reporting and issue tracking are provided by GitHub. Please
report all bugs by creating a `new issue <https://github.com/ornl-qci/qcor/issues/new>`_.
report all bugs by creating a `new issue <https://github.com/qir-alliance/qcor/issues/new>`_.
You can ask questions by creating a new issue with the question tag.
.. toctree::
......
......@@ -44,7 +44,7 @@ Note that, for now, developers must clone QCOR manually:
.. code:: bash
$ git clone https://github.com/ornl-qci/qcor
$ git clone https://github.com/qir-alliance/qcor
$ cd qcor && mkdir build && cd build
$ cmake ..
$ [with tests] cmake .. -DQCOR_BUILD_TESTS=TRUE
......
......@@ -183,7 +183,7 @@ C++.</p>
<div class="section" id="questions-bug-reporting-and-issue-tracking">
<h2>Questions, Bug Reporting, and Issue Tracking<a class="headerlink" href="#questions-bug-reporting-and-issue-tracking" title="Permalink to this headline"></a></h2>
<p>Questions, bug reporting and issue tracking are provided by GitHub. Please
report all bugs by creating a <a class="reference external" href="https://github.com/ornl-qci/qcor/issues/new">new issue</a>.
report all bugs by creating a <a class="reference external" href="https://github.com/qir-alliance/qcor/issues/new">new issue</a>.
You can ask questions by creating a new issue with the question tag.</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Contents:</span></p>
......
......@@ -196,7 +196,7 @@ $ sudo ln -s <span class="nv">$HOME</span>/.llvm/bin/llvm-config /usr/bin
<div class="section" id="building-from-scratch">
<h2>Building from Scratch<a class="headerlink" href="#building-from-scratch" title="Permalink to this headline"></a></h2>
<p>Note that, for now, developers must clone QCOR manually:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ git clone https://github.com/ornl-qci/qcor
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ git clone https://github.com/qir-alliance/qcor
$ <span class="nb">cd</span> qcor <span class="o">&amp;&amp;</span> mkdir build <span class="o">&amp;&amp;</span> <span class="nb">cd</span> build
$ cmake ..
$ <span class="o">[</span>with tests<span class="o">]</span> cmake .. -DQCOR_BUILD_TESTS<span class="o">=</span>TRUE
......
......@@ -38,7 +38,7 @@ Questions, Bug Reporting, and Issue Tracking
---------------------------------------------
Questions, bug reporting and issue tracking are provided by GitHub. Please
report all bugs by creating a `new issue <https://github.com/ornl-qci/qcor/issues/new>`_.
report all bugs by creating a `new issue <https://github.com/qir-alliance/qcor/issues/new>`_.
You can ask questions by creating a new issue with the question tag.
.. toctree::
......
......@@ -44,7 +44,7 @@ Note that, for now, developers must clone QCOR manually:
.. code:: bash
$ git clone https://github.com/ornl-qci/qcor
$ git clone https://github.com/qir-alliance/qcor
$ cd qcor && mkdir build && cd build
$ cmake ..
$ [with tests] cmake .. -DQCOR_BUILD_TESTS=TRUE
......
#!/bin/bash
git ls-remote https://github.com/ornl-qci/qcor HEAD | awk '{ print $1}' | head -c 7
\ No newline at end of file
git ls-remote https://github.com/qir-alliance/qcor HEAD | awk '{ print $1}' | head -c 7
\ No newline at end of file
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