Skip to content

Commit

Permalink
Merge pull request #199 from votca/junghans-patch-1
Browse files Browse the repository at this point in the history
fedora: remove rdkit
  • Loading branch information
junghans authored Sep 20, 2023
2 parents ad91812 + eb5febc commit 0aeae58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
config:
- {dockerfile: 'fedora', tag: 'gmxpkg'}
- {dockerfile: 'fedora', tag: 'rawhide', build_args: 'TAG=rawhide,PYTHON=python3.11', continue-on-error: 'true'}
- {dockerfile: 'fedora', tag: 'rawhide', build_args: 'TAG=rawhide,PYTHON=python3.12', continue-on-error: 'true'}
- {dockerfile: 'ubuntu', tag: 'latest'}
- {dockerfile: 'ubuntu', tag: 'rolling', build_args: 'TAG=rolling'}
- {dockerfile: 'ubuntu', tag: 'devel', build_args: 'TAG=devel', continue-on-error: 'true'}
Expand Down
14 changes: 4 additions & 10 deletions fedora
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ RUN ( dnf -y update || dnf -y update ) && \
openmpi-devel boost-python3-devel python-devel boost-openmpi-devel hdf5-openmpi-devel python3-mpi4py-openmpi python-pip vim python-xmltodict python-ase && \
dnf clean all

RUN source /etc/os-release && if [ "${VERSION_ID}" -le 34 ]; then \
( dnf -y update || dnf -y update ) && \
dnf -y install python3-rdkit && \
dnf clean all; \
else \
pip install rdkit; \
fi

# set https://github.com/votca/buildenv/issues/22
RUN alternatives --set gnuplot /usr/bin/gnuplot-minimal

Expand Down Expand Up @@ -68,9 +60,11 @@ RUN if [ -n "${GMX_BRANCH}" ] && [ "${GMX_BRANCH}" != "none" ]; then \
sudo cmake --install gromacs/build; \
fi

RUN git clone https://github.com/espressopp/espressopp && \
RUN source /etc/os-release && if [ "${VERSION_ID}" -le 39 ]; then \
git clone https://github.com/espressopp/espressopp && \
cmake -S espressopp -B espressopp/build -DCMAKE_INSTALL_PREFIX=/usr && \
cmake --build espressopp/build && \
sudo cmake --install espressopp/build && \
sudo pip3 install pyh5md && \
${PYTHON} -c "import espressopp"
${PYTHON} -c "import espressopp"; \
fi

0 comments on commit 0aeae58

Please sign in to comment.