liblustre is not used, nor is it tested, so don't build it by default.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ie2369d0163963d6e691b3787495b1b2155fe6111
Reviewed-on: http://review.whamcloud.com/9756
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
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
LUSTRE_TESTS=false
fi
CONFIGURE_FLAGS=$@
- CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-liblustre --enable-liblustre-tests"
break
;;
*)
.
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
.
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
+++ /dev/null
-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
UTILS_PKG=lustre-utils
TESTS_PKG=lustre-tests
DEV_PKG=lustre-dev
-LIB_PKG=liblustre
SOURCE_PKG=lustre-source
MODS_PKG=lustre-client-modules
# 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)
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)
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)
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
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); \
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