Whamcloud - gitweb
LU-7645 build: Remove unused --with-release configure option 58/19958/5
authorChristopher J. Morrone <morrone2@llnl.gov>
Wed, 4 May 2016 00:44:33 +0000 (17:44 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Jul 2016 17:42:41 +0000 (17:42 +0000)
At this point, configure's --with-release option no longer
has any effect.  We remove it completely.

Test-Parameters: trivial
Change-Id: I7373c9bf401464f4284ad79aa6fef746dc711bc9
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/19958
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
config/lustre-build-linux.m4
config/lustre-build.m4
lustre.spec.in

index 4351c9f..5713caf 100644 (file)
@@ -75,16 +75,6 @@ AC_SUBST(LINUXRELEASE)
 AC_DEFUN([LB_LINUX_RELEASE], [
 LB_LINUX_UTSRELEASE
 
-# ------------ RELEASE --------------------------------
-AC_MSG_CHECKING([for Lustre release])
-AC_ARG_WITH([release],
-       AC_HELP_STRING([--with-release=string],
-               [set the release string (default=$kvers_YYYYMMDDhhmm)]),
-       [RELEASE=$withval], [
-       RELEASE="$(echo $LINUXRELEASE | tr '-' '_')"])
-AC_MSG_RESULT($RELEASE)
-AC_SUBST(RELEASE)
-
 # check if the kernel is one from RHEL or SUSE
 AC_CACHE_CHECK([for RedHat kernel release number], lb_cv_rhel_kernel_version, [
 lb_cv_rhel_kernel_version=""
index eb454a1..d2db823 100644 (file)
@@ -463,7 +463,6 @@ for arg; do
                -C | --cache-file=* ) ;;
                --prefix=* | --*-prefix=* ) ;;
                --enable-dist ) ;;
-               --with-release=* ) ;;
                --with-kmp-moddir=* ) ;;
                --with-linux=* | --with-linux-obj=* ) ;;
                --enable-shared | --disable-shared ) ;;
index 9d3c2f4..eba78aa 100644 (file)
@@ -263,7 +263,6 @@ fi
        %{!?with_zfs:--without-zfs} \
        %{!?with_lnet_dlc:--disable-dlc} \
        %{!?with_manpages:--disable-manpages} \
-       --with-release=%{release} \
        --with-linux=%{kdir} \
        --with-linux-obj=%{kobjdir} \
        --with-kmp-moddir=%{kmoddir}/%{name}