Skip to content

Commit

Permalink
[build] add sparse-ir for doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed May 27, 2024
1 parent d0b64ec commit 3416332
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Docker/github_ci_dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/maxen
&& cmake ../ \
&& make -j$NCORES && ctest -j$NCORES && make install

# install sparse-ir into triqs pythonpath
RUN pip install --target /triqs/lib/python3.10/site-packages sparse-ir[xprec]

# remove source
RUN cd / && rm -rf source

3 changes: 3 additions & 0 deletions Docker/openmpi_dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ RUN mkdir -p /src && cd /src \
# && cd .. \
# && rm -rf openmpi-4.1.5.tar.gz openmpi-4.1.5

# install sparse-ir into triqs pythonpath
RUN pip install --target /triqs/lib/python3.10/site-packages sparse-ir[xprec]

ENV PYTHON_VERSION=3.10 \
CC=clang-${LLVM} CXX=clang++-${LLVM} CXXFLAGS="-stdlib=libc++"
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${LLVM} 60 --slave /usr/bin/clang++ clang++ /usr/bin/clang++-${LLVM} --slave /usr/bin/clang-cpp clang-cpp /usr/bin/clang-cpp-${LLVM}
Expand Down

0 comments on commit 3416332

Please sign in to comment.