Skip to content

Comments

Build Windows wheels for passagemath-msolve#1102

Draft
mkoeppe wants to merge 1 commit intomainfrom
windows-passagemath-msolve
Draft

Build Windows wheels for passagemath-msolve#1102
mkoeppe wants to merge 1 commit intomainfrom
windows-passagemath-msolve

Conversation

@mkoeppe
Copy link
Member

@mkoeppe mkoeppe commented Jun 27, 2025

No description provided.

@mkoeppe

This comment was marked as outdated.

@mkoeppe

This comment was marked as outdated.

@mkoeppe mkoeppe changed the title Build Windows wheels for passagemath-msolve Build Windows wheels for passagemath-msolve ... flint Jun 30, 2025
@mkoeppe

This comment was marked as resolved.

@mkoeppe mkoeppe force-pushed the windows-passagemath-msolve branch from 7c32ec0 to ef70f5c Compare July 1, 2025 00:22
@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 1, 2025

MinGW uses the cmake build system for FLINT

@mkoeppe mkoeppe force-pushed the windows-passagemath-msolve branch 2 times, most recently from d99b868 to 795cf19 Compare July 7, 2025 20:50
@mkoeppe

This comment was marked as resolved.

@mkoeppe

This comment was marked as resolved.

@mkoeppe mkoeppe force-pushed the windows-passagemath-msolve branch from 2847b4d to 96b5e27 Compare July 9, 2025 03:05
@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 9, 2025

  [msolve-0.8.0]   [spkg-install] In file included from fglm_core.c:49:
  [msolve-0.8.0]   [spkg-install] data_fglm.c: In function 'allocate_fglm_data':
  [msolve-0.8.0]   [spkg-install] data_fglm.c:46:6: error: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration]
  [msolve-0.8.0]   [spkg-install]    46 |   if(posix_memalign((void **)&data->vecinit, 32, ncols*sizeof(CF_t))){
  [msolve-0.8.0]   [spkg-install]       |      ^~~~~~~~~~~~~~
  [msolve-0.8.0]   [spkg-install] data_fglm.c:46:46: warning: 'posix_memalign' argument 2 type is 'int' where 'long long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
  [msolve-0.8.0]   [spkg-install]    46 |   if(posix_memalign((void **)&data->vecinit, 32, ncols*sizeof(CF_t))){
  [msolve-0.8.0]   [spkg-install]       |                                              ^~
  [msolve-0.8.0]   [spkg-install] <built-in>: note: built-in 'posix_memalign' declared here
  [msolve-0.8.0]   [spkg-install] data_fglm.c:51:42: warning: 'posix_memalign' argument 2 type is 'int' where 'long long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
  [msolve-0.8.0]   [spkg-install]    51 |   if(posix_memalign((void **)&data->res, 32, 2 * block_size * ncols * sizeof(CF_t))){
  [msolve-0.8.0]   [spkg-install]       |                                          ^~
  [msolve-0.8.0]   [spkg-install] <built-in>: note: built-in 'posix_memalign' declared here
...
  [msolve-0.8.0]   [spkg-install] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -msha -maes -mavx -mfma -mavx2 -mrdrnd -mbmi -mbmi2 -madx -mabm -fopenmp -g -O2 -c libmsolve.c  -DDLL_EXPORT -DPIC -o .libs/libmsolve_la-libmsolve.o
  [msolve-0.8.0]   [spkg-install] In file included from libmsolve.c:27:
  [msolve-0.8.0]   [spkg-install] iofiles.c: In function 'get_nvars':
  [msolve-0.8.0]   [spkg-install] iofiles.c:381:9: error: implicit declaration of function 'getline' [-Wimplicit-function-declaration]
  [msolve-0.8.0]   [spkg-install]   381 |     if (getline(&line, &len, fh) != -1)
  [msolve-0.8.0]   [spkg-install]       |         ^~~~~~~
  [msolve-0.8.0]   [spkg-install] iofiles.c: In function 'get_ngenerators':
  [msolve-0.8.0]   [spkg-install] iofiles.c:429:15: error: implicit declaration of function 'getdelim' [-Wimplicit-function-declaration]
  [msolve-0.8.0]   [spkg-install]   429 |         while(getdelim(&line, &len, ',', fh) != -1)
  [msolve-0.8.0]   [spkg-install]       |               ^~~~~~~~

@mkoeppe mkoeppe changed the title Build Windows wheels for passagemath-msolve ... flint Build Windows wheels for passagemath-msolve Jul 9, 2025
@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 9, 2025

algebraic-solving/msolve#214 by @wegank has some fixes

@mkoeppe mkoeppe force-pushed the windows-passagemath-msolve branch 2 times, most recently from f4743fb to 50400f6 Compare July 24, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant