Skip to content

Commit

Permalink
Add compiled CHP to Action environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
sserita committed May 15, 2024
1 parent 52d6765 commit 1f1b73d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/ci-scripts/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ sudo apt-get install -qq -y \
gfortran libblas-dev liblapack-dev openmpi-bin openmpi-common openssh-client \
openssh-server libopenmpi3 libopenmpi-dev libsuitesparse-dev
cmake --version
gcc --version
gcc --version

#download chp source code
curl -o ./jupyter_notebooks/Tutorials/algorithms/advanced/chp.c https://www.scottaaronson.com/chp/chp.c
#compile chp
gcc -o ./jupyter_notebooks/Tutorials/algorithms/advanced/chp ./jupyter_notebooks/Tutorials/algorithms/advanced/chp.c
7 changes: 6 additions & 1 deletion .github/ci-scripts/before_install_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ brew install \
gfortran openblas lapack openmpi \
openssh suite-sparse
cmake --version
gcc --version
gcc --version

#download chp source code
curl -o ./jupyter_notebooks/Tutorials/algorithms/advanced/chp.c https://www.scottaaronson.com/chp/chp.c
#compile chp
gcc -o ./jupyter_notebooks/Tutorials/algorithms/advanced/chp ./jupyter_notebooks/Tutorials/algorithms/advanced/chp.c

0 comments on commit 1f1b73d

Please sign in to comment.