Skip to content

Commit

Permalink
CI: Update Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Dec 23, 2024
1 parent 90d0c66 commit c55f50d
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/carpetx-arm64v8-cpu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ RUN mkdir src && \
true) && \
rm -rf src

COPY patches/openPMD-api.patch /cactus/patches/

# Install openPMD-api
# openPMD-api defines a standard for laying out AMR data in a file
# - depends on ADIOS2
Expand All @@ -233,6 +235,8 @@ RUN mkdir src && \
wget https://github.com/openPMD/openPMD-api/archive/refs/tags/0.16.0.tar.gz && \
tar xzf 0.16.0.tar.gz && \
cd openPMD-api-0.16.0 && \
patch -p1 </cactus/patches/openPMD-api.patch && \
rm /cactus/patches/openPMD-api.patch && \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
Expand Down
4 changes: 4 additions & 0 deletions docker/carpetx-cpu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ RUN mkdir src && \
true) && \
rm -rf src

COPY patches/openPMD-api.patch /cactus/patches/

# Install openPMD-api
# openPMD-api defines a standard for laying out AMR data in a file
# - depends on ADIOS2
Expand All @@ -233,6 +235,8 @@ RUN mkdir src && \
wget https://github.com/openPMD/openPMD-api/archive/refs/tags/0.16.0.tar.gz && \
tar xzf 0.16.0.tar.gz && \
cd openPMD-api-0.16.0 && \
patch -p1 </cactus/patches/openPMD-api.patch && \
rm /cactus/patches/openPMD-api.patch && \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
Expand Down
4 changes: 4 additions & 0 deletions docker/carpetx-cuda.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ RUN mkdir src && \
true) && \
rm -rf src

COPY patches/openPMD-api.patch /cactus/patches/

# Install openPMD-api
# openPMD-api defines a standard for laying out AMR data in a file
# - depends on ADIOS2
Expand All @@ -220,6 +222,8 @@ RUN mkdir src && \
wget https://github.com/openPMD/openPMD-api/archive/refs/tags/0.16.0.tar.gz && \
tar xzf 0.16.0.tar.gz && \
cd openPMD-api-0.16.0 && \
patch -p1 </cactus/patches/openPMD-api.patch && \
rm /cactus/patches/openPMD-api.patch && \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
Expand Down
4 changes: 4 additions & 0 deletions docker/carpetx-oneapi.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ RUN mkdir src && \
true) && \
rm -rf src

COPY patches/openPMD-api.patch /cactus/patches/

# Install openPMD-api
# openPMD-api defines a standard for laying out AMR data in a file
# - depends on ADIOS2
Expand All @@ -200,6 +202,8 @@ RUN mkdir src && \
wget https://github.com/openPMD/openPMD-api/archive/refs/tags/0.16.0.tar.gz && \
tar xzf 0.16.0.tar.gz && \
cd openPMD-api-0.16.0 && \
patch -p1 </cactus/patches/openPMD-api.patch && \
rm /cactus/patches/openPMD-api.patch && \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
Expand Down
4 changes: 4 additions & 0 deletions docker/carpetx-rocm.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ RUN mkdir src && \
true) && \
rm -rf src

COPY patches/openPMD-api.patch /cactus/patches/

# Install openPMD-api
# openPMD-api defines a standard for laying out AMR data in a file
# - depends on ADIOS2
Expand All @@ -224,6 +226,8 @@ RUN mkdir src && \
wget https://github.com/openPMD/openPMD-api/archive/refs/tags/0.16.0.tar.gz && \
tar xzf 0.16.0.tar.gz && \
cd openPMD-api-0.16.0 && \
patch -p1 </cactus/patches/openPMD-api.patch && \
rm /cactus/patches/openPMD-api.patch && \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
Expand Down
11 changes: 11 additions & 0 deletions docker/patches/openPMD-api.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/include/openPMD/backend/Container.hpp
+++ b/include/openPMD/backend/Container.hpp
@@ -259,7 +259,7 @@

void swap(Container &other)
{
- container().swap(other.m_container);
+ container().swap(other.container());
}

mapped_type &at(key_type const &key)

0 comments on commit c55f50d

Please sign in to comment.