Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] [hwloc-svn] svn:hwloc r3845
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-09-23 15:10:41


It works fine here.

It's basically similar to tests/embedded/ stuff (all files
in the parent EXTRA_DIST, nothing in SUBDIRS so that automake
doesn't know about it).

Adding this Makefile.in the list of files that configure has
to manage shouldn't be a problem, we already have many .in
files that are not Makefile.am.

Brice

Le 23/09/2011 20:59, Jeff Squyres a écrit :
> Err... is this right?
>
> Does "make dist" and friends still work?
>
>
> On Sep 23, 2011, at 2:56 PM, bgoglin_at_[hidden] wrote:
>
>> Author: bgoglin
>> Date: 2011-09-23 14:56:56 EDT (Fri, 23 Sep 2011)
>> New Revision: 3845
>> URL: https://svn.open-mpi.org/trac/hwloc/changeset/3845
>>
>> Log:
>> Don't forget the Makefile.in in tests/rename
>>
>> It's not a .am because we don't want automake to go there
>> automatically. We just run things manually, while still
>> benefiting from configure srcdir/builddir variables
>> Added:
>> trunk/tests/rename/Makefile.in
>>
>> Added: trunk/tests/rename/Makefile.in
>> ==============================================================================
>> --- (empty file)
>> +++ trunk/tests/rename/Makefile.in 2011-09-23 14:56:56 EDT (Fri, 23 Sep 2011)
>> @@ -0,0 +1,37 @@
>> +srcdir = @srcdir@
>> +abs_top_srcdir = @abs_top_srcdir@
>> +abs_top_builddir = @abs_top_builddir@
>> +
>> +all:
>> +
>> +prepare:
>> + @echo
>> + @echo "###############################"
>> + @echo Enabling renaming in headers...
>> + @echo
>> + sed -e '/^#define HWLOC_SYM_TRANSFORM 0/s/0/1/' \
>> + -e '/^#define HWLOC_SYM_PREFIX hwloc_/s/hwloc_/foobar_/1' \
>> + -e '/^#define HWLOC_SYM_PREFIX_CAPS HWLOC_/s/HWLOC_/FOOBAR_/2' \
>> + -i $(abs_top_builddir)/include/hwloc/autogen/config.h $(abs_top_builddir)/include/private/autogen/config.h
>> +
>> +missing: prepare
>> + @echo
>> + @echo "###########################"
>> + @echo Finding missing renaming...
>> + @echo
>> + cpp $(srcdir)/main.c -I $(abs_top_srcdir)/include -I $(abs_top_builddir)/include \
>> + | egrep -i '(^| |\*)hwloc_'
>> +
>> +useless: prepare
>> + @echo
>> + @echo "###########################"
>> + @echo Finding useless renaming...
>> + @echo
>> + grep '^#define' $(abs_top_srcdir)/include/hwloc/rename.h \
>> + | awk '{print $$2}' \
>> + | egrep -v '(HWLOC_RENAME_H|HWLOC_MUNGE_NAME|HWLOC_NAME)' \
>> + | while read name ; do \
>> + grep $$name -rwH $(abs_top_srcdir)/include/ \
>> + | grep -v rename.h: | grep -v .svn >/dev/null \
>> + || echo $$name; \
>> + done
>> _______________________________________________
>> hwloc-svn mailing list
>> hwloc-svn_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-svn
>