Skip to content

Conversation

@gmarcais
Copy link
Collaborator

@gmarcais gmarcais commented Feb 3, 2025

Fix compilation and testing errors on FreeBSD and MacOS.

Fixes #221 .

On FreeBSD and MacOS, MUMmer must be compiled with GCC. Clang on these platform (but not on Linux for some reason) generates an erroneous binary: it will fail the unit tests and compiance tests. See the Github action workflow or the compilation documentation for example on how to compile.

* Define __glibcxx_assert if not defined
* Close (i.e., flush) upon destruction

* Added proper unit testing of `output_buffered` class.
* Unittests run in a `tmp` directory

* Add `tmp` directory to `CLEANDIRS`
* Use `sed -E`

* Use `/usr/bin/env` to find Bash

* Update Github action workflow for BSD & MacOS

* Update compilation documentation

* Require: `md5sum`. Handle semantic difference between Darwin and BSD.
@gmarcais gmarcais merged commit a54b38d into develop Feb 4, 2025
6 checks passed
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.

2 participants