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:37:28 +0000 (15:37 -0400)
commit426194de03ad47497e99d281d86b5cdfc5142148
treeb98150576c759735be3fbf90bedad809fe537d6f
parentfed98fbd8f0c84c8e757bea96bcc7c251b4ffe30
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