We're basically supposed to use HWLOC_VERSION everywhere.
But that requirements was added while the line below was developed in
a branch at the same time. That's why it didn't get fixes.
I'll review the entire tree in case there's another one missing and
fix master and v1.11, thanks.

Brice




Le 13/06/2015 19:01, Ralph Castain a écrit :
> Hi folks
> 
> I’ve been working on updating the OMPI hwloc code to the 1.11 version. I
> reported via Jeff about the config issue, so I updated to the latest
> nightly tarball of 1.11 to pickup that change. I’m now able to
> configure, but hit one last required change to make it build:
> 
> *diff --git a/opal/mca/hwloc/hwloc1110/hwloc/src/topology.c
> b/opal/mca/hwloc/hwloc1110/hwloc/src/topology.c*
> *index 8d129d0..01be274 100644*
> *--- a/opal/mca/hwloc/hwloc1110/hwloc/src/topology.c*
> *+++ b/opal/mca/hwloc/hwloc1110/hwloc/src/topology.c*
> @@ -2599,7 +2599,7 @@next_noncpubackend:
>        && strcmp(topology->backends->component->name, "xml")) {
>      char *value;
>      /* add a hwlocVersion */
> -    hwloc_obj_add_info(topology->levels[0][0], "hwlocVersion", VERSION);
> +    hwloc_obj_add_info(topology->levels[0][0], "hwlocVersion",
> HWLOC_VERSION);
>      /* add a ProcessName */
>      value = hwloc_progname(topology);
>      if (value) {
> 
> 
> I’m not sure if this is a prefixing issue when embedded, or a more
> general problem. Any thoughts?
> Ralph
> 
> 
> 
> _______________________________________________
> 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/06/4468.php
> 

Reply via email to