[Nauty] Building on windows with clang-cl

Isuru Fernando isuruf at gmail.com
Sun Sep 16 13:31:35 AEST 2018


I'm trying to build nauty 2.6r11 on windows with tools from clang and had
to apply the following patches.

- Remove min and max, because they are macros in windows.
- Allow the archiver to be configurable.

Tests pass except for the 3 tests using countg and pickg. They fail with
"cannot run on this machine". This is due to the fact that on windows
sizeof(long) != sizeof(void*), but have sizeof(long long) != sizeof(void*).
Is there a way to make countg and pickg work on windows?


More information about the Nauty mailing list