Skip to content
Snippets Groups Projects
Commit 72771797 authored by John L. Hammond's avatar John L. Hammond Committed by Oleg Drokin
Browse files

LU-2675 liblustre: disable liblustre by default


liblustre is not used, nor is it tested, so don't build it by default.

Signed-off-by: default avatarJohn L. Hammond <john.hammond@intel.com>
Change-Id: Ie2369d0163963d6e691b3787495b1b2155fe6111
Reviewed-on: http://review.whamcloud.com/9756


Tested-by: Jenkins
Reviewed-by: default avatarDmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Reviewed-by: default avatarBob Glossman <bob.glossman@intel.com>
Tested-by: default avatarMaloo <hpdd-maloo@intel.com>
parent 2001358b
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ debs:
popd && \
VER=$$(sed -ne '1s/^lustre (\(.*-[0-9][0-9]*\)).*$$/\1/p' debian/changelog); \
mkdir -p debs && \
mv ../liblustre_$${VER}_*.deb ../linux-patch-lustre_$${VER}_all.deb ../lustre-dev_$${VER}_*.deb ../lustre-source_$${VER}_all.deb ../lustre-tests_$${VER}_*.deb ../lustre-utils_$${VER}_*.deb ../lustre_$${VER}.dsc ../lustre_$${VER}_*.changes ../lustre_$${VER%-[0-9]*}.orig.tar.gz ../lustre_$${VER}.diff.gz ../lustre-client-modules-$${KVERS}_$${VER}_*.deb debs/
mv ../linux-patch-lustre_$${VER}_all.deb ../lustre-dev_$${VER}_*.deb ../lustre-source_$${VER}_all.deb ../lustre-tests_$${VER}_*.deb ../lustre-utils_$${VER}_*.deb ../lustre_$${VER}.dsc ../lustre_$${VER}_*.changes ../lustre_$${VER%-[0-9]*}.orig.tar.gz ../lustre_$${VER}.diff.gz ../lustre-client-modules-$${KVERS}_$${VER}_*.deb debs/
EXTRA_DIST += config.h.in
......
......@@ -2111,7 +2111,6 @@ while [ "$1" ]; do
LUSTRE_TESTS=false
fi
CONFIGURE_FLAGS=$@
CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-liblustre --enable-liblustre-tests"
break
;;
*)
......
......@@ -67,28 +67,6 @@ Description: Test suite for the Lustre filesystem
.
This package provides a number of test utilities for the Lustre filesystem.
Package: liblustre
Priority: optional
Architecture: i386 powerpc amd64 ia64
Section: libs
Depends: ${shlibs:Depends}
Description: Runtime library for Lustre filesystem utilities
Lustre is a scalable, secure, robust, highly-available cluster file system.
This release is maintained by Whamcloud, Inc. and available
http://wiki.whamcloud.com/
.
This package provides a shared library that is used by userspace
applications to work with Lustre filesystems. It gives a user application
linked with the library access to Lustre
file systems without the need to mount Lustre (VFS) on the client.
The key goals for the library are to provide a portable mechanism to
access Lustre from different POSIX compliant operating systems, to provide
access from microkernel based systems and from the Windows operating system.
.
Currently, liblustre is still under development and only works on Linux
(i386 & x86_64, not tested on ia64).
.
Package: lustre-dev
Section: libdevel
Priority: optional
......
......@@ -67,28 +67,6 @@ Description: Test suite for the Lustre filesystem
.
This package provides a number of test utilities for the Lustre filesystem.
Package: liblustre
Priority: optional
Architecture: i386 powerpc amd64 ia64
Section: libs
Depends: ${shlibs:Depends}
Description: Runtime library for Lustre filesystem utilities
Lustre is a scalable, secure, robust, highly-available cluster file system.
This release is maintained by Whamcloud, Inc. and available
http://wiki.whamcloud.com/
.
This package provides a shared library that is used by userspace
applications to work with Lustre filesystems. It gives a user application
linked with the library access to Lustre
file systems without the need to mount Lustre (VFS) on the client.
The key goals for the library are to provide a portable mechanism to
access Lustre from different POSIX compliant operating systems, to provide
access from microkernel based systems and from the Windows operating system.
.
Currently, liblustre is still under development and only works on Linux
(i386 & x86_64, not tested on ia64).
.
Package: lustre-dev
Section: libdevel
Priority: optional
......
debian/tmp/usr/lib/liblustre.so usr/lib
debian/tmp/usr/lib/lustre/tests/* usr/lib/lustre/tests
debian/tmp/usr/lib/lustre/liblustre/tests/* usr/lib/lustre/tests
......@@ -63,7 +63,6 @@ PATCH_PKG=linux-patch-lustre
UTILS_PKG=lustre-utils
TESTS_PKG=lustre-tests
DEV_PKG=lustre-dev
LIB_PKG=liblustre
SOURCE_PKG=lustre-source
MODS_PKG=lustre-client-modules
......@@ -150,8 +149,9 @@ build-stamp: patch-stamp configure-stamp
# let's try and operate as close as the user would and not build modules
# here (for now)
# instead we will build the modules with m-a in the "make debs" target
# binary-arch: binary-$(UTILS_PKG) binary-$(TESTS_PKG) binary-$(DEV_PKG) binary-$(LIB_PKG) binary-$(MODS_PKG) binary-kern-mods
binary-arch: binary-$(UTILS_PKG) binary-$(TESTS_PKG) binary-$(DEV_PKG) binary-$(LIB_PKG)
# binary-arch: binary-$(UTILS_PKG) binary-$(TESTS_PKG) binary-$(DEV_PKG) \
# binary-$(MODS_PKG) binary-kern-mods
binary-arch: binary-$(UTILS_PKG) binary-$(TESTS_PKG) binary-$(DEV_PKG)
binary-indep: binary-$(PATCH_PKG) binary-$(SOURCE_PKG)
......@@ -203,7 +203,6 @@ binary-$(UTILS_PKG): build-stamp
dh_installman -p $(UTILS_PKG)
dh_install -p $(UTILS_PKG)
dh_makeshlibs -p $(UTILS_PKG)
dh_shlibdeps -L $(LIB_PKG) -l debian/$(LIB_PKG)/usr/lib
dh_installexamples -p $(UTILS_PKG)
dh_installchangelogs -p $(UTILS_PKG) lustre/ChangeLog
dh_compress -p $(UTILS_PKG)
......@@ -222,7 +221,6 @@ binary-$(TESTS_PKG): build-stamp
dh_installman -p $(TESTS_PKG)
dh_install -p $(TESTS_PKG)
dh_makeshlibs -p $(TESTS_PKG)
dh_shlibdeps -L $(LIB_PKG) -l debian/$(LIB_PKG)/usr/lib
dh_installexamples -p $(TESTS_PKG)
dh_installchangelogs -p $(TESTS_PKG) lustre/ChangeLog
dh_compress -p $(TESTS_PKG)
......@@ -247,23 +245,6 @@ binary-$(DEV_PKG): build-stamp
dh_md5sums -p $(DEV_PKG)
dh_builddeb -p $(DEV_PKG)
binary-$(LIB_PKG): build-stamp
dh_testdir
dh_testroot
dh_installdirs -p $(LIB_PKG)
dh_installdocs -p $(LIB_PKG)
dh_install -p $(LIB_PKG)
dh_makeshlibs -p $(LIB_PKG)
dh_shlibdeps -L $(LIB_PKG) -l debian/$(LIB_PKG)/usr/lib
dh_installchangelogs -p $(LIB_PKG) lustre/ChangeLog
dh_compress -p $(LIB_PKG)
dh_installdeb -p $(LIB_PKG)
dh_strip -p $(LIB_PKG)
dh_fixperms -p $(LIB_PKG)
dh_gencontrol -p $(LIB_PKG)
dh_md5sums -p $(LIB_PKG)
dh_builddeb -p $(LIB_PKG)
binary-$(SOURCE_PKG): build-stamp
dh_testdir
dh_testroot
......@@ -311,7 +292,6 @@ binary-$(MODS_PKG): build-stamp
dh_installdocs -p $(MODS_PKG)-$(KVER); \
dh_install -p $(MODS_PKG)-$(KVER); \
dh_makeshlibs -p $(MODS_PKG)-$(KVER); \
dh_shlibdeps -L $(LIB_PKG) -l debian/$(LIB_PKG)/usr/lib; \
dh_installchangelogs -p $(MODS_PKG)-$(KVER) lustre/ChangeLog; \
dh_compress -p $(MODS_PKG)-$(KVER); \
dh_installdeb -p $(MODS_PKG)-$(KVER); \
......
......@@ -1598,9 +1598,9 @@ AC_MSG_RESULT([$enable_client])
AC_DEFUN([LC_CONFIG_LIBLUSTRE], [
AC_MSG_CHECKING([whether to build Lustre library])
AC_ARG_ENABLE([liblustre],
AC_HELP_STRING([--disable-liblustre],
[disable building of Lustre library]),
[], [enable_liblustre=$with_sysio])
AC_HELP_STRING([--enable-liblustre],
[enable building of Lustre library]),
[], [])
AC_MSG_RESULT([$enable_liblustre])
# only build sysio if liblustre is built
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment