import clang-14.0.0-2.module+el8.7.0+15526+a48f7e8c
This commit is contained in:
parent
86acc848c4
commit
3c54eb8d09
@ -41,7 +41,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
|
||||
@ -168,7 +168,7 @@ libomp-devel to enable -fopenmp.
|
||||
Summary: Runtime library for clang
|
||||
Requires: %{name}-resource-filesystem%{?_isa} = %{version}
|
||||
# RHEL specific: Use libstdc++ from gcc12 by default. rhbz#2064507
|
||||
Requires: gcc-toolset-11-gcc-c++
|
||||
Requires: gcc-toolset-12-gcc-c++
|
||||
Recommends: compiler-rt%{?_isa} = %{version}
|
||||
# libomp-devel is required, so clang can find the omp.h header when compiling
|
||||
# with -fopenmp.
|
||||
@ -381,7 +381,8 @@ CFLAGS="$CFLAGS -Wno-address -Wno-nonnull -Wno-maybe-uninitialized"
|
||||
%ifarch %{arm}
|
||||
-DCLANG_DEFAULT_LINKER=lld \
|
||||
%endif
|
||||
-DCLANG_DEFAULT_UNWINDLIB=libgcc
|
||||
-DCLANG_DEFAULT_UNWINDLIB=libgcc \
|
||||
-DGCC_INSTALL_PREFIX=/opt/rh/gcc-toolset-12/root/usr
|
||||
|
||||
%cmake_build
|
||||
|
||||
@ -612,6 +613,10 @@ false
|
||||
|
||||
%endif
|
||||
%changelog
|
||||
* Wed Jun 01 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-2
|
||||
- Increate gcc-toolset dependency to 12
|
||||
- Set GCC_INSTALL_PREFIX variable
|
||||
|
||||
* Thu Apr 07 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
||||
- Update to 14.0.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user