Whamcloud - gitweb
LU-2784 build: Provide RPMs build for Xeon Phi(TM) card
authorDmitry Eremin <dmitry.eremin@intel.com>
Wed, 13 Mar 2013 14:03:02 +0000 (18:03 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 24 May 2013 19:38:09 +0000 (15:38 -0400)
commit54881f03e0e0cd7e43176612ba4542700ea9e337
tree62d1c349f2468977cd55ee7ed3a9eda68d9eb4cc
parent5680bcd814eccd68e307ce27e494260e009946a1
LU-2784 build: Provide RPMs build for Xeon Phi(TM) card

Enhance Lustre build to provide RPMs which can be installed on
Xeon Phi(TM) card automatically. This means the binaries
should be compiled by cross compiler and deployed into Xeon
Phi(TM) infrastructure on host to be automatically installed
on card after boot.

To produce Lustre client RPMs for Xeon Phi(TM) card just
execute the following commands:

export PATH=/usr/linux-k1om-4.7/bin:$PATH

sh ./autogen.sh

./configure --with-linux=/opt/intel/mic/src/card/kernel \
    --disable-server --without-o2ib \
    --host=x86_64-k1om-linux --build=x86_64-pc-linux

make rpms

NOTE: You should have "intel-mic-gpl-<version>.x86_64" package
installed and MIC GPL sources unpacked in /opt/intel/mic/src.

and the following RPMs will be produced:

lustre-client-mic-<version>.x86_64.rpm
lustre-client-mic-debuginfo-<version>.x86_64.rpm
lustre-client-mic-modules-<version>.x86_64.rpm
lustre-client-mic-source-<version>.x86_64.rpm
lustre-client-mic-tests-<version>.x86_64.rpm
lustre-client-mic-<version>.src.rpm

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: I8d61133614443e2a6a33f5c1b1b097250b11d749
Reviewed-on: http://review.whamcloud.com/5324
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
autoMakefile.am
build/gen_filelist.sh [new file with mode: 0644]
config/lustre-build-linux.m4
config/lustre-build.m4
lustre.spec.in
lustre/autoconf/lustre-core.m4