sles12*) target="$(uname -r | cut -d . -f 1,2)-sles12";;
sles15.1) target="$(uname -r | cut -d . -f 1,2)-sles15sp1";;
sles15.2) target="$(uname -r | cut -d . -f 1,2)-sles15sp2";;
+ sles15.3) target="$(uname -r | cut -d . -f 1,2)-sles15sp3";;
fc18) target="3.x-fc18";;
*) fatal 1 "I don't know what distro $distro is.\nEither update autodetect_target() or use the --target argument.";;
esac
4.12.14-122.83 (SLES12 SP5)
4.12.14-197.75 (SLES15 SP1)
5.3.18-24.61 (SLES15 SP2)
+ 5.3.18-59.19 (SLES15 SP3)
4.15.0-48 (Ubuntu 18.04)
* Other clients known to build on these kernels at some point (others may also work):
3.10.0-862.14.4.el7 (RHEL7.5)
lustre/kernel_patches/targets/4.12-sles12sp5.target
lustre/kernel_patches/targets/4.12-sles15sp1.target
lustre/kernel_patches/targets/4.12-sles15sp2.target
+lustre/kernel_patches/targets/5.3-sles15sp3.target
lustre/kernel_patches/targets/3.x-fc18.target
lustre/ldlm/Makefile
lustre/fid/Makefile
--- /dev/null
+lnxmaj="5.3"
+lnxmin=".18"
+lnxrel="59.19"
+# use this when there is an "RPM fix" which means that the name of the
+# (source) RPM has been updated but the version of the kernel inside the
+# RPM is not also updated
+rpmfix=".1"
+
+# this is the delimeter that goes before the "smp" at the end of the version
+# defaults to empty
+FLAVOR_DELIMITER="-"
+
+KERNEL_SRPM=kernel-source-${lnxmaj}${lnxmin}-${lnxrel}${rpmfix}.src.rpm
+SERIES=""
+VERSION=$lnxmaj
+EXTRA_VERSION="${lnxmin#.}-${lnxrel}_lustre.@VERSION@"
+LUSTRE_VERSION=@VERSION@
+
+OFED_VERSION=inkernel
+
+BASE_ARCHS="i686 ppc x86_64 ia64 ppc64"
+BIGMEM_ARCHS=""
+BOOT_ARCHS=""
+JENSEN_ARCHS=""
+DEFAULT_ARCHS="i686 x86_64 ia64 ppc64"
+BIGSMP_ARCHS=""
+PSERIES64_ARCHS="ppc"
+UP_ARCHS=""
+SRC_ARCHS=""
+#RPMSMPTYPE="smp"
+
+for cc in gcc ; do
+ if which $cc >/dev/null 2>/dev/null ; then
+ export CC=$cc
+ break
+ fi
+done