Skip to content

Commit e46e68d

Browse files
committed
Update scripts/gcc15.diff (avoid autoreconf)
1 parent 2255073 commit e46e68d

File tree

4 files changed

+28
-7
lines changed

4 files changed

+28
-7
lines changed

.github/workflows/os.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
- uses: actions/setup-python@v6
2626
with:
2727
python-version: "3.x"
28-
- run: brew install autoconf automake libtool
29-
if: ${{ startsWith(matrix.os, 'macos') }}
3028
- uses: msys2/[email protected]
3129
with:
3230
install: >-
3331
mingw-w64-ucrt-x86_64-pkg-config
3432
mingw-w64-ucrt-x86_64-gcc
35-
autotools
33+
diffutils
34+
m4
35+
make
3636
patch
3737
msystem: ucrt64
3838
path-type: inherit

.github/workflows/wheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
with:
1919
install: >-
2020
mingw-w64-ucrt-x86_64-gcc
21-
autotools
21+
diffutils
22+
m4
23+
make
2224
patch
2325
msystem: ucrt64
2426
if: ${{ startsWith(matrix.os, 'windows') }}
25-
- run: brew install autoconf automake libtool
26-
if: ${{ startsWith(matrix.os, 'macos') }}
2727
# Install pkgconfig on Windows from choco rather than from msys and
2828
# avoid using the Strawberry one.
2929
- run: choco install -y --stoponfirstfailure --checksum 6004DF17818F5A6DBF19CB335CC92702 pkgconfiglite

scripts/cibw_before_all.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ cd gmp-${GMP_VERSION}
1313
patch -N -Z -p1 < ../scripts/fat_build_fix.diff
1414
patch -N -Z -p0 < ../scripts/dll-importexport.diff
1515
patch -N -Z -p1 < ../scripts/gcc15.diff
16-
autoreconf -fi
1716

1817
unset CFLAGS
1918

scripts/gcc15.diff

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,25 @@ diff -r e84c5c785bbe -r 8e7bb4ae7a18 acinclude.m4
2727
void h(){}
2828
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
2929
{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
30+
diff --git a/configure b/configure
31+
index 7910aa0..fd1f494 100755
32+
--- a/configure
33+
+++ b/configure
34+
@@ -6568,7 +6568,7 @@ if test "$gmp_prog_cc_works" = yes; then
35+
36+
#if defined (__GNUC__) && ! defined (__cplusplus)
37+
typedef unsigned long long t1;typedef t1*t2;
38+
-void g(){}
39+
+void g(int,t1 const*,t1,t2,t1 const*,int){}
40+
void h(){}
41+
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
42+
{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
43+
@@ -8187,7 +8187,7 @@ if test "$gmp_prog_cc_works" = yes; then
44+
45+
#if defined (__GNUC__) && ! defined (__cplusplus)
46+
typedef unsigned long long t1;typedef t1*t2;
47+
-void g(){}
48+
+void g(int,t1 const*,t1,t2,t1 const*,int){}
49+
void h(){}
50+
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
51+
{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}

0 commit comments

Comments
 (0)