Whamcloud - gitweb
b=20355 formalize support for pthreads
authorBrian J. Murrell <brian.murrell@oracle.com>
Tue, 22 Jun 2010 19:09:31 +0000 (15:09 -0400)
committerRobert Read <robert.read@oracle.com>
Tue, 22 Jun 2010 23:29:50 +0000 (16:29 -0700)
commit004cc2b4c6eb32672985e2f4b4bbf9413e314547
tree3051af2b7f730387fa6fd2770d55d29f4ada61f3
parent59fbc0de17fff14558227b3de28d1f591cd366a6
b=20355 formalize support for pthreads

BG/P needs proper pthreads library arguments for linking, so properly
support pthreads properly in configure, using AX_PTHREAD.
The need for the pthread subdirs is because you cannot adjust the CC
variable value used on a per target basis, only for an entire Makefile.
This is the same problem we had with using the MPICC for some targets.
So to make some targets compile with the CC that the AX_PTHREAD macro
discovers/sets, we need to use a new Makefile.  File locations remain
the same however.

i=panda (b1_8 version)
i=whitebear (b1_8 version)
23 files changed:
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/posix/libcfs.h
libcfs/include/libcfs/user-lock.h
libcfs/include/libcfs/user-prim.h
libcfs/include/libcfs/util/platform.h
libcfs/include/libcfs/winnt/winnt-time.h
libcfs/libcfs/user-lock.c
libcfs/libcfs/user-prim.c
lnet/autoconf/lustre-lnet.m4
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/include/lnet/linux/lib-lnet.h
lnet/lnet/acceptor.c
lnet/lnet/api-ni.c
lnet/lnet/lib-eq.c
lnet/lnet/lib-msg.c
lnet/utils/Makefile.am
lnet/utils/pthread/Makefile.am [new file with mode: 0644]
lustre/autoconf/lustre-core.m4
lustre/liblustre/tests/Makefile.am
lustre/utils/Makefile.am
lustre/utils/obd.c
lustre/utils/pthread/Makefile.am [new file with mode: 0644]