Skip to content

Commit 95bd12f

Browse files
committed
fixes
1 parent ceba389 commit 95bd12f

File tree

3 files changed

+68
-27
lines changed

3 files changed

+68
-27
lines changed

.github/workflows/hipo-macos.yml

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,46 @@ jobs:
3434
mkdir installs
3535
ls
3636
37-
- name: Install GKLIB
37+
- name: Install GKlib Release
38+
working-directory: GKlib
39+
if: ${{ matrix.config == 'Release' }}
3840
run: |
3941
cd GKlib
40-
cmake -S. -B build \
41-
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
42-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
43-
cmake --build build --parallel
44-
cmake --install build
42+
make config shared=1 prefix=${{runner.workspace}}/installs
43+
make
44+
make install
4545
46-
- name: Install METIS
46+
- name: Install GKlib Debug
47+
working-directory: GKlib
48+
if: ${{ matrix.config == 'Debug' }}
4749
run: |
48-
cmake -S. -B build \
49-
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
50-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
51-
cmake --build build --parallel
52-
cmake --install build
50+
cd GKlib
51+
make config shared=1 prefix=${{runner.workspace}}/installs gdb=1 debug=1
52+
make
53+
make install
54+
55+
- name: Install METIS Release
56+
if: ${{ matrix.config == 'Release'}}
57+
run: |
58+
cd METIS
59+
make config shared=1 prefix=${{runner.workspace}}/installs
60+
make
61+
make install
62+
63+
- name: Install METIS Debug
64+
if: ${{ matrix.config == 'Debug'}}
65+
run: |
66+
cd METIS
67+
make config shared=1 prefix=${{runner.workspace}}/installs gdb=1 debug=1
68+
make
69+
make install
70+
71+
- name: Check METIS and GKlib
72+
working-directory: ${{runner.workspace}}
73+
run: |
74+
cd installs
75+
ls
76+
ls lib
5377
5478
- name: Check METIS and GKlib
5579
working-directory: ${{runner.workspace}}
@@ -111,7 +135,7 @@ jobs:
111135
- name: Install METIS
112136
run: |
113137
cmake \
114-
-S $GITHUB_WORKSPACE\METIS \
138+
-S $GITHUB_WORKSPACE/METIS \
115139
-B build \
116140
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
117141
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \

.github/workflows/hipo-ubuntu.yml

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,23 @@ jobs:
3434
mkdir installs
3535
ls
3636
37-
- name: Install GKLIB
37+
- name: Install GKlib Release
38+
working-directory: GKlib
39+
if: ${{ matrix.config == 'Release' }}
3840
run: |
3941
cd GKlib
40-
cmake -S. -B build \
41-
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
42-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
43-
cmake --build build --parallel
44-
cmake --install build
42+
make config shared=1 prefix=${{runner.workspace}}/installs
43+
make
44+
make install
45+
46+
- name: Install GKlib Debug
47+
working-directory: GKlib
48+
if: ${{ matrix.config == 'Debug' }}
49+
run: |
50+
cd GKlib
51+
make config shared=1 prefix=${{runner.workspace}}/installs gdb=1 debug=1
52+
make
53+
make install
4554
4655
# - name: Check installs
4756
# working-directory: ${{runner.workspace}}
@@ -58,13 +67,21 @@ jobs:
5867
ln libGKlib.so.0 libGKlib.so
5968
ls
6069
61-
- name: Install METIS
70+
- name: Install METIS Release
71+
if: ${{ matrix.config == 'Release'}}
6272
run: |
63-
cmake -S. -B build \
64-
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
65-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
66-
cmake --build build --parallel
67-
cmake --install build
73+
cd METIS
74+
make config shared=1 prefix=${{runner.workspace}}/installs
75+
make
76+
make install
77+
78+
- name: Install METIS Debug
79+
if: ${{ matrix.config == 'Debug'}}
80+
run: |
81+
cd METIS
82+
make config shared=1 prefix=${{runner.workspace}}/installs gdb=1 debug=1
83+
make
84+
make install
6885
6986
# no default blas available on runner
7087

@@ -135,7 +152,7 @@ jobs:
135152
- name: Install METIS
136153
run: |
137154
cmake \
138-
-S $GITHUB_WORKSPACE\METIS \
155+
-S $GITHUB_WORKSPACE/METIS \
139156
-B build \
140157
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
141158
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \

.github/workflows/hipo-win.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
cd METIS
9797
pwd
9898
cmake -S. -B build `
99-
-DGKLIB_PATH="${env:$GITHUB_WORKSPACE}/METIS/GKlib"
99+
-DGKLIB_PATH="$env:$GITHUB_WORKSPACE/METIS/GKlib"
100100
-DCMAKE_INSTALL_PREFIX="${{ runner.workspace }}/installs" `
101101
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
102102
cmake --build build --parallel --config ${{ matrix.config }}

0 commit comments

Comments
 (0)