Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 41 additions & 1 deletion .github/workflows/distcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,49 @@ jobs:
cd ..
- name: Configure
run: |
autoreconf -i
chmod +x autogen.sh
./autogen.sh
ASAN_OPTIONS=detect_leaks=0 CFLAGS="-fsanitize=address" ./configure --enable-debug
- name: Check
run: ASAN_OPTIONS=detect_leaks=0 make -j $JOBS check
- name: Distcheck
run: make -j $JOBS distcheck

windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install prerequisites
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: true
install: >-
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-autotools
mingw-w64-ucrt-x86_64-libtool
mingw-w64-ucrt-x86_64-pkg-config
git
make
- name: Install M4RI
run: |
git clone https://github.com/malb/m4ri
cd m4ri
autoreconf -i
./configure --prefix=/ucrt64
make -j $JOBS
make install
cd ..
- name: Configure
run: |
chmod +x autogen.sh
./autogen.sh
./configure --enable-debug
- name: Check
run: make -j $JOBS check
- name: Distcheck
run: make -j $JOBS distcheck
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
cd ..
- name: Configure
run: |
autoreconf -i
chmod +x autogen.sh
./autogen.sh
./configure
- name: Compile
run: make -j $JOBS
Expand Down
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Basic Installation

Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
more detailed instructions are generic; see the `README' file for
instructions specific to this package. Some packages provide this
`INSTALL' file but do not implement all of the features documented
below. The lack of an optional feature in a given package is not
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2

* asymptotically fast TRiangular System solving with Matrices (upper left, lower left),

* support for Linux, OpenSolaris and OS X (all GCC).
* support for Linux, OpenSolaris and OS X (all GCC). Support for Windows (MSYS2/MinGW) is provided on a best effort basis and may disappear any time.

See [Further Reading](https://bitbucket.org/malb/m4rie/wiki/Further%20Reading) for implemented algorithms.

Expand All @@ -34,7 +34,7 @@ https://github.com/malb/m4ri

you need to first run the following command:

autoreconf --install
./autogen.sh

Then do the usual

Expand Down
5 changes: 5 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e
rm -rf m4rie
ln -sf src m4rie
autoreconf --install
1 change: 0 additions & 1 deletion m4rie

This file was deleted.