Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 13, 2024
1 parent 3d691ba commit 36284a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion releases/petsc4py-install-real.docker
Original file line number Diff line number Diff line change
@@ -1 +1 @@
91f0898
2dbcd5d
4 changes: 2 additions & 2 deletions releases/petsc4py-install-real.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ PETSC4PY_INSTALLED="$SHARE_PREFIX/petsc4py.installed"

if [[ ! -f $PETSC4PY_INSTALLED ]]; then
# Install h5py (and its dependencies, most notably gcc and mpi4py)
H5PY_INSTALL_SCRIPT_PATH=${H5PY_INSTALL_SCRIPT_PATH:-"https://github.com/fem-on-colab/fem-on-colab.github.io/raw/2eecb38/releases/h5py-install.sh"}
H5PY_INSTALL_SCRIPT_PATH=${H5PY_INSTALL_SCRIPT_PATH:-"https://github.com/fem-on-colab/fem-on-colab.github.io/raw/8127251/releases/h5py-install.sh"}
[[ $H5PY_INSTALL_SCRIPT_PATH == http* ]] && H5PY_INSTALL_SCRIPT_DOWNLOAD=${H5PY_INSTALL_SCRIPT_PATH} && H5PY_INSTALL_SCRIPT_PATH=/tmp/h5py-install.sh && [[ ! -f ${H5PY_INSTALL_SCRIPT_PATH} ]] && wget ${H5PY_INSTALL_SCRIPT_DOWNLOAD} -O ${H5PY_INSTALL_SCRIPT_PATH}
source $H5PY_INSTALL_SCRIPT_PATH

# Install BLAS and LAPACK
apt install -y -qq libblas-dev liblapack-dev

# Download and uncompress library archive
PETSC4PY_ARCHIVE_PATH=${PETSC4PY_ARCHIVE_PATH:-"https://github.com/fem-on-colab/fem-on-colab/releases/download/petsc4py-20241001-025746-188506b-real/petsc4py-install.tar.gz"}
PETSC4PY_ARCHIVE_PATH=${PETSC4PY_ARCHIVE_PATH:-"https://github.com/fem-on-colab/fem-on-colab/releases/download/petsc4py-20241013-094322-1fa4904-real/petsc4py-install.tar.gz"}
[[ $PETSC4PY_ARCHIVE_PATH == http* ]] && PETSC4PY_ARCHIVE_DOWNLOAD=${PETSC4PY_ARCHIVE_PATH} && PETSC4PY_ARCHIVE_PATH=/tmp/petsc4py-install.tar.gz && wget ${PETSC4PY_ARCHIVE_DOWNLOAD} -O ${PETSC4PY_ARCHIVE_PATH}
if [[ $PETSC4PY_ARCHIVE_PATH != skip ]]; then
tar -xzf $PETSC4PY_ARCHIVE_PATH --strip-components=$INSTALL_PREFIX_DEPTH --directory=$INSTALL_PREFIX
Expand Down

0 comments on commit 36284a4

Please sign in to comment.