Use gcc-toolset-13 by default

This commit is contained in:
Tom Stellard 2023-06-30 16:14:50 -07:00 committed by root
parent d6517219c0
commit 5599caf24d
2 changed files with 11 additions and 4 deletions

4
.clang.metadata Normal file
View File

@ -0,0 +1,4 @@
f005e3b6d41cf92c083d2a16960aaeb1a6e3c76c clang-16.0.6.src.tar.xz
41c06d541cfcc126ddc344e7f162148f2ecf0461 clang-tools-extra-16.0.6.src.tar.xz
cc29485778a6c94ed98f3b2dfb754ef513535691 clang-tools-extra-16.0.6.src.tar.xz.sig
bc19124e64c0ffe7ada3d4bad8aec42c0cd05f04 clang-16.0.6.src.tar.xz.sig

View File

@ -42,7 +42,7 @@
Name: %pkg_name
Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A C language family front-end for LLVM
License: NCSA
@ -177,8 +177,8 @@ libomp-devel to enable -fopenmp.
%package libs
Summary: Runtime library for clang
Requires: %{name}-resource-filesystem%{?_isa} = %{version}
# RHEL specific: Use libstdc++ from gcc12 by default. rhbz#2064507
Requires: gcc-toolset-12-gcc-c++
# RHEL specific: Use libstdc++ from gcc13 by default. rhbz#2178804
Requires: gcc-toolset-13-gcc-c++
Recommends: compiler-rt%{?_isa} = %{version}
# libomp-devel is required, so clang can find the omp.h header when compiling
# with -fopenmp.
@ -395,7 +395,7 @@ CFLAGS="$CFLAGS -Wno-address -Wno-nonnull -Wno-maybe-uninitialized"
-DCLANG_DEFAULT_LINKER=lld \
%endif
-DCLANG_DEFAULT_UNWINDLIB=libgcc \
-DGCC_INSTALL_PREFIX=/opt/rh/gcc-toolset-12/root/usr
-DGCC_INSTALL_PREFIX=/opt/rh/gcc-toolset-13/root/usr
%cmake_build
@ -624,6 +624,9 @@ false
%endif
%changelog
* Thu Jun 29 2023 Tom Stellard <tstellar@redhat.com> - 16.0.6-2
- Use gcc-toolset-13 by default
* Sat Jun 17 2023 Tom Stellard <tstellar@redhat.com> - 16.0.6-1
- 16.0.6 Release