File tree 7 files changed +23
-17
lines changed
7 files changed +23
-17
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ jobs:
14
14
sudo apt-get update && sudo apt-get install -y cmake git g++ libtbb-dev libmpfr-dev libgmp-dev libpython3-dev python3 python3-distutils
15
15
- name : Clone
16
16
uses : actions/checkout@v4
17
+ with :
18
+ fetch-depth : 0
19
+ submodules : true
17
20
- name : Compile
18
21
run : |
19
22
git config --global --add safe.directory /__w/vpmr/vpmr
20
- git submodule update --init --recursive
21
23
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug ..
22
24
make -j"$(nproc)"
23
25
./vpmr -h
Original file line number Diff line number Diff line change @@ -18,10 +18,12 @@ jobs:
18
18
apt-get update && apt-get install -y cmake git g++ libtbb-dev libmpfr-dev libgmp-dev libpython3-dev python3 python3-distutils wget gtk-update-icon-cache
19
19
- name : Clone
20
20
uses : actions/checkout@v4
21
+ with :
22
+ fetch-depth : 0
23
+ submodules : true
21
24
- name : Compile
22
25
run : |
23
26
git config --global --add safe.directory /__w/vpmr/vpmr
24
- git submodule update --init --recursive
25
27
cd eigen && git apply ../patch_size.patch && cd ..
26
28
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release ..
27
29
make -j"$(nproc)"
68
70
cat AppImageBuilder.yml
69
71
- name : Package
70
72
run : |
71
- wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20220822-1 /linuxdeploy-x86_64.AppImage
73
+ wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20250213-2 /linuxdeploy-x86_64.AppImage
72
74
chmod +x linuxdeploy-x86_64.AppImage
73
75
wget -q https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
74
76
chmod +x appimage-builder-1.1.0-x86_64.AppImage
Original file line number Diff line number Diff line change 11
11
steps :
12
12
- name : Checkout
13
13
uses : actions/checkout@v4
14
+ with :
15
+ fetch-depth : 0
16
+ submodules : true
14
17
- name : Setup
15
18
run : |
16
- git submodule update --init --recursive
17
19
cd eigen && git apply ../patch_size.patch && cd ..
18
20
- name : Build
19
21
run : pipx run build --sdist
48
50
steps :
49
51
- name : Checkout
50
52
uses : actions/checkout@v4
53
+ with :
54
+ fetch-depth : 0
55
+ submodules : true
51
56
- name : Setup
52
57
run : |
53
- git submodule update --init --recursive
54
58
cd eigen && git apply ../patch_size.patch && cd ..
55
59
- name : CI Build Wheel macos-14
56
60
if : matrix.os == 'macos-14'
Original file line number Diff line number Diff line change @@ -19,13 +19,15 @@ jobs:
19
19
install : git mingw-w64-x86_64-cmake mingw-w64-x86_64-tbb mingw-w64-x86_64-gcc mingw-w64-x86_64-ninja mingw-w64-x86_64-gmp mingw-w64-x86_64-mpfr mingw-w64-x86_64-7zip
20
20
- name : Clone
21
21
uses : actions/checkout@v4
22
+ with :
23
+ fetch-depth : 0
24
+ submodules : true
22
25
- name : Version
23
26
run : |
24
27
echo ("VPMR_VERSION="+(get-date -format "yyMMdd")) >> $env:GITHUB_ENV
25
28
- name : Compile
26
29
shell : msys2 {0}
27
30
run : |
28
- git submodule update --init --recursive
29
31
cd eigen && git apply --ignore-space-change --ignore-whitespace ../patch_size.patch && cd ..
30
32
mkdir build && cd build
31
33
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..
Original file line number Diff line number Diff line change 1
- FROM ubuntu:22.04 as build
1
+ FROM ubuntu:22.04 AS build
2
2
3
3
RUN apt-get update -y && apt-get install -y cmake git g++ libtbb-dev libmpfr-dev libgmp-dev
4
4
5
- RUN git clone --depth 1 https://github.com/TLCFEM/vpmr.git
5
+ RUN git clone --recurse-submodules -- depth 1 https://github.com/TLCFEM/vpmr.git
6
6
7
7
WORKDIR /vpmr
8
8
9
- RUN git submodule update --init --recursive
10
9
RUN cd eigen && git apply ../patch_size.patch && cd ..
11
10
RUN mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make
12
11
13
- FROM ubuntu:22.04 as runtime
12
+ FROM ubuntu:22.04 AS runtime
14
13
15
14
RUN apt-get update -y && apt-get install -y libtbb12 libmpfr6 libgmp10 && apt-get clean -y
16
15
Original file line number Diff line number Diff line change @@ -239,10 +239,8 @@ WSL.
239
239
# install necessary packages
240
240
pacman -S git mingw-w64-x86_64-cmake mingw-w64-x86_64-tbb mingw-w64-x86_64-gcc mingw-w64-x86_64-ninja mingw-w64-x86_64-gmp mingw-w64-x86_64-mpfr
241
241
# clone the repository
242
- git clone --depth 1 https://github.com/TLCFEM/vpmr.git
243
- # initialise submodules
242
+ git clone --recurse-submodules --depth 1 https://github.com/TLCFEM/vpmr.git
244
243
cd vpmr
245
- git submodule update --init --recursive
246
244
# apply patch to enable parallel evaluation of some loops in SVD
247
245
cd eigen && git apply --ignore-space-change --ignore-whitespace ../patch_size.patch && cd ..
248
246
# configure and compile
@@ -257,9 +255,8 @@ The following is based on Fedora.
257
255
``` bash
258
256
sudo dnf install gcc g++ gfortran cmake git -y
259
257
sudo dnf install tbb-devel mpfr-devel gmp-devel -y
260
- git clone --depth 1 https://github.com/TLCFEM/vpmr.git
258
+ git clone --recurse-submodules -- depth 1 https://github.com/TLCFEM/vpmr.git
261
259
cd vpmr
262
- git submodule update --init --recursive
263
260
cd eigen && git apply --ignore-space-change --ignore-whitespace ../patch_size.patch && cd ..
264
261
cmake -DCMAKE_BUILD_TYPE=Release .
265
262
make
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ FROM alpine:3 AS builder
2
2
3
3
RUN apk add make cmake git g++ onetbb-dev mpfr-dev gmp-dev
4
4
5
- RUN git clone --depth 1 https://github.com/TLCFEM/vpmr.git
5
+ RUN git clone --recurse-submodules -- depth 1 https://github.com/TLCFEM/vpmr.git
6
6
WORKDIR /vpmr
7
- RUN git submodule update --init --recursive && cd eigen && git apply --ignore-space-change --ignore-whitespace ../patch_size.patch && cd .. && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make
7
+ RUN cd eigen && git apply --ignore-space-change --ignore-whitespace ../patch_size.patch && cd .. && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make
8
8
9
9
FROM alpine:3 AS runtime
10
10
RUN apk add onetbb mpfr
You can’t perform that action at this time.
0 commit comments