autoconf/configure just put it with other in the main autogen/config.h file:
include/private/autogen/config.h:#define HWLOC_VERSION "2.0.0a1-git"
include/private/autogen/config.h:#define PACKAGE_VERSION "2.0.0a1-git"
include/private/autogen/config.h:#define VERSION "2.0.0a1-git"

Brice



Le 17/08/2015 17:39, Tannenbaum, Barry M a écrit :
>
> If you can give me a clue where HWLOC_VERSION is **supposed** to be
> defined, I’ll run through and at least get rid of the annoying
> warnings that Visual Studio is spewing. Things like size conversion
> warnings and signed/unsigned mismatches.
>
>  
>
> -        Barry
>
>  
>
> *From:*hwloc-devel [mailto:hwloc-devel-boun...@open-mpi.org] *On
> Behalf Of *Brice Goglin
> *Sent:* Saturday, August 15, 2015 2:46 AM
> *To:* hwloc-de...@open-mpi.org
> *Subject:* Re: [hwloc-devel] hwloc on Windows?
>
>  
>
> Le 14/08/2015 23:44, Tannenbaum, Barry M a écrit :
>
>     I’m trying to build/use hwloc on Windows.
>
>      
>
>     The first question is does hwloc do anything to explore the
>     storage devices on a Windows system?
>
>
> Hello
>
> Not yet. If I remember correctly, the main issue for I/O devices on
> Windows is that PCI locality is available since Windows 8 (or
> something "recent" I don't have). We have had
> https://github.com/open-mpi/hwloc/issues/108 open for a while but
> couldn't really look at it.
> If you have patches, we'll be happy to integrate them, assuming we
> don't need very recent windows releases :/
>
>
>     The second question is how do you build hwloc on Windows? I’m
>     building with Cygwin and Visual Studio 2013. I managed to coerce
>     the configuration script to run, but when I tried to issue the
>     “make” command, it bombed out, starting with a message from cl
>     that it didn’t know the “-g” option.
>
>
> I don't know how to solve this BUT I recently found that hwloc 1.11
> was being added to the cygwin distribution.
>   https://cygwin.com/ml/cygwin/2015-06/msg00418.html
> Could this help?
>
>
>      
>
>     Trying to use the Visual Studio project provided, I got a pile of
>     warnings, and then errors looking for definitions of HWLOC_VERSION.
>
>
> Unfornately, we have no way to automatize the testing of these files,
> and they get outdated quickly. They were written for 1.9. Since 1.10,
> we use HWLOC_VERSION instead of VERSION everywhere in the code, so I
> guess the project files should be updated to define HWLOC_VERSION as well.
>
>
>      
>
>     Obviously I’m doing this wrong. Can someone suggest how to build
>     hwloc on Windows?
>
>      
>
>
> Looks like you're not doing anything wrong. You're just unlucky, being
> one of the very few people that tries to build recent releases :/
>
> Brice
>
>
>
> _______________________________________________
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/hwloc-devel/2015/08/4551.php

Reply via email to