Skip to content

Commit e26b715

Browse files
committed
Merge branch IB/CMSSW_16_0_X/g13 into IB/CMSSW_16_0_X/master
1 parent 4fe876e commit e26b715

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+480
-296
lines changed

autotools.spec

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
### RPM external autotools 1.5
22
## INITENV SET M4 %{i}/bin/m4
33
# We keep all of them together to simplify the "requires" statements.
4-
%define autoconf_version 2.71
5-
%define automake_version 1.16.3
4+
%define autoconf_version 2.72
5+
%define automake_version 1.16.5
66
%define automake_maj %(echo %{automake_version} | cut -f1,2 -d.)
7-
%define libtool_version 2.4.6
8-
%define m4_version 1.4.18
9-
%define gettext_version 0.21
7+
%define libtool_version 2.5.4
8+
%define m4_version 1.4.19
9+
%define gettext_version 0.22
1010
%define pkgconfig_version 0.29.2
1111
Source0: http://ftp.gnu.org/gnu/autoconf/autoconf-%{autoconf_version}.tar.gz
1212
Source1: http://ftp.gnu.org/gnu/automake/automake-%{automake_version}.tar.gz
1313
Source2: http://ftp.gnu.org/gnu/libtool/libtool-%{libtool_version}.tar.gz
14-
Source3: http://ftp.gnu.org/gnu/m4/m4-%{m4_version}.tar.bz2
14+
Source3: http://ftp.gnu.org/gnu/m4/m4-%{m4_version}.tar.gz
1515
Source4: http://ftp.gnu.org/gnu/gettext/gettext-%{gettext_version}.tar.gz
1616
Source5: http://pkgconfig.freedesktop.org/releases/pkg-config-%{pkgconfig_version}.tar.gz
17-
Patch0: m4-centos8
1817

1918
%prep
2019
%setup -D -T -b 0 -n autoconf-%{autoconf_version}
2120
%setup -D -T -b 1 -n automake-%{automake_version}
2221
%setup -D -T -b 2 -n libtool-%{libtool_version}
2322
%setup -D -T -b 3 -n m4-%{m4_version}
24-
%patch0 -p1
2523
%setup -D -T -b 4 -n gettext-%{gettext_version}
2624
%setup -D -T -b 5 -n pkg-config-%{pkgconfig_version}
2725

bazel-gcc14.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/third_party/zlib/BUILD b/third_party/zlib/BUILD
2+
index f1aa936..7317aff 100755
3+
--- a/third_party/zlib/BUILD
4+
+++ b/third_party/zlib/BUILD
5+
@@ -29,6 +29,7 @@ distrib_cc_library(
6+
# Use -Dverbose=-1 to turn off zlib's trace logging. (#3280)
7+
copts = [
8+
"-w",
9+
+ "-Wno-error=implicit-function-declaration",
10+
"-Dverbose=-1",
11+
],
12+
includes = ["."],

bazel.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ BuildRequires: java-env python3 python-python3
1919
# https://github.com/bazelbuild/bazel/issues/9392
2020
Patch0: bazel-3.7.0-patches
2121
Patch1: bazel-absl
22+
Patch2: bazel-gcc14
2223

2324
%prep
2425
%setup -q -c -n bazel-%{realversion}
2526

2627
%patch0 -p1
2728
%patch1 -p1
29+
%patch2 -p1
2830

2931
%build
3032

bootstrap-bundle.spec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
### RPM external bootstrap-bundle 3.0
1+
### RPM external bootstrap-bundle 4.0
22
## NO_AUTO_DEPENDENCY
33
## NOCOMPILER
4+
AutoReqProv: no
45
BuildRequires: gcc
5-
BuildRequires: db6-bootstrap lua-bootstrap file-bootstrap
6-
BuildRequires: xz-bootstrap libarchive-bootstrap
6+
BuildRequires: lua-bootstrap file-bootstrap zstd-bootstrap
7+
BuildRequires: xz-bootstrap libarchive-bootstrap sqlite-bootstrap
78

89
%define keep_archives true
910

@@ -52,7 +53,7 @@ find %{i}/lib -type f ! -name '*.a' -writable -exec %{strip} {} \;
5253
# RPM requires it to generate requires/provides also (otherwise it ignores the files)
5354
find %{i}/lib -type f | xargs chmod 0755
5455

55-
mv %{i}/lib/lib{lua,archive}.a %{i}/tmp
56+
mv %{i}/lib/lib{lua,archive,zstd}.a %{i}/tmp
5657
rm -f %{i}/lib/*.{l,}a
5758
mv %{i}/tmp/lib* %{i}/lib/
5859
rm -rf %{i}/tmp

bootstrap-driver.spec

Lines changed: 39 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### RPM external bootstrap-driver 40.0
1+
### RPM external bootstrap-driver 42.0
22
## NOCOMPILER
33
Requires: rpm
44
BuildRequires: cms-common fakesystem
@@ -9,50 +9,66 @@ BuildRequires: cms-common fakesystem
99
%build
1010
%install
1111
packageList=""
12-
echo requiredtools `echo %{requiredtools} | sed -e's|\s+| |;s|^\s+||'`
13-
for tool in `echo %{requiredtools} | sed -e's|\s+| |;s|^\s+||'`
14-
do
15-
case X$tool in
16-
Xdistcc|Xccache )
17-
;;
18-
* )
19-
toolcap=`echo $tool | tr a-z- A-Z_`
20-
toolversion=$(eval echo $`echo ${toolcap}_VERSION`)
21-
toolrevision=$(eval echo $`echo ${toolcap}_REVISION`)
22-
echo $toolversion $toolrevision
23-
packageList="$packageList external+${tool}+${toolversion}-1-${toolrevision}.%cmsplatf.rpm"
24-
;;
25-
esac
12+
for tool in $(echo %{directpkgreqs} | tr '/' '+') ; do
13+
packageList="$packageList ${tool}-1-1.%{cmsplatf}.rpm"
2614
done
2715

2816
additionalProvides=""
2917
##############################
3018
# Packages to seed for runtime
3119
##############################
32-
platformSeeds="bash tcsh perl bzip2-libs glibc nspr nss nss-util popt zlib glibc-devel openssl openssl-devel openssl-libs krb5-libs
33-
libcom_err libX11 libXext libXft libXpm libglvnd-glx libglvnd-opengl mesa-libGLU"
20+
platformSeeds=" bash glibc glibc-headers openssl-libs"
21+
platformSeeds+=" libX11 libxcrypt"
22+
3423
# Needed by python runtime
3524
platformSeeds+=" readline ncurses-libs tcl tk"
25+
26+
# Needed by root runtime
27+
platformSeeds+=" mesa-libGLU libglvnd-glx libglvnd-opengl libXext libXft libXpm"
28+
29+
#Various packages perl dependencies
30+
platformSeeds+=" perl perl-libs"
31+
%if "%{rhel}" == "9"
32+
platformSeeds+=" libbrotli python3"
33+
platformSeeds+=" perl-base perl-lib perl-filetest perl-overload perl-vars"
34+
%endif
35+
36+
#Various packages required by xrootd with krb5 enabled
37+
platformSeeds+=" libcom_err krb5-libs"
38+
3639
# Seed packages which provides these
37-
packagesWithProvides="/usr/bin/python3 /usr/bin/perl /usr/bin/env /usr/bin/uname"
40+
packagesWithProvides=" /usr/bin/python3 /usr/bin/env /usr/bin/uname /bin/sh /usr/bin/perl"
3841

3942
##############################
4043
#Packages to seed for build
4144
##############################
42-
platformBuildSeeds="git patch make zip unzip bzip2 java-1.8.0-openjdk-devel libcom_err-devel which libXpm-devel libXft-devel mesa-libGLU-devel rsync"
43-
#Needed by autotools,go and lcov
44-
#platformBuildSeeds+=" perl-Carp perl-Data-Dumper perl-Digest-MD5 perl-Exporter perl-File-Path perl-File-Temp perl-Getopt-Long perl-PathTools perl-Text-ParseWords perl-constant"
45+
platformBuildSeeds=" git patch make zip unzip bzip2 which rsync"
46+
platformBuildSeeds+=" openssl-devel libxcrypt-devel"
47+
platformBuildSeeds+=" libX11-devel libXpm-devel libXft-devel mesa-libGLU-devel"
48+
platformBuildSeeds+=" java-1.8.0-openjdk-devel"
49+
50+
%if "%{rhel}" == "9"
51+
platformBuildSeeds+=" brotli-devel"
52+
%endif
53+
54+
#Various packages required by xrootd with krb5 enabled
55+
platformBuildSeeds+=" libcom_err-devel krb5-devel"
56+
4557
#needed by python build
4658
platformBuildSeeds+=" readline-devel ncurses-devel tcl-devel tk-devel"
59+
60+
##############################
61+
#Packages which provides a definition
62+
##############################
4763
packagesWithBuildProvides=""
4864

4965
%ifnarch aarch64
5066
# Needed by oracle
5167
platformSeeds+=" libaio"
5268
%endif
5369

54-
%if "%{rhel}" != "7"
55-
platformSeeds+=" libxcrypt perl-libs"
70+
%if "%{rhel}" == "9"
71+
platformSeeds+=" libgcc"
5672
%endif
5773

5874
platformSeeds+=" %{?rhel:libgcc}"

clue-gcc14.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
diff --git a/clueLib/include/TilesAlpaka.h b/clueLib/include/TilesAlpaka.h
2+
index b6ba9e50006616adcb2fee8642420a14fc698aba..0e7bcfd15f867a04c9e25e3534cfc199a01ece94 100644
3+
--- a/clueLib/include/TilesAlpaka.h
4+
+++ b/clueLib/include/TilesAlpaka.h
5+
@@ -30,13 +30,20 @@ class TilesAlpaka {
6+
7+
ALPAKA_FN_HOST_ACC int getDim1Bin(float x) const {
8+
int dim1Bin = (x - T::minDim1) * T::invDim1BinSize;
9+
- dim1Bin = std::clamp(dim1Bin, 0, T::nColumns - 1);
10+
+ // Equivalent of std::clamp(dim1Bin, 0, T::nColumns - 1);
11+
+ // which doesn't compile with gcc14 due to reference to __glibcxx_assert
12+
+ // See https://github.com/llvm/llvm-project/issues/95183
13+
+ // and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115740
14+
+ int new_max = std::max(dim1Bin, 0);
15+
+ dim1Bin = std::min(T::nColumns - 1, new_max);
16+
return dim1Bin;
17+
}
18+
19+
ALPAKA_FN_HOST_ACC int getDim2Bin(float y) const {
20+
int dim2Bin = (y - T::minDim2) * T::invDim2BinSize;
21+
- dim2Bin = std::clamp(dim2Bin, 0, T::nRows - 1);
22+
+ // See comment in getDim1Bin
23+
+ int new_max = std::max(dim2Bin, 0);
24+
+ dim2Bin = std::min(T::nRows - 1, new_max);
25+
return dim2Bin;
26+
}
27+

clue.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
%define git_commit V_%(echo %{realversion} | tr '.' '_')
55

66
Source: https://gitlab.cern.ch/kalos/%{n}/-/archive/%{git_commit}/%{n}-%{git_commit}.tar.gz
7+
Patch0: clue-gcc14
78
Requires: alpaka
89

910
%prep
1011
%setup -n %{n}-%{git_commit}
12+
%patch0 -p1
1113

1214
%build
1315

cmake.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### RPM external cmake 3.28.3
1+
### RPM external cmake 3.31.7
22
%define downloaddir %(echo %realversion | cut -d. -f1,2)
33
Source: http://www.cmake.org/files/v%{downloaddir}/%n-%realversion.tar.gz
44
Requires: bz2lib curl expat zlib

curl.spec

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
### RPM external curl 7.79.0
2-
Source: http://curl.haxx.se/download/%{n}-%{realversion}.tar.gz
1+
%if 0%{?rhel} > 9
2+
%define curl_version 8.13.0
3+
%else
4+
%define curl_version 7.79.0
5+
%endif
6+
### RPM external curl %{curl_version}
7+
Source: https://curl.se/download/%{n}-%{realversion}.tar.gz
38
Requires: zlib
49

510
%prep
@@ -23,6 +28,7 @@ Requires: zlib
2328
--without-nss \
2429
--without-libssh2 \
2530
--with-gssapi=${KERBEROS_ROOT} \
31+
--without-libpsl \
2632
--with-openssl
2733

2834
make %{makeprocesses}

davix.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### RPM external davix 0.8.7
1+
### RPM external davix 0.8.9
22

33
%define tag %(echo R_%{realversion} | tr . _)
44
%define branch master

0 commit comments

Comments
 (0)