- Dec 17, 2016
-
-
Dmitry Eremin authored
Exclude files that are generated during the "make" build process. Test-Parameters: trivial Change-Id: I5a573d7842fec94616de5d016cc5aab99e813193 Signed-off-by:
Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-on: https://review.whamcloud.com/23540 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-by:
John L. Hammond <john.hammond@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Mar 23, 2016
-
-
Christopher J. Morrone authored
This patch overhauls how version numbers are handled. The biggest change is removing the two independent places where versions were being generated (LB_BUILDID and lustre_tag*.pl) with a single script named LUSTRE-VERSION-GEN at the top level of the tree. LUSTRE-VERSION-GEN is based on the GIT-VERSION-GEN script that git's own source code build system uses. LUSTRE-VERSION-GEN generates the lustre version string from either git, or if git is not available from the LUSTRE-VERSION-FILE file, or if _that_ is not available, its own internal DEFAULT_VERSION default version number. This allows building the lustre code under all reasonable conditions. The new method uses LUSTRE-VERSION-GEN to supply the correct full lustre version (which may contain git --describe information) to AC_INIT. This means that the autotools actually know the correct version number. Some benefits of this are: * We can use standard {AC_}PACKAGE_VERSION macros and variables instead of inventing our own * ./configure --version and other commands will list the correct version of Lustre * The lustre tarball created by "make dist" will contain the full version number The lustre/autoconf/lustre-version.ac file was replaced with a new config/lustre-version.m4 file. We no longer need to work with m4-only macros prefore AC_INIT is called, so the new file defines a LUSTRE_VERSION_VARIABLES function for us to call from configure.ac. The new lustre-version.m4 derives the derive LUSTRE_{MAJOR,MINOR,PATCH,FIX} from AC_PACKAGE_VERSION rather than being yet another source of version numbers. The LUSTRE_VER_ALLOWED_OFFSET and LUSTRE_CLI_VER_OFFSET_WARN m4 macros were dropped, and the OBD_OCD_VERSION strings stored directly in lustre_ver.h.in instead. LB_CHECK_VERSION was removed (no longer necessary). AC_LUSTRE_VERSION_STRING was drop. It is no longer necessary now that we can set LUSTRE_VERSION_STRING directly to @PACKAGE_VERSION@ in lustre_ver.h.in. The DOWNSTREAM_RELEASE configure argument is deprecated and all related code removed. The lustre/doc/VERSIONING documenation is relocated to Documentation/versioning.txt and updated to reflect the new versioning method and practices. The META file and BUILDID variables and related code are removed since they are no longer used under the new versioning method. Note that this patch makes lustre only look at the dotted version tags in git, so we can finally stop using three to five tags for every release. Now we can just use one clear tag. The tags with underscores are obsolete. Change-Id: I7196f92ed4975776cc8e73fd3ebf436b5921f83e Signed-off-by:
Christopher J. Morrone <morrone2@llnl.gov> Reviewed-on: http://review.whamcloud.com/18107 Tested-by: Jenkins Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-by:
Dmitry Eremin <dmitry.eremin@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Sep 22, 2015
-
-
James Simmons authored
While testing patches other non-patch related build by products show up with git status. To avoid adding these by accident place thes by product files in the proper .gitignore files. Change-Id: Ie2df9c2c7fd19c95e2b990d93db623826ee82c24 Signed-off-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-on: http://review.whamcloud.com/16458 Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Tested-by: Jenkins Reviewed-by:
Dmitry Eremin <dmitry.eremin@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Sep 19, 2015
-
-
Dmitry Eremin authored
Starting with OFED 3.18 the OFED package started to use config.h provided by autoconf tool. This lead to clash between PACKAGE_* macros which are defined in OFED and Lustre headers. Also dealing with kernels that have lustre enabled already required to undefine the common macros that used by in-kernel Lustre client and this sources. This fix undefine all symbols that are generated by Lustre autoconf to avoid conflicts with kernel defines or OFEDs. They are undefined right before new definition in config.h. The list of symbols to undef is automatically generated by autoconf and should not be extended in the future. Also undefine clashed macros in autoconf checks. Change-Id: I0d93adac19573328e905ba536db0dbd842ed2aab Signed-off-by:
Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-on: http://review.whamcloud.com/16418 Tested-by: Jenkins Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- May 20, 2014
-
-
Nathaniel Clark authored
Make mount/mkfs/tunefs functionality a per backing FSTYPE shared object that is loadable, and seperately buildable and installable in the appropriate lustre-osd-FSTYPE rpm. For ZFS this allows the shared object to be directly linked to libzfs and thus remove the hardcoding of a libzfs.so version in the lustre source. This also has the benefit of making lustre-osd-zfs explicitly requires libzfs (which it needs to do mount/mkfs operations). Adjust build system to allow building of loadable module. Including requiering libtool as part of the build. Signed-off-by:
Nathaniel Clark <nathaniel.l.clark@intel.com> Change-Id: I8fc0f41161dc08405c1f951f12e675f364ff62c3 Reviewed-on: http://review.whamcloud.com/10193 Tested-by: Jenkins Reviewed-by:
Dmitry Eremin <dmitry.eremin@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Alex Zhuravlev <alexey.zhuravlev@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Feb 10, 2014
-
-
Brian Behlendorf authored
Add a lustre-dkms.spec file which can be used to distribute dkms style Lustre modules. The spec file is originally based on the generic dkms template and the default behavior is as follows: * Disable ldiskfs osd support. The ldiskfs packages currently cannot be built reliably against arbitrary kernels and are therefore disabled by default. * Enable zfs osd support. ZFS dkms packages are hosted at http://archive.zfsonlinux.org/{epel,fedora}/{release}/ and are compatible once LU-3117 is merged in to the Lustre source. * Some of the default Lustre build options can be changed by setting parameted in the /etc/sysconfig/lustre config file. Going forward the options can be extended as needed. The currently supported options are: * LUSTRE_DKMS_DISABLE_CDEBUG=y|N * LUSTRE_DKMS_DISABLE_TRACE=y|N * LUSTRE_DKMS_DISABLE_ASSERT=y|N * LUSTRE_DKMS_DISABLE_STRIP=y|N * A build target was not added for the lustre-dkms.spec file. To create lustre dkms packages you must manually invoke rpmbuild. ./configure --enable-dist make dist rpmbuild -bs lustre-dkms.spec lustre-x.y.z.tar.gz rpmbuild --rebuild lustre-dkms-x.y.z-r.dist.src.rpm Signed-off-by:
Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by:
Bruno Faccini <bruno.faccini@intel.com> Change-Id: I870f362b8948d5cd28a8dccd98b565e38ad2da7c Reviewed-on: http://review.whamcloud.com/6019 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Brian J. Murrell <brian.murrell@intel.com>
-
- Jun 07, 2013
-
-
Bruce Korb authored
* lustre/include/lustre_dlm.h: Remove all bit fields and the unused weighing callback procedure. respell LDLM_AST_DISCARD_DATA as LDLM_FL_AST_DISCARD_DATA to match other flags. * .gitignore: ignore emacs temporary files * autogen.sh: rebuild the lock bits, if autogen is available. * contrib/bit-masks/lustre_dlm_flags.def: define the ldlm_lock flags * contrib/bit-masks/lustre_dlm_flags.tpl: template for emitting text * contrib/bit-masks/Makefile: construct the .c and .h files The .c file is for constructing a crash extension and is not preserved. * contrib/bit-masks/.gitignore: ignore built products * lustre/contrib/wireshark/packet-lustre.c: use built files instead of local versions of the defines. In the rest of the modified sources, replace flag field references with bit mask references. * lustre/osc/osc_lock.c: removed osc_lock_weigh, too Signed-off-by:
Bruce Korb <bruce_korb@xyratex.com> Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com> Reviewed-by:
Keith Mannthey <Keith.Mannthey@intel.com> Change-Id: I104522e4012deb0dd8b9d12c2d1f3fd3851708cb Reviewed-on: http://review.whamcloud.com/5312 Reviewed-by:
Keith Mannthey <keith.mannthey@intel.com> Tested-by: Hudson Tested-by:
Maloo <whamcloud.maloo@gmail.com> Reviewed-by:
<bruce.korb@gmail.com>
-
- Jun 06, 2013
-
-
Andreas Dilger authored
Do not list automatically generated files in "git status" output, so that it does not hide checkpatch.pl output in the commit message. Signed-off-by:
Andreas Dilger <andreas.dilger@intel.com> Change-Id: Iab5c5be25de7dc54225fb2aa6540a4d75e500c1e Reviewed-on: http://review.whamcloud.com/6229 Tested-by: Hudson Tested-by:
Maloo <whamcloud.maloo@gmail.com> Reviewed-by:
John Hammond <johnlockwoodhammond@gmail.com> Reviewed-by:
Keith Mannthey <keith.mannthey@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Mar 28, 2013
-
-
Christopher J. Morrone authored
Clean up the build directory. Move in the direction of reserving "build/" for the special-purpose Makefile that lives there. Eventually we could rewrite the autoconf tests to eliminate that Makfile, and the build directory could disappear altogether (after finding homes for anything else that is left). The autoconf m4 file move into a top level "config" directory. Most other things that have moved are put in the new "contrib" top-level directory. For instance, "contrib/lbuild" contains all of the lbuild-related files, and "contrib/git-hooks" contains the git hooks for lustre developers. Most of the moved files were unchanged, however the lbuild scripts needed some tweaking to deal with the new location. Because of the way that Intel's build farm and git hooks expect to find certain files in fixed locations I have had to leave a few symlinks in place that point to the new locations. Change-Id: I04dc529d4f4060b892e1e4eaa8613bbc3337c414 Signed-off-by:
Christopher J. Morrone <morrone2@llnl.gov> Reviewed-on: http://review.whamcloud.com/5035 Reviewed-by:
Brian J. Murrell <brian.murrell@intel.com> Tested-by: Hudson Tested-by:
Maloo <whamcloud.maloo@gmail.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Aug 08, 2012
-
-
Andreas Dilger authored
Ignore automatically generated files via .gitignore so that a large number of spurious files are not listed at "git commit" time. Also consolidate many duplicate ignored files in the top-level .gitignore file, since we don't need to list the exceptions in every directory like the original .cvsignore files that they were generated from. Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: I5f9c60dc498f98abcd8c91042fc72408a915500c Reviewed-on: http://review.whamcloud.com/3364 Reviewed-by:
Yu Jian <yujian@whamcloud.com> Tested-by: Hudson Tested-by:
Maloo <whamcloud.maloo@gmail.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- Nov 13, 2011
-
-
Andreas Dilger authored
Skip files automatically generated during builds on FC-13. Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: I1cff9a351137145bb87a89460d0a1b54fae29e2c Reviewed-on: http://review.whamcloud.com/1681 Tested-by: Hudson Tested-by:
Maloo <whamcloud.maloo@gmail.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- Dec 12, 2009
-
-
Brian Reitz authored
The top level .gitignore file is new and is an attempt at pulling in some of the common items that you might get for free (by default)with CVS. The other subdir/.gitignore files are translated versions of their corresponding .cvsignore file. Because CVS does not descend into a subdir when applying a ingore rule we have to prepend a "/" to the pathname to get git to behave the same way.
-