Skip to content

Commit

Permalink
Update to latest from build 10.12.1.0.6 (IFS 10.12.1.0.7)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkresge-cornelisnetworks committed Mar 3, 2023
1 parent 37c1b40 commit d62756a
Show file tree
Hide file tree
Showing 32 changed files with 1,559 additions and 59 deletions.
18 changes: 15 additions & 3 deletions CommonInstall/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,25 +105,31 @@ CLOBBER_TARGETS_MISC= comp_ff_of_prereq_RHEL77.pl \
comp_ff_of_prereq_RHEL83.pl \
comp_ff_of_prereq_RHEL84.pl \
comp_ff_of_prereq_RHEL85.pl \
comp_ff_of_prereq_RHEL86.pl \
comp_ff_of_prereq_RHEL9.pl \
comp_ff_of_prereq_SLES123.pl \
comp_ff_of_prereq_SLES124.pl \
comp_ff_of_prereq_SLES15.pl \
comp_ff_of_prereq_SLES151.pl \
comp_ff_of_prereq_SLES152.pl \
comp_ff_of_prereq_SLES153.pl \
comp_ff_of_prereq_SLES154.pl \
comp_fm_prereq_RHEL77.pl \
comp_fm_prereq_RHEL8.pl \
comp_fm_prereq_RHEL81.pl \
comp_fm_prereq_RHEL82.pl \
comp_fm_prereq_RHEL83.pl \
comp_fm_prereq_RHEL84.pl \
comp_fm_prereq_RHEL85.pl \
comp_fm_prereq_RHEL86.pl \
comp_fm_prereq_RHEL9.pl \
comp_fm_prereq_SLES123.pl \
comp_fm_prereq_SLES124.pl \
comp_fm_prereq_SLES15.pl \
comp_fm_prereq_SLES151.pl \
comp_fm_prereq_SLES152.pl \
comp_fm_prereq_SLES153.pl
comp_fm_prereq_SLES153.pl \
comp_fm_prereq_SLES154.pl
# sub-directory to install to within bin
BIN_SUBDIR =
# sub-directory to install to within include
Expand Down Expand Up @@ -157,12 +163,15 @@ FF_FILES = comp_ff_of_prereq_RHEL77.pl \
comp_ff_of_prereq_RHEL83.pl \
comp_ff_of_prereq_RHEL84.pl \
comp_ff_of_prereq_RHEL85.pl \
comp_ff_of_prereq_RHEL86.pl \
comp_ff_of_prereq_RHEL9.pl \
comp_ff_of_prereq_SLES123.pl \
comp_ff_of_prereq_SLES124.pl \
comp_ff_of_prereq_SLES15.pl \
comp_ff_of_prereq_SLES151.pl \
comp_ff_of_prereq_SLES152.pl \
comp_ff_of_prereq_SLES153.pl
comp_ff_of_prereq_SLES153.pl \
comp_ff_of_prereq_SLES154.pl
FM_FILES = comp_fm_prereq_RHEL77.pl \
comp_fm_prereq_RHEL78.pl \
comp_fm_prereq_RHEL8.pl \
Expand All @@ -171,12 +180,15 @@ FM_FILES = comp_fm_prereq_RHEL77.pl \
comp_fm_prereq_RHEL83.pl \
comp_fm_prereq_RHEL84.pl \
comp_fm_prereq_RHEL85.pl \
comp_fm_prereq_RHEL86.pl \
comp_fm_prereq_RHEL9.pl \
comp_fm_prereq_SLES123.pl \
comp_fm_prereq_SLES124.pl \
comp_fm_prereq_SLES15.pl \
comp_fm_prereq_SLES151.pl \
comp_fm_prereq_SLES152.pl \
comp_fm_prereq_SLES153.pl
comp_fm_prereq_SLES153.pl \
comp_fm_prereq_SLES154.pl

# Include Make Rules definitions and rules
include $(TL_DIR)/$(PROJ_FILE_DIR)/Makerules.project
Expand Down
28 changes: 28 additions & 0 deletions CommonInstall/comp_delta.pl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
my @delta_kernel_srpms_sles15_sp1 = ( 'ifs-kernel-updates-kmp-default' );
my @delta_kernel_srpms_sles15_sp2 = ( 'ifs-kernel-updates-kmp-default' );
my @delta_kernel_srpms_sles15_sp3 = ( 'ifs-kernel-updates-kmp-default' );
my @delta_kernel_srpms_sles15_sp4 = ( 'ifs-kernel-updates-kmp-default' );
my @delta_kernel_srpms_rhel73 = ( 'kmod-ifs-kernel-updates' );
my @delta_kernel_srpms_rhel74 = ( 'kmod-ifs-kernel-updates' );
my @delta_kernel_srpms_rhel75 = ( 'kmod-ifs-kernel-updates' );
Expand All @@ -91,6 +92,8 @@
my @delta_kernel_srpms_rhel83 = ( 'kmod-ifs-kernel-updates' );
my @delta_kernel_srpms_rhel84 = ( 'kmod-ifs-kernel-updates' );
my @delta_kernel_srpms_rhel85 = ( 'kmod-ifs-kernel-updates' );
my @delta_kernel_srpms_rhel86 = ( 'kmod-ifs-kernel-updates' );
my @delta_kernel_srpms_rhel9 = ( 'kmod-ifs-kernel-updates' );
my @delta_kernel_srpms = ( );

# This provides information for all kernel srpms
Expand Down Expand Up @@ -171,12 +174,19 @@ ($)
} elsif ("$CUR_DISTRO_VENDOR" eq 'SuSE'
&& "$CUR_VENDOR_VER" eq 'ES153') {
@delta_kernel_srpms = ( @delta_kernel_srpms_sles15_sp3 );
} elsif ("$CUR_DISTRO_VENDOR" eq 'SuSE'
&& "$CUR_VENDOR_VER" eq 'ES154') {
@delta_kernel_srpms = ( @delta_kernel_srpms_sles15_sp4 );
} elsif ( "$CUR_VENDOR_VER" eq "ES74" ) {
if ($HFI2_INSTALL) {
@delta_kernel_srpms = (@delta_kernel_srpms_rhel74_hfi2);
} else {
@delta_kernel_srpms = (@delta_kernel_srpms_rhel74);
}
} elsif ( "$CUR_VENDOR_VER" eq "ES86" ) {
@delta_kernel_srpms = ( @delta_kernel_srpms_rhel86 );
} elsif ( "$CUR_VENDOR_VER" eq "ES9" ) {
@delta_kernel_srpms = ( @delta_kernel_srpms_rhel9 );
} elsif ( "$CUR_VENDOR_VER" eq "ES85" ) {
@delta_kernel_srpms = ( @delta_kernel_srpms_rhel85 );
} elsif ( "$CUR_VENDOR_VER" eq "ES84" ) {
Expand Down Expand Up @@ -820,6 +830,12 @@ ()
return ( has_version_delta()
&& rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER));
}
} elsif ( "$CUR_VENDOR_VER" eq "ES86" ) {
return ( has_version_delta()
&& rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER));
} elsif ( "$CUR_VENDOR_VER" eq "ES9" ) {
return ( has_version_delta()
&& rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER));
} elsif ( "$CUR_VENDOR_VER" eq "ES85" ) {
return ( has_version_delta()
&& rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER));
Expand Down Expand Up @@ -874,6 +890,9 @@ ()
} elsif ( "$CUR_VENDOR_VER" eq 'ES153' ) {
return ( has_version_delta()
&& rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER));
} elsif ( "$CUR_VENDOR_VER" eq 'ES154' ) {
return ( has_version_delta()
&& rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER));
} else {
return 0;
}
Expand Down Expand Up @@ -1186,6 +1205,12 @@ ()
} elsif ( "$CUR_VENDOR_VER" eq "ES85" ) {
return (has_version_delta()
&& rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER));
} elsif ( "$CUR_VENDOR_VER" eq "ES86" ) {
return (has_version_delta()
&& rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER));
} elsif ( "$CUR_VENDOR_VER" eq "ES9" ) {
return (has_version_delta()
&& rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER));
} elsif ( "$CUR_VENDOR_VER" eq "ES123" ) {
return (has_version_delta()
&& rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER));
Expand All @@ -1207,6 +1232,9 @@ ()
} elsif ( "$CUR_VENDOR_VER" eq "ES153" ) {
return (has_version_delta()
&& rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER));
} elsif ( "$CUR_VENDOR_VER" eq "ES154" ) {
return (has_version_delta()
&& rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER));
} else {
return 0;
}
Expand Down
138 changes: 138 additions & 0 deletions CommonInstall/comp_delta_prereq_RHEL86.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
#!/usr/bin/perl
## BEGIN_ICS_COPYRIGHT8 ****************************************
#
# Copyright (c) 2015-2020, Intel Corporation
# Copyright (c) 2020, Cornelis Networks, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of Intel Corporation nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
## END_ICS_COPYRIGHT8 ****************************************
#
## [ICS VERSION STRING: unknown]
#use strict;
##use Term::ANSIColor;
##use Term::ANSIColor qw(:constants);
##use File::Basename;
##use Math::BigInt;
#
## ==========================================================================
#
#Installation Prequisites array for delta components
my @opa_stack_prereq = (
"bash",
"kernel",
"kmod",
"rdma-core",
"systemd",
"glibc",
"pciutils",
"opensm-libs",
"libibumad",
"rdma-core-devel",
);
$comp_prereq_hash{'opa_stack_prereq'} = \@opa_stack_prereq;

my @mpi_selector_prereq = (
"bash",
"coreutils",
"perl",
"perl-Getopt-Long",
"tcsh",
);
$comp_prereq_hash{'mpi_selector_prereq'} = \@mpi_selector_prereq;

my @intel_hfi_prereq = (
"bash",
"glibc",
"libgcc",
"python2",
"systemd",
"numactl-libs",
"irqbalance",
"libatomic",
);
$comp_prereq_hash{'intel_hfi_prereq'} = \@intel_hfi_prereq;

my @mvapich2_prereq = (
"bash",
"libibverbs",
"librdmacm",
"glibc",
"zlib",
"sysfsutils",
);
$comp_prereq_hash{'mvapich2_prereq'} = \@mvapich2_prereq;

my @openmpi_prereq = (
"bash",
"glibc",
"libgcc",
"libgfortran",
"gcc-gfortran",
"libgomp",
"libibverbs",
"libquadmath",
"librdmacm",
"libstdc++",
"libstdc++-devel",
"opensm-libs",
"pkgconf",
"zlib",
);
$comp_prereq_hash{'openmpi_prereq'} = \@openmpi_prereq;

my @mvapich2_gcc_hfi_prereq = (
"bash",
"zlib",
"glibc",
);
$comp_prereq_hash{'mvapich2_gcc_hfi_prereq'} = \@mvapich2_gcc_hfi_prereq;

my @mvapich2_intel_hfi_prereq = (
"bash",
);
$comp_prereq_hash{'mvapich2_intel_hfi_prereq'} = \@mvapich2_intel_hfi_prereq;

my @openmpi_gcc_hfi_prereq = (
"bash",
"glibc",
"libgcc",
"libgfortran",
"gcc-gfortran",
"libgomp",
"libibverbs",
"libquadmath",
"librdmacm",
"libstdc++",
"libstdc++-devel",
"opensm-libs",
"pkgconf",
"zlib",
);
$comp_prereq_hash{'openmpi_gcc_hfi_prereq'} = \@openmpi_gcc_hfi_prereq;

my @openmpi_intel_hfi_prereq = (
"bash",
);
$comp_prereq_hash{'openmpi_intel_hfi_prereq'} = \@openmpi_intel_hfi_prereq;
Loading

0 comments on commit d62756a

Please sign in to comment.