Skip to content

Commit e1f2fec

Browse files
committed
linux export library path
1 parent 8625aac commit e1f2fec

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/hipo-ubuntu.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
- name: Install METIS
4343
run: |
4444
cd METIS
45-
make config shared=1 prefix=${{runner.workspace}}/installs gklib_path=../GKlib
45+
export LD_LIBRARY_PATH=/home/runner/work/HiGHS/installs/lib:$LD_LIBRARY_PATH
46+
make config shared=1 prefix=${{runner.workspace}}/installs
4647
make
4748
make install
4849
@@ -125,12 +126,13 @@ jobs:
125126
- name: Install METIS
126127
run: |
127128
cd METIS
128-
make config \
129-
prefix=${{runner.workspace}}/installs \
130-
gklib_path=${{runner.workspace}}/installs
129+
export LD_LIBRARY_PATH=/home/runner/work/HiGHS/installs/lib:$LD_LIBRARY_PATH
130+
make config prefix=${{runner.workspace}}/installs
131131
make
132132
make install
133133
134+
# \ gklib_path=${{runner.workspace}}/installs
135+
134136
- name: Check METIS and GKlib
135137
working-directory: ${{runner.workspace}}
136138
run: |

0 commit comments

Comments
 (0)