Skip to content

Commit 0167beb

Browse files
committed
Simplify patchelf step in basemap-for-manylinux workflow
1 parent 56e4d3f commit 0167beb

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/workflows/basemap-for-manylinux.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -194,33 +194,16 @@ jobs:
194194
with:
195195
name: artifacts-build-${{ matrix.arch }}-${{ matrix.python-version }}
196196
path: ${{ env.PKGDIR }}/dist
197-
-
198-
name: Install GCC toolchain
199-
run: |
200-
apt-get update
201-
apt-get install -y gcc g++ make
202197
-
203198
name: Install unzip
204199
run: |
205200
apt-get update
206201
apt-get install -y unzip
207202
-
208-
name: Install patchelf from source
203+
name: Install patchelf
209204
run: |
210-
pkgvers=0.9
211-
pkgname=patchelf
212-
pkgcode=${pkgname}-${pkgvers}
213-
cd /tmp
214-
wget https://releases.nixos.org/${pkgname}/${pkgcode}/${pkgcode}.tar.gz
215-
tar -xf ${pkgcode}.tar.gz
216-
rm -f ${pkgcode}.tar.gz
217-
cd ${pkgcode}
218-
./configure
219-
make
220-
make check
221-
make install
222-
cd ..
223-
rm -rf ${pkgcode}
205+
pip install patchelf
206+
alias patchelf="python -m patchelf"
224207
-
225208
name: Install auditwheel
226209
run: |

0 commit comments

Comments
 (0)