Skip to content

Commit

Permalink
Update VTK version 9.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Dec 29, 2024
1 parent 737ba98 commit 45f50a8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Script/Fedora.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN echo "[oneAPI]" > /etc/yum.repos.d/oneAPI.repo && \
RUN dnf upgrade --refresh -y && dnf install -y libglvnd-devel gcc g++ gfortran rpm-build rpm-devel rpmdevtools cmake wget git intel-oneapi-mkl-devel

RUN mkdir vtk-build && cd vtk-build && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.0.tar.gz && tar xf VTK-9.4.0.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.0 && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.1.tar.gz && tar xf VTK-9.4.1.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.1 && \
make install -j"$(nproc)" && cd .. && rm -r vtk-build

RUN git clone -b dev --depth 1 https://github.com/TLCFEM/suanPan.git
Expand Down
4 changes: 2 additions & 2 deletions Script/Ubuntu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ RUN echo "deb https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/source
RUN apt-get update -y && apt-get install -y gcc g++ gfortran cmake git intel-oneapi-mkl-devel libxt-dev freeglut3-dev libxcursor-dev file dpkg-dev

RUN mkdir vtk-build && cd vtk-build && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.0.tar.gz && tar xf VTK-9.4.0.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.0 && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.1.tar.gz && tar xf VTK-9.4.1.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.1 && \
make install -j"$(nproc)" && cd .. && rm -r vtk-build

RUN git clone -b dev --depth 1 https://github.com/TLCFEM/suanPan.git
Expand Down
4 changes: 2 additions & 2 deletions Script/amd64/Rocky.Pre.CUDA.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ RUN dnf config-manager --enable crb
RUN dnf install -y libglvnd-devel gfortran rpm-build rpm-devel rpmdevtools cmake wget git ninja-build intel-oneapi-mkl-devel

RUN mkdir vtk-build && cd vtk-build && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.0.tar.gz && tar xf VTK-9.4.0.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.0 && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.1.tar.gz && tar xf VTK-9.4.1.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.1 && \
make install -j"$(nproc)" && cd .. && rm -r vtk-build

RUN dnf install -y procps
Expand Down
4 changes: 2 additions & 2 deletions Script/amd64/Rocky.Pre.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ RUN echo "[oneAPI]" > /etc/yum.repos.d/oneAPI.repo && \
RUN dnf upgrade --refresh -y && dnf install -y libglvnd-devel gcc g++ gfortran rpm-build rpm-devel rpmdevtools cmake wget git intel-oneapi-mkl-devel

RUN mkdir vtk-build && cd vtk-build && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.0.tar.gz && tar xf VTK-9.4.0.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.0 && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.1.tar.gz && tar xf VTK-9.4.1.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.1 && \
make install -j"$(nproc)" && cd .. && rm -r vtk-build

# ARG USERNAME=nonroot
Expand Down
4 changes: 2 additions & 2 deletions Script/arm64/Rocky.Pre.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN mkdir tbb-build && cd tbb-build && cmake -DCMAKE_BUILD_TYPE=Release -DTBB_TE

# part 3: vtk
RUN mkdir vtk-build && cd vtk-build && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.0.tar.gz && tar xf VTK-9.4.0.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.0 && \
wget -q https://www.vtk.org/files/release/9.4/VTK-9.4.1.tar.gz && tar xf VTK-9.4.1.tar.gz && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.4.1 && \
cmake --build . --target install --config Release --parallel "$(nproc)" && \
cd .. && rm -r vtk-build
4 changes: 2 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ parts:
- freeglut3-dev
- libglvnd-dev
override-build: |
wget -q https://github.com/TLCFEM/prebuilds/releases/download/latest/VTK-9.4.0-linux.tar.gz
tar xf VTK-9.4.0-linux.tar.gz
wget -q https://github.com/TLCFEM/prebuilds/releases/download/latest/VTK-9.4.1-linux.tar.gz
tar xf VTK-9.4.1-linux.tar.gz
wget -q https://registrationcenter-download.intel.com/akdlm/IRC_NAS/246ea40e-5aa7-42a4-81fa-0c029dc8650f/intel-onemkl-2025.0.1.16_offline.sh
sh ./intel-onemkl-2025.0.1.16_offline.sh -a --silent --eula accept
craftctl default
Expand Down

0 comments on commit 45f50a8

Please sign in to comment.