msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.28k stars 1.21k forks source link

scotch packages #6887

Closed 3rav closed 4 years ago

3rav commented 4 years ago

Scotch is a software package for graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering

https://gforge.inria.fr/projects/scotch/ https://gitlab.inria.fr/scotch/scotch

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=scotch

After the following modifications, I managed to compile scotch 6.0.8 in the mingw64 environment:

  1. Replace -lrt by -lregex in Makefile.inc.x86-64_pc_linux2
  2. Add to: common_file_compress.c and common_file_decompress.c (scotch_6.0.x/src/libscotch)

ifdef MINGW32

include

define pipe(fds) _pipe(fds,1024, _O_BINARY)

endif

3rav commented 4 years ago

https://github.com/msys2/MINGW-packages/pull/6890