Skip to content

Commit

Permalink
Merge pull request #202 from vespa-engine/balder/rebuild-all-vespa-pa…
Browse files Browse the repository at this point in the history
…ckages-with-latest-gcc-13

Rebuild all packages with latest gcc 13 compiler.
  • Loading branch information
baldersheim authored Nov 27, 2023
2 parents c85188c + c28e89c commit 50d7255
Show file tree
Hide file tree
Showing 28 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion boost/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=1
MINOR=76
PATCH=0
RELEASE=3
RELEASE=4

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
6 changes: 3 additions & 3 deletions boost/vespa-boost.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Source: https://boostorg.jfrog.io/artifactory/main/release/%{dotted_version}/sou

BuildRequires: m4
%if 0%{?el8}
BuildRequires: gcc-toolset-12-gcc-c++
BuildRequires: gcc-toolset-12-binutils
%define _devtoolset_enable /opt/rh/gcc-toolset-12/enable
BuildRequires: gcc-toolset-13-gcc-c++
BuildRequires: gcc-toolset-13-binutils
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
BuildRequires: make
%endif

Expand Down
2 changes: 1 addition & 1 deletion cmake/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=3
MINOR=26
PATCH=4
RELEASE=1
RELEASE=2
PKGNAME=vespa-cmake

# https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions cmake/vespa-cmake.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ URL: http://www.cmake.org
Source0: https://github.com/Kitware/CMake/releases/download/v%{version}/cmake-%{version}.tar.gz

%if 0%{?el8}%{?el9}
BuildRequires: gcc-toolset-12-gcc-c++
%define _devtoolset_enable /opt/rh/gcc-toolset-12/enable
BuildRequires: gcc-toolset-13-gcc-c++
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
%endif
%if 0%{?fedora}
BuildRequires: gcc-c++
Expand Down
2 changes: 1 addition & 1 deletion gtest/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=1
MINOR=13
PATCH=0
RELEASE=1
RELEASE=2

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
4 changes: 2 additions & 2 deletions gtest/vespa-gtest.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Source0: https://github.com/google/googletest/archive/refs/tags/v%{versio
BuildRequires: python3-devel
%if 0%{?el8}
%global _centos_stream %(grep -qs '^NAME="CentOS Stream"' /etc/os-release && echo 1 || echo 0)
BuildRequires: vespa-toolset-11-meta
%define _devtoolset_enable /opt/rh/gcc-toolset-11/enable
BuildRequires: vespa-toolset-13-meta
%define _devtoolset_enable /opt/rh/gcc-toolset/enable
BuildRequires: cmake
%endif
%if 0%{?fedora}
Expand Down
2 changes: 1 addition & 1 deletion icu/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=65
MINOR=1
PATCH=0
RELEASE=4
RELEASE=5

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
4 changes: 2 additions & 2 deletions icu/vespa-icu.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ Source0: https://github.com/unicode-org/icu/releases/download/release-%{v


%if 0%{?el8}
%define _devtoolset_enable /opt/rh/gcc-toolset-11/enable
BuildRequires: gcc-toolset-11-gcc-c++
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
BuildRequires: gcc-toolset-13-gcc-c++
%endif
%if 0%{?fedora}
BuildRequires: gcc-c++
Expand Down
2 changes: 1 addition & 1 deletion lz4/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=1
MINOR=9
PATCH=4
RELEASE=2
RELEASE=3

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
4 changes: 2 additions & 2 deletions lz4/vespa-lz4.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ URL: https://lz4.github.io/lz4/
Source0: https://github.com/lz4/lz4/archive/v%{version}/lz4-%{version}.tar.gz

%if 0%{?el8}
%define _devtoolset_enable /opt/rh/gcc-toolset-11/enable
BuildRequires: gcc-toolset-11-gcc
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
BuildRequires: gcc-toolset-13-gcc
%endif
%if 0%{?el9}
BuildRequires: gcc
Expand Down
2 changes: 1 addition & 1 deletion onnxruntime/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=1
MINOR=16
PATCH=3
RELEASE=1
RELEASE=2
PKGNAME=vespa-onnxruntime

RPMTOPDIR=$(TOP)/rpmbuild
Expand Down
4 changes: 2 additions & 2 deletions onnxruntime/vespa-onnxruntime.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ BuildRequires: ccache
BuildRequires: vespa-gradle
BuildRequires: which
%if 0%{?el8}
%define _devtoolset_enable /opt/rh/gcc-toolset-12/enable
BuildRequires: vespa-toolset-12-meta
%define _devtoolset_enable /opt/rh/gcc-toolset/enable
BuildRequires: vespa-toolset-13-meta
BuildRequires: vespa-gtest
BuildRequires: make
BuildRequires: glibc-langpack-en
Expand Down
2 changes: 1 addition & 1 deletion openblas/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=0
MINOR=3
PATCH=25
RELEASE=1
RELEASE=2

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
12 changes: 6 additions & 6 deletions openblas/vespa-openblas.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}/openblas-
Patch0: patches.driver-others-dynamic-arm64.diff

%if 0%{?el8}
%define _devtoolset_enable /opt/rh/gcc-toolset-11/enable
BuildRequires: vespa-toolset-11-meta
BuildRequires: gcc-toolset-11-gcc-gfortran
%define _devtoolset_enable /opt/rh/gcc-toolset/enable
BuildRequires: vespa-toolset-13-meta
BuildRequires: gcc-toolset-13-gcc-gfortran
BuildRequires: perl-devel
%endif
%if 0%{?el9}
%define _devtoolset_enable /opt/rh/gcc-toolset-12/enable
BuildRequires: vespa-toolset-12-meta
BuildRequires: gcc-toolset-12-gcc-gfortran
%define _devtoolset_enable /opt/rh/gcc-toolset/enable
BuildRequires: vespa-toolset-13-meta
BuildRequires: gcc-toolset-13-gcc-gfortran
BuildRequires: perl-devel
%endif
%if 0%{?fedora}
Expand Down
2 changes: 1 addition & 1 deletion openssl/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=3
MINOR=1
PATCH=4
RELEASE=1
RELEASE=2

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
4 changes: 2 additions & 2 deletions openssl/vespa-openssl.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Source0: https://www.openssl.org/source/openssl-%{version}.tar.gz


%if 0%{?el8}%{?el9}
%define _devtoolset_enable /opt/rh/gcc-toolset-12/enable
BuildRequires: gcc-toolset-12-gcc-c++
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
BuildRequires: gcc-toolset-13-gcc-c++
BuildRequires: make
BuildRequires: perl
%endif
Expand Down
2 changes: 1 addition & 1 deletion protobuf/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=3
MINOR=21
PATCH=12
RELEASE=1
RELEASE=2

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
4 changes: 2 additions & 2 deletions protobuf/vespa-protobuf.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ Source0: https://github.com/protocolbuffers/protobuf/releases/download/v%
Patch0: patches.protobuf-linker-maps.diff

%if 0%{?el8} || 0%{?el9}
%define _devtoolset_enable /opt/rh/gcc-toolset-12/enable
BuildRequires: gcc-toolset-12-gcc-c++
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
BuildRequires: gcc-toolset-13-gcc-c++
BuildRequires: make
%endif
%if 0%{?fedora}
Expand Down
2 changes: 1 addition & 1 deletion pybind11/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=2
MINOR=10
PATCH=4
RELEASE=1
RELEASE=2

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
6 changes: 3 additions & 3 deletions pybind11/vespa-pybind11.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ URL: https://github.com/pybind/pybind11
Source0: https://github.com/pybind/pybind11/archive/refs/tags/v%{version}.tar.gz

%if 0%{?el8}
%define _devtoolset_enable /opt/rh/gcc-toolset-11/enable
BuildRequires: gcc-toolset-11-gcc-c++
BuildRequires: gcc-toolset-11-binutils
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
BuildRequires: gcc-toolset-13-gcc-c++
BuildRequires: gcc-toolset-13-binutils
BuildRequires: make
BuildRequires: cmake
BuildRequires: boost-devel
Expand Down
2 changes: 1 addition & 1 deletion re2/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
# Version
MAJOR=20210801
MAJOR_LONG=2021-08-01
RELEASE=3
RELEASE=4

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
6 changes: 3 additions & 3 deletions re2/vespa-re2.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ URL: https://github.com/google/re2/
Source0: https://github.com/google/re2/archive/%{ver_major_long}.tar.gz

%if 0%{?el8}
%define _devtoolset_enable /opt/rh/gcc-toolset-11/enable
BuildRequires: gcc-toolset-11-gcc
BuildRequires: gcc-toolset-11-gcc-c++
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
BuildRequires: gcc-toolset-13-gcc
BuildRequires: gcc-toolset-13-gcc-c++
%endif
%if 0%{?el9}
BuildRequires: gcc
Expand Down
2 changes: 1 addition & 1 deletion valgrind/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=3
MINOR=22
PATCH=0
RELEASE=1
RELEASE=2

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
8 changes: 4 additions & 4 deletions valgrind/vespa-valgrind.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ URL: http://www.valgrind.org/
Source0: https://sourceware.org/pub/valgrind/valgrind-%{version}.tar.bz2

%if 0%{?el8}
%define _devtoolset_enable /opt/rh/gcc-toolset-12/enable
%define _devtoolset_gdb /opt/rh/gcc-toolset-12/root/usr/bin/gdb
BuildRequires: vespa-toolset-12-meta
%define _devtoolset_enable /opt/rh/gcc-toolset/enable
%define _devtoolset_gdb /opt/rh/gcc-toolset-13/root/usr/bin/gdb
BuildRequires: vespa-toolset-13-meta
BuildRequires: glibc-devel
BuildRequires: gcc-toolset-12-gdb
BuildRequires: gcc-toolset-13-gdb
BuildRequires: procps
BuildRequires: perl-generators
BuildRequires: perl(Getopt::Long)
Expand Down
2 changes: 1 addition & 1 deletion xxhash/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=0
MINOR=8
PATCH=1
RELEASE=2
RELEASE=3

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
4 changes: 2 additions & 2 deletions xxhash/vespa-xxhash.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ URL: http://www.xxhash.com/
Source0: https://github.com/Cyan4973/xxHash/archive/v%{version}/%{name}-%{version}.tar.gz

%if 0%{?el8}
%define _devtoolset_enable /opt/rh/gcc-toolset-11/enable
BuildRequires: gcc-toolset-11-gcc
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
BuildRequires: gcc-toolset-13-gcc
%endif
%if 0%{?el9}
BuildRequires: gcc
Expand Down
2 changes: 1 addition & 1 deletion zstd/.copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
MAJOR=1
MINOR=5
PATCH=5
RELEASE=1
RELEASE=2

RPMTOPDIR=$(TOP)/rpmbuild
SOURCEDIR=$(RPMTOPDIR)/SOURCES
Expand Down
4 changes: 2 additions & 2 deletions zstd/vespa-zstd.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ URL: https://github.com/facebook/zstd
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/zstd-%{version}.tar.gz

%if 0%{?el8}
%define _devtoolset_enable /opt/rh/gcc-toolset-11/enable
BuildRequires: gcc-toolset-11-gcc
%define _devtoolset_enable /opt/rh/gcc-toolset-13/enable
BuildRequires: gcc-toolset-13-gcc
%endif
%if 0%{?el9}
BuildRequires: gcc
Expand Down

0 comments on commit 50d7255

Please sign in to comment.