-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13b0931
commit 95b37e6
Showing
9 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
FROM python:3.12 | ||
|
||
# Python image includes the dependencies we need for building InChI (gcc, make, etc.) | ||
FROM python:3.12-bookworm | ||
# Python image includes the dependencies we need for building InChI (gcc, make, etc.). | ||
|
||
RUN pip install --upgrade pip && \ | ||
pip install git+https://github.com/TUCAN-nest/SDF-pipeline.git | ||
|
||
# On Debian bookworm (12) only GCC versions 11 and 12 are available. | ||
# For GCC versions 9 and 10, use Debian bullseye (11). | ||
ARG GCC_VERSION=12 | ||
RUN apt-get update && apt-get install gcc-$GCC_VERSION -y | ||
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-$GCC_VERSION 42 | ||
RUN update-alternatives --set gcc /usr/bin/gcc-$GCC_VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
reference_version="v1.06" | ||
|
||
if ! git diff-index --quiet HEAD --; then | ||
echo "There are uncommitted changes on the current branch." | ||
echo "Please commit or stash them before checking out the reference tag." | ||
exit 1 | ||
fi | ||
git checkout tags/$reference_version | ||
|
||
(cd INCHI-1-SRC/INCHI_API/libinchi/gcc && | ||
make -j LIB_DIR=../../../../INCHI-1-TEST VERSION=.$reference_version) | ||
|
||
# Switch back to the branch that was checked out prior to checking out the tag. | ||
git switch - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.