Commit 1281b1c4 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

conda build: Install cairo if gmsh is required

parent 0c85cca5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -236,6 +236,9 @@ install_conda_deps()
    CONDA_EXE_DIR=$MINIFORGE_INSTALL_DIR/bin
  fi

  # https://github.com/conda-forge/gmsh-feedstock/issues/74
  sed -i '/gmsh/i- cairo' "$CONDA_ENVIRONMENT"

  PATH="$CONDA_EXE_DIR:$PATH" with_echo conda update conda --yes --quiet
  PATH="$CONDA_EXE_DIR:$PATH" with_echo conda update --all --yes --quiet
  PATH="$CONDA_EXE_DIR:$PATH" with_echo conda env create --file "$CONDA_ENVIRONMENT" --name testing --quiet