Hello

We now have a CI slave running cygwin on Windows 10. Everything should
work fine in v2.0.3. In the meantime, the only patch that you need to
add on top of what you sent earlier is:

https://github.com/open-mpi/hwloc/commit/3ac7bd3b3bddd763b2e58eff77a2104ea79230af
(for fixing tests/hwloc/x86).

Thanks

Brice



Le 30/09/2018 à 20:02, Marco Atzeri a écrit :
> Trying to build 2.0.2 on cygwin 64 bit.
>
>   CC       diff.lo
>   CC       shmem.lo
> /cygdrive/d/cyg_pub/devel/hwloc/hwloc-2.0.2-1.x86_64/src/hwloc-2.0.2/hwloc/distances.c:347:5:
> error: conflicting types for ‘hwloc_distances_add’
>  int hwloc_distances_add(hwloc_topology_t topology,
>      ^~~~~~~~~~~~~~~~~~~
> In file included from
> /cygdrive/d/cyg_pub/devel/hwloc/hwloc-2.0.2-1.x86_64/src/hwloc-2.0.2/include/hwloc.h:2258:0,
>                  from
> /cygdrive/d/cyg_pub/devel/hwloc/hwloc-2.0.2-1.x86_64/src/hwloc-2.0.2/hwloc/distances.c:9:
> /cygdrive/d/cyg_pub/devel/hwloc/hwloc-2.0.2-1.x86_64/src/hwloc-2.0.2/include/hwloc/distances.h:229:20:
> note: previous declaration of ‘hwloc_distances_add’ was here
>  HWLOC_DECLSPEC int hwloc_distances_add(hwloc_topology_t topology,
>                     ^~~~~~~~~~~~~~~~~~~
> In file included from
> /cygdrive/d/cyg_pub/devel/hwloc/hwloc-2.0.2-1.x86_64/src/hwloc-2.0.2/include/private/private.h:29:0,
>                  from
> /cygdrive/d/cyg_pub/devel/hwloc/hwloc-2.0.2-1.x86_64/src/hwloc-2.0.2/hwloc/distances.c:10:
> /cygdrive/d/cyg_pub/devel/hwloc/hwloc-2.0.2-1.x86_64/src/hwloc-2.0.2/hwloc/distances.c:
> In function ‘hwloc__groups_by_distances’:
>
> also adding a HWLOC_DECLSPEC on the first case distances.c:347
> does not solve the issue as the two declaration are not the same.
>
> Suggestion ?
>
>
>
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
>
> _______________________________________________
> hwloc-devel mailing list
> hwloc-devel@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/hwloc-devel

_______________________________________________
hwloc-devel mailing list
hwloc-devel@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-devel

Reply via email to