From 690c18e0fa8501b433f2fa31c711b169be531f27 Mon Sep 17 00:00:00 2001 From: Earle Lowe <30607889+emlowe@users.noreply.github.com> Date: Wed, 9 Aug 2023 08:25:46 -0700 Subject: [PATCH] Update pyproject.toml --- pyproject.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3b878bba..047e9b77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,10 @@ skip = "*-manylinux_i686 *-win32 *-musllinux_*" [tool.cibuildwheel.linux] build-verbosity = 0 before-all = """ +yum -y install epel-release \ +&& echo "epel-release installed" \ +&& yum -y install boost-devel lzip \ +&& echo "boost-devel and lzip installed" \ curl -L https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.lz | tar x --lzip \ && cp src/lib/gmp-patch-6.2.1/longlong.h gmp-6.2.1/ \ && cp src/lib/gmp-patch-6.2.1/compat.c gmp-6.2.1/ \ @@ -21,7 +25,7 @@ curl -L https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.lz | tar x --lzip \ && cd gmp-6.2.1 && ./configure --enable-fat --enable-cxx \ && make && make install && cd .. && rm -rf gmp-6.2.1 \ && cmake --version \ -&& uname -a +&& uname -a \ """ before-build = "python -m pip install --upgrade pip" @@ -47,5 +51,5 @@ ls -l mpir_gc_x64 && pip uninstall -y delocate \ && delocate-wheel -v -i mpir_gc_x64/mpir_piledriver.dll {wheel} \ && delocate-wheel -v -i mpir_gc_x64/mpir_sandybridge.dll {wheel} \ && delocate-wheel -v -i mpir_gc_x64/mpir_skylake_avx.dll {wheel} \ -&& cp {wheel} {dest_dir} -""" \ No newline at end of file +&& cp {wheel} {dest_dir} \ +"""