Skip to content

Commit a5d7d9f

Browse files
committed
fpic
1 parent f019b9d commit a5d7d9f

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
@@ -36,18 +36,19 @@ jobs:
3636
- name: Install GKLIB
3737
run: |
3838
cd GKlib
39-
make config prefix=${{runner.workspace}}/installs
39+
make config ccopts=-fPIC prefix=${{runner.workspace}}/installs
4040
make
4141
make install
4242
4343
- name: Install METIS
4444
run: |
4545
cd METIS
46-
export LD_LIBRARY_PATH=/home/runner/work/HiGHS/installs/lib:$LD_LIBRARY_PATH
4746
make config prefix=${{runner.workspace}}/installs
4847
make
4948
make install
5049
50+
# export LD_LIBRARY_PATH=/home/runner/work/HiGHS/installs/lib:$LD_LIBRARY_PATH
51+
5152
# - name: Check METIS and GKlib
5253
# working-directory: ${{runner.workspace}}
5354
# run: |
@@ -120,18 +121,19 @@ jobs:
120121
- name: Install GKLIB
121122
run: |
122123
cd GKlib
123-
make config prefix=${{runner.workspace}}/installs
124+
make config ccopts=-fPIC prefix=${{runner.workspace}}/installs
124125
make
125126
make install
126127
127128
- name: Install METIS
128129
run: |
129130
cd METIS
130-
export LD_LIBRARY_PATH=/home/runner/work/HiGHS/installs/lib:$LD_LIBRARY_PATH
131131
make config prefix=${{runner.workspace}}/installs
132132
make
133133
make install
134134
135+
# export LD_LIBRARY_PATH=/home/runner/work/HiGHS/installs/lib:$LD_LIBRARY_PATH
136+
135137
- name: Check METIS and GKlib
136138
working-directory: ${{runner.workspace}}
137139
run: |

0 commit comments

Comments
 (0)