962a14cf6d
Change the logic in bind.c to only include <malloc.h> if we don't have posix_memalign. In http://www.open-mpi.org/community/lists/devel/2014/01/13619.php, Paul Hargrove found a compiler warning on OpenBSD where <malloc.h> exists, but is not intended to be used (and doesn't error out, so AC_CHECK_HEADERS says its ok). Reviewed by Brice Goglin. cmr=v1.7.4:reviewer=ompi-rm1.7 This commit was SVN r30234. |
||
---|---|---|
.. | ||
base | ||
external | ||
hwloc172 | ||
configure.m4 | ||
hwloc.h | ||
Makefile.am | ||
README.txt |
12 Sep 2011 Notes for hwloc component maintainers: 1. There can only be *1* hwloc version component at a time. Specifically: if there are multiple hwlocXYZ components (i.e., different versions of hwloc), then they must all be .ompi_ignore'd except for 1. This is because we currently m4_include all of the underlying hwloc's .m4 files -- if there are multiple hwlocXYZ components, I don't know if m4 will barf at the multiple, conflicting AC_DEFUNs, or whether it'll just do something completely undefined. 1a. As a consequence, if you're adding a new hwloc version component, you'll need to .ompi_ignore all others while you're testing the new one. 2. If someone wants to fix #1 someday, we might be able to do what we do for libevent: OMPI_CONFIG_SUBDIR (instead of slurping in hwloc's .m4 files).