Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fedora: remove rdkit #199

Merged
merged 4 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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