Skip to content
Snippets Groups Projects
  1. Dec 17, 2016
  2. Mar 23, 2016
    • Christopher J. Morrone's avatar
      LU-7699 build: Replace version_tag.pl with LUSTRE-VERSION-GEN · ee813dba
      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: default avatarChristopher J. Morrone <morrone2@llnl.gov>
      Reviewed-on: http://review.whamcloud.com/18107
      
      
      Tested-by: Jenkins
      Reviewed-by: default avatarJames Simmons <uja.ornl@yahoo.com>
      Reviewed-by: default avatarDmitry Eremin <dmitry.eremin@intel.com>
      Tested-by: default avatarMaloo <hpdd-maloo@intel.com>
      Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
      ee813dba
  3. Sep 22, 2015
  4. Sep 19, 2015
  5. May 20, 2014
  6. Feb 10, 2014
    • Brian Behlendorf's avatar
      LU-1032 build: Add Lustre DKMS spec file · 7fab2586
      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: default avatarBrian Behlendorf <behlendorf1@llnl.gov>
      Signed-off-by: default avatarBruno Faccini <bruno.faccini@intel.com>
      Change-Id: I870f362b8948d5cd28a8dccd98b565e38ad2da7c
      Reviewed-on: http://review.whamcloud.com/6019
      
      
      Tested-by: Jenkins
      Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
      Tested-by: default avatarMaloo <hpdd-maloo@intel.com>
      Reviewed-by: default avatarBrian J. Murrell <brian.murrell@intel.com>
      7fab2586
  7. Jun 07, 2013
  8. Jun 06, 2013
  9. Mar 28, 2013
    • Christopher J. Morrone's avatar
      LU-1199 build: Clean out the build directory · 25c93758
      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: default avatarChristopher J. Morrone <morrone2@llnl.gov>
      Reviewed-on: http://review.whamcloud.com/5035
      
      
      Reviewed-by: default avatarBrian J. Murrell <brian.murrell@intel.com>
      Tested-by: Hudson
      Tested-by: default avatarMaloo <whamcloud.maloo@gmail.com>
      Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
      25c93758
  10. Aug 08, 2012
  11. Nov 13, 2011
  12. Dec 12, 2009
    • Brian Reitz's avatar
      Introduce .gitignore files. · 1c4d3d36
      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.
Loading