From 40854fc395d4644c25e11b34d5e092a059e8a94f Mon Sep 17 00:00:00 2001 From: gmweaver Date: Wed, 5 Jun 2024 10:16:39 -0700 Subject: [PATCH] add install sudo --- .github/workflows/wheels.yml | 4 ++-- install_libpostal.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 425c6c0..c4d2325 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -24,8 +24,8 @@ jobs: - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse env: - CIBW_BEFORE_ALL_LINUX: yum install clang curl autoconf automake libtool - CIBW_BEFORE_ALL_MACOS: brew install curl autoconf automake libtool pkg-config + CIBW_BEFORE_ALL_LINUX: yum install autoconf automake curl libtool sudo + CIBW_BEFORE_ALL_MACOS: brew install autoconf automake curl libtool pkg-config - uses: actions/upload-artifact@v4 with: diff --git a/install_libpostal.sh b/install_libpostal.sh index ed496fc..6ccd842 100755 --- a/install_libpostal.sh +++ b/install_libpostal.sh @@ -39,7 +39,7 @@ git checkout tags/v1.1 ./bootstrap.sh ./configure --datadir=/tmp/libpostal_data_files --disable-data-download --disable-sse2 make -j4 -make install +sudo make install if [ "$OS" = "Linux" ]; then sudo ldconfig