Skip to content
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
15 changes: 15 additions & 0 deletions nwx_build_environment/add_libint.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM nwx_buildenv:latest

ARG VERSION=2.9.0
ARG COMPILER=gcc-11

# Install libfort ##
RUN cd /tmp \
&& wget https://github.com/evaleev/libint/releases/download/v${VERSION}/libint-${VERSION}.tgz \
&& tar -zxf libint-${VERSION}.tgz \
&& cd libint-${VERSION} \
&& cmake -Bbuild -H. -GNinja \
-DCMAKE_INSTALL_PREFIX=/nwx_dependencies/${COMPILER} \
-DCMAKE_TOOLCHAIN_FILE=/toolchains/${COMPILER}.cmake \
&& cmake --build build --target install --parallel \
&& rm -rf /tmp/libint-${VERSION}
2 changes: 1 addition & 1 deletion nwx_build_environment/buildenv.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
docker build -t nwx_buildenv -f nwx_buildenv.dockerfile .

# Build dependencies with both GCC and Clang
deps=("cereal" "gauxc" "libfort" "spdlog")
deps=("cereal" "gauxc" "libfort" "spdlog" "libint")
for dep in "${deps[@]}"
do
docker build -t nwx_buildenv -f add_${dep}.dockerfile --build-arg COMPILER=gcc-11 .
Expand Down
2 changes: 1 addition & 1 deletion nwx_build_environment/nwx_buildenv.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update \
libboost-all-dev \
libopenblas-base libopenblas-dev \
libscalapack-openmpi-dev \
# libint2-dev \
wget \
libxml2-dev \
libxslt-dev \
nwchem \
Expand Down
Loading