Skip to content

Commit 07bcb09

Browse files
committed
Remove METIS and GKlib from GitHub actions
1 parent a0a733f commit 07bcb09

File tree

8 files changed

+19
-528
lines changed

8 files changed

+19
-528
lines changed

.github/julia/build_tarballs.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ cmake -DCMAKE_INSTALL_PREFIX=${prefix} \
3535
-DZLIB_USE_STATIC_LIBS=${BUILD_STATIC} \
3636
-DHIPO=ON \
3737
-DBLAS_LIBRARIES="${libdir}/libopenblas.${dlext}" \
38-
-DMETIS_ROOT=${prefix} \
3938
..
4039
4140
if [[ "${target}" == *-linux-* ]]; then
@@ -63,7 +62,6 @@ platforms = expand_cxxstring_abis(platforms)
6362
dependencies = [
6463
Dependency("CompilerSupportLibraries_jll"),
6564
Dependency("Zlib_jll"),
66-
Dependency("METIS_jll"),
6765
Dependency("OpenBLAS32_jll"),
6866
HostBuildDependency(PackageSpec(; name="CMake_jll")),
6967
]

.github/workflows/hipo-macos.yml

Lines changed: 3 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -14,47 +14,6 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- name: Checkout GKlib
18-
uses: actions/checkout@v4
19-
with:
20-
repository: KarypisLab/GKlib
21-
ref: master
22-
path: GKlib
23-
24-
- name: Checkout METIS
25-
uses: actions/checkout@v4
26-
with:
27-
repository: KarypisLab/METIS
28-
ref: master
29-
path: METIS
30-
31-
- name: Create installs dir
32-
working-directory: ${{runner.workspace}}
33-
run: |
34-
mkdir installs
35-
ls
36-
37-
- name: Install GKlib
38-
run: |
39-
cd GKlib
40-
make config prefix=${{runner.workspace}}/installs
41-
make
42-
make install
43-
44-
- name: Install METIS
45-
run: |
46-
cd METIS
47-
make config prefix=${{runner.workspace}}/installs
48-
make
49-
make install
50-
51-
- name: Check METIS and GKlib
52-
working-directory: ${{runner.workspace}}
53-
run: |
54-
cd installs
55-
ls
56-
ls lib
57-
5817
- name: Create Build Environment
5918
run: cmake -E make_directory ${{runner.workspace}}/build
6019

@@ -63,9 +22,7 @@ jobs:
6322
run: |
6423
cmake $GITHUB_WORKSPACE -DHIPO=ON \
6524
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
66-
-DALL_TESTS=${{ matrix.all_tests }} \
67-
-DMETIS_ROOT=${{runner.workspace}}/installs \
68-
-DGKLIB_ROOT=${{runner.workspace}}/installs
25+
-DALL_TESTS=${{ matrix.all_tests }}
6926
7027
- name: Build
7128
working-directory: ${{runner.workspace}}/build
@@ -92,37 +49,6 @@ jobs:
9249
steps:
9350
- uses: actions/checkout@v4
9451

95-
- name: Checkout METIS
96-
uses: actions/checkout@v4
97-
with:
98-
repository: galabovaa/METIS
99-
ref: 510-ts
100-
path: METIS
101-
102-
- name: Create installs dir
103-
working-directory: ${{runner.workspace}}
104-
run: |
105-
mkdir installs
106-
ls
107-
108-
- name: Install METIS
109-
run: |
110-
cmake \
111-
-S $GITHUB_WORKSPACE/METIS \
112-
-B build \
113-
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
114-
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
115-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
116-
cmake --build build --parallel
117-
cmake --install build
118-
119-
- name: Check METIS and GKlib
120-
working-directory: ${{runner.workspace}}
121-
run: |
122-
cd installs
123-
ls
124-
ls lib
125-
12652
- name: Create Build Environment
12753
run: cmake -E make_directory ${{runner.workspace}}/build
12854

@@ -131,10 +57,7 @@ jobs:
13157
run: |
13258
cmake $GITHUB_WORKSPACE -DHIPO=ON \
13359
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
134-
-DALL_TESTS=${{ matrix.all_tests }} \
135-
-DMETIS_ROOT=${{runner.workspace}}/installs \
136-
137-
# -DGKLIB_ROOT=${{runner.workspace}}/installs
60+
-DALL_TESTS=${{ matrix.all_tests }}
13861
13962
- name: Build
14063
working-directory: ${{runner.workspace}}/build
@@ -161,37 +84,6 @@ jobs:
16184
steps:
16285
- uses: actions/checkout@v4
16386

164-
- name: Checkout METIS
165-
uses: actions/checkout@v4
166-
with:
167-
repository: galabovaa/METIS
168-
ref: 521-ts
169-
path: METIS
170-
171-
- name: Create installs dir
172-
working-directory: ${{runner.workspace}}
173-
run: |
174-
mkdir installs
175-
ls
176-
177-
- name: Install METIS
178-
run: |
179-
cmake \
180-
-S $GITHUB_WORKSPACE/METIS \
181-
-B build \
182-
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
183-
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
184-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
185-
cmake --build build --parallel
186-
cmake --install build
187-
188-
- name: Check METIS and GKlib
189-
working-directory: ${{runner.workspace}}
190-
run: |
191-
cd installs
192-
ls
193-
ls lib
194-
19587
- name: Create Build Environment
19688
run: cmake -E make_directory ${{runner.workspace}}/build
19789

@@ -200,10 +92,7 @@ jobs:
20092
run: |
20193
cmake $GITHUB_WORKSPACE -DHIPO=ON \
20294
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
203-
-DALL_TESTS=${{ matrix.all_tests }} \
204-
-DMETIS_ROOT=${{runner.workspace}}/installs \
205-
206-
# -DGKLIB_ROOT=${{runner.workspace}}/installs
95+
-DALL_TESTS=${{ matrix.all_tests }}
20796
20897
- name: Build
20998
working-directory: ${{runner.workspace}}/build

.github/workflows/hipo-ubuntu-cblas.yml

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -15,57 +15,6 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717

18-
- name: Checkout GKlib
19-
uses: actions/checkout@v4
20-
with:
21-
repository: KarypisLab/GKlib
22-
ref: master
23-
path: GKlib
24-
25-
- name: Checkout METIS
26-
uses: actions/checkout@v4
27-
with:
28-
repository: KarypisLab/METIS
29-
ref: master
30-
path: METIS
31-
32-
- name: Create installs dir
33-
working-directory: ${{runner.workspace}}
34-
run: |
35-
mkdir installs
36-
ls
37-
38-
- name: Install GKlib
39-
run: |
40-
cd GKlib
41-
make config shared=1 prefix=${{runner.workspace}}/installs
42-
make
43-
make install
44-
45-
# - name: Check installs
46-
# working-directory: ${{runner.workspace}}
47-
# run: |
48-
# cd installs
49-
# ls
50-
# ls lib
51-
52-
- name: Copy GKlib shared (bug)
53-
working-directory: ${{runner.workspace}}
54-
run: |
55-
cd installs
56-
cd lib
57-
ln libGKlib.so.0 libGKlib.so
58-
ls
59-
60-
- name: Install METIS
61-
run: |
62-
cd METIS
63-
make config shared=1 prefix=${{runner.workspace}}/installs
64-
make
65-
make install
66-
67-
# no default blas available on runner
68-
6918
- name: Cache APT packages
7019
uses: actions/cache@v4
7120
with:
@@ -88,9 +37,7 @@ jobs:
8837
run: |
8938
cmake $GITHUB_WORKSPACE -DHIPO=ON \
9039
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
91-
-DALL_TESTS=${{ matrix.all_tests }} \
92-
-DMETIS_ROOT=${{runner.workspace}}/installs \
93-
-DGKLIB_ROOT=${{runner.workspace}}/installs
40+
-DALL_TESTS=${{ matrix.all_tests }}
9441
9542
- name: Build
9643
working-directory: ${{runner.workspace}}/build

.github/workflows/hipo-ubuntu.yml

Lines changed: 3 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -14,57 +14,6 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- name: Checkout GKlib
18-
uses: actions/checkout@v4
19-
with:
20-
repository: KarypisLab/GKlib
21-
ref: master
22-
path: GKlib
23-
24-
- name: Checkout METIS
25-
uses: actions/checkout@v4
26-
with:
27-
repository: KarypisLab/METIS
28-
ref: master
29-
path: METIS
30-
31-
- name: Create installs dir
32-
working-directory: ${{runner.workspace}}
33-
run: |
34-
mkdir installs
35-
ls
36-
37-
- name: Install GKlib
38-
run: |
39-
cd GKlib
40-
make config shared=1 prefix=${{runner.workspace}}/installs
41-
make
42-
make install
43-
44-
# - name: Check installs
45-
# working-directory: ${{runner.workspace}}
46-
# run: |
47-
# cd installs
48-
# ls
49-
# ls lib
50-
51-
- name: Copy GKlib shared (bug)
52-
working-directory: ${{runner.workspace}}
53-
run: |
54-
cd installs
55-
cd lib
56-
ln libGKlib.so.0 libGKlib.so
57-
ls
58-
59-
- name: Install METIS
60-
run: |
61-
cd METIS
62-
make config shared=1 prefix=${{runner.workspace}}/installs
63-
make
64-
make install
65-
66-
# no default blas available on runner
67-
6817
- name: Cache APT packages
6918
uses: actions/cache@v4
7019
with:
@@ -87,9 +36,7 @@ jobs:
8736
run: |
8837
cmake $GITHUB_WORKSPACE -DHIPO=ON \
8938
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
90-
-DALL_TESTS=${{ matrix.all_tests }} \
91-
-DMETIS_ROOT=${{runner.workspace}}/installs \
92-
-DGKLIB_ROOT=${{runner.workspace}}/installs
39+
-DALL_TESTS=${{ matrix.all_tests }}
9340
9441
- name: Build
9542
working-directory: ${{runner.workspace}}/build
@@ -116,32 +63,6 @@ jobs:
11663
steps:
11764
- uses: actions/checkout@v4
11865

119-
- name: Checkout METIS
120-
uses: actions/checkout@v4
121-
with:
122-
repository: galabovaa/METIS
123-
ref: 510-ts
124-
path: METIS
125-
126-
- name: Create installs dir
127-
working-directory: ${{runner.workspace}}
128-
run: |
129-
mkdir installs
130-
ls
131-
132-
- name: Install METIS
133-
run: |
134-
cmake \
135-
-S $GITHUB_WORKSPACE/METIS \
136-
-B build \
137-
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
138-
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
139-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
140-
cmake --build build --parallel
141-
cmake --install build
142-
143-
# no default blas available on runner
144-
14566
- name: Cache APT packages
14667
uses: actions/cache@v4
14768
with:
@@ -164,8 +85,7 @@ jobs:
16485
run: |
16586
cmake $GITHUB_WORKSPACE -DHIPO=ON \
16687
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
167-
-DALL_TESTS=${{ matrix.all_tests }} \
168-
-DMETIS_ROOT=${{runner.workspace}}/installs
88+
-DALL_TESTS=${{ matrix.all_tests }}
16989
17090
- name: Build
17191
working-directory: ${{runner.workspace}}/build
@@ -192,32 +112,6 @@ jobs:
192112
steps:
193113
- uses: actions/checkout@v4
194114

195-
- name: Checkout METIS
196-
uses: actions/checkout@v4
197-
with:
198-
repository: galabovaa/METIS
199-
ref: 521-ts
200-
path: METIS
201-
202-
- name: Create installs dir
203-
working-directory: ${{runner.workspace}}
204-
run: |
205-
mkdir installs
206-
ls
207-
208-
- name: Install METIS
209-
run: |
210-
cmake \
211-
-S $GITHUB_WORKSPACE/METIS \
212-
-B build \
213-
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
214-
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
215-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
216-
cmake --build build --parallel
217-
cmake --install build
218-
219-
# no default blas available on runner
220-
221115
- name: Cache APT packages
222116
uses: actions/cache@v4
223117
with:
@@ -240,8 +134,7 @@ jobs:
240134
run: |
241135
cmake $GITHUB_WORKSPACE -DHIPO=ON \
242136
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
243-
-DALL_TESTS=${{ matrix.all_tests }} \
244-
-DMETIS_ROOT=${{runner.workspace}}/installs
137+
-DALL_TESTS=${{ matrix.all_tests }}
245138
246139
- name: Build
247140
working-directory: ${{runner.workspace}}/build

0 commit comments

Comments
 (0)