Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Dec 11, 2024
1 parent f1d5106 commit 38b02ca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
arch: [ amd64, arm64 ]
arch: [ amd64 ]
steps:
- name: Clone
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
timeout-minutes: 240
strategy:
matrix:
arch: [ amd64, arm64 ]
arch: [ amd64 ]
steps:
- name: Clone
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Script/Rocky.Pre.arm64.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=arm64 rockylinux:9 AS build
FROM rockylinux:9

RUN dnf install -y epel-release && crb enable
RUN dnf install -y gcc g++ gfortran cmake wget git hdf5-devel
Expand Down
5 changes: 2 additions & 3 deletions Script/Rocky.arm64.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM --platform=arm64 tlcfem/suanpan-env:latest AS build
FROM tlcfem/suanpan-env:latest AS build

# part 3: suanpan
RUN git clone --depth 1 --branch dev https://github.com/TLCFEM/suanPan.git

RUN cd suanPan && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DUSE_SYS_LIB=ON -DCUSTOM_OPENBLAS=/OpenBLAS -DBUILD_MULTITHREAD=ON -DUSE_HDF5=ON -DUSE_VTK=OFF -DUSE_AVX2=OFF .. && make -j"$(nproc)"

FROM --platform=arm64 rockylinux:9 AS runtime
FROM rockylinux:9 AS runtime

RUN dnf install -y epel-release && crb enable
RUN dnf install -y libgomp hdf5
Expand All @@ -22,4 +22,3 @@ RUN ln -s /usr/local/bin/suanPan /usr/local/bin/suanpan
RUN ln -s /usr/local/bin/suanPan /usr/local/bin/sp

RUN sp -v

0 comments on commit 38b02ca

Please sign in to comment.