[Nauty] Building on windows with clang-cl

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


Hi,

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.
https://github.com/conda-forge/nauty-feedstock/blob/c6a229e76399dce98c23c703661ec02ce3d8589b/recipe/minmax.patch
- Allow the archiver to be configurable.
https://github.com/conda-forge/nauty-feedstock/blob/c6a229e76399dce98c23c703661ec02ce3d8589b/recipe/ar.patch

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?

Thanks,
Isuru


More information about the Nauty mailing list