Makefile fix for infinipath-psm
Subsystems (2)
This patch allows make to work. The arch command has gone away with new coreutils so it is recommended to use uname -m instead.
Makefile renamed from Makefile.orig +4 -4
@@ -69,14 +69,14 @@ include $(top_srcdir)/buildflags.mak lib_build_dir := $(build_dir) -ifneq (x86_64,$(arch)) - ifneq (i386,$(arch)) - $(error Unsupported architecture $(arch)) +ifneq (x86_64,$(shell uname -m)) + ifneq (i386,$(shell uname -m)) + $(error Unsupported architecture $(shell uname -m)) endif endif ifndef LIBDIR - ifeq (${arch},x86_64) + ifeq ($(shell uname -m),x86_64) INSTALL_LIB_TARG=/usr/lib64 else INSTALL_LIB_TARG=/usr/lib
install libsdp openib setup
In reply to a message not in the archiveThis patch has the install.pl pass in the default --with-openib=$value for libsdp.
install.pl renamed from install.pl.orig +6 -0
@@ -3098,6 +3098,12 @@ $cmd .= " --define 'build_ibmgtsim 1'"; $cmd .= " --define '__arch_install_post %{nil}'"; } + elsif ( $parent eq "libsdp") { + $packages_info{'libsdp'}{'configure_options'} .= " --with-openib=$prefix/src/openib"; + $cmd .= " --define '_prefix $prefix'"; + $cmd .= " --define '_exec_prefix $prefix'"; + $cmd .= " --define '_sysconfdir $sysconfdir'"; + } elsif ( $parent eq "mvapich") { my $compiler = (split('_', $name))[1]; $cmd .= " --define '_name $name'";
Re: install libsdp openib setup
In reply to a message not in the archive It was a mistake to make a linkage between libsdp and the kernel.
I will roll back this constrain - so --with-openib will not be used any more, and duplicate sdp_socket.h in both, libsdp rpm and the kernel.
So, this will make your fix redundant.
Thanks anyway,
Amir
Quoted 4 lines · James A Simmons
This patch has the install.pl pass in the default --with-openib=$value for libsdp.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html