Rename clang-16 to clang16 and llvm-16 to llvm16 (#5300)

* rename to clang16 and llvm16

* Revert "Add an explicit constraint on llvm-devel < 16.0.0 for bcc, ldd & mesa (#5278)"

This reverts commit 7fd75c9287.
This commit is contained in:
Andrew Phelps 2023-04-14 00:30:51 -07:00 коммит произвёл GitHub
Родитель 5c291aa6f0
Коммит 55548760a9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
10 изменённых файлов: 20 добавлений и 29 удалений

2
SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md сгенерированный

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -2589,7 +2589,7 @@
"chrpath", "chrpath",
"cifs-utils", "cifs-utils",
"clang", "clang",
"clang-16", "clang16",
"cloud-init", "cloud-init",
"cloud-utils-growpart", "cloud-utils-growpart",
"cmake", "cmake",
@ -2791,7 +2791,7 @@
"lldb", "lldb",
"lldpad", "lldpad",
"llvm", "llvm",
"llvm-16", "llvm16",
"lm-sensors", "lm-sensors",
"lmdb", "lmdb",
"log4cpp", "log4cpp",

Просмотреть файл

@ -2,7 +2,7 @@
Summary: BPF Compiler Collection (BCC) Summary: BPF Compiler Collection (BCC)
Name: bcc Name: bcc
Version: 0.24.0 Version: 0.24.0
Release: 2%{?dist} Release: 1%{?dist}
License: ASL 2.0 License: ASL 2.0
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
@ -17,7 +17,7 @@ BuildRequires: elfutils-libelf-devel
BuildRequires: flex BuildRequires: flex
BuildRequires: gcc BuildRequires: gcc
BuildRequires: libstdc++ BuildRequires: libstdc++
BuildRequires: llvm-devel < 16.0.0 BuildRequires: llvm-devel
BuildRequires: make BuildRequires: make
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: pkg-config BuildRequires: pkg-config
@ -121,9 +121,6 @@ find %{buildroot}%{_lib64dir} -name '*.a' -delete
%{_datadir}/%{name}/man/* %{_datadir}/%{name}/man/*
%changelog %changelog
* Tue Apr 11 2023 Muhammad Falak R Wani <mwani@microsoft.com> - 0.24.0-2
- Add an explicit constraint on llvm-devel < 16.0.0
* Wed Feb 09 2022 Chris Co <chrco@microsoft.com> - 0.24.0-1 * Wed Feb 09 2022 Chris Co <chrco@microsoft.com> - 0.24.0-1
- Update to 0.24.0 - Update to 0.24.0

Просмотреть файл

@ -30,10 +30,10 @@
%{_bindir}/scan-build-py %{_bindir}/scan-build-py
%global clang_srcdir llvm-project-llvmorg-%{version} %global clang_srcdir llvm-project-llvmorg-%{version}
%global clang_tools_srcdir %{name}-tools-extra-%{version}.src %global clang_tools_srcdir clang-tools-extra-%{version}.src
Summary: C, C++, Objective C and Objective C++ front-end for the LLVM compiler. Summary: C, C++, Objective C and Objective C++ front-end for the LLVM compiler.
Name: clang Name: clang16
Version: %{maj_ver}.%{min_ver}.%{patch_ver} Version: %{maj_ver}.%{min_ver}.%{patch_ver}
Release: 1%{?dist} Release: 1%{?dist}
License: NCSA License: NCSA
@ -45,14 +45,14 @@ Source0: https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-%
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{clang_tools_srcdir}.tar.xz Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{clang_tools_srcdir}.tar.xz
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: llvm-devel = %{version} BuildRequires: llvm16-devel = %{version}
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Requires: libstdc++-devel Requires: libstdc++-devel
Requires: libxml2 Requires: libxml2
Requires: llvm Requires: llvm16
Requires: ncurses Requires: ncurses
Requires: python3 Requires: python3
Requires: zlib Requires: zlib
@ -225,7 +225,7 @@ make clang-check
%changelog %changelog
* Wed Apr 05 2023 Andrew Phelps <anphel@microsoft.com> - 16.0.0-1 * Wed Apr 05 2023 Andrew Phelps <anphel@microsoft.com> - 16.0.0-1
- Add spec for clang-16 - Add spec for clang16
* Fri Oct 07 2022 Andy Caldwell <andycaldwell@microsoft.com> - 12.0.1-4 * Fri Oct 07 2022 Andy Caldwell <andycaldwell@microsoft.com> - 12.0.1-4
- Enable `-pie` executables by default - Enable `-pie` executables by default

Просмотреть файл

@ -1,7 +1,7 @@
Summary: LLD is a linker from the LLVM project that is a drop-in replacement for system linkers and runs much faster than them Summary: LLD is a linker from the LLVM project that is a drop-in replacement for system linkers and runs much faster than them
Name: lld Name: lld
Version: 12.0.1 Version: 12.0.1
Release: 2%{?dist} Release: 1%{?dist}
License: NCSA License: NCSA
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
@ -15,7 +15,7 @@ Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%
BuildRequires: build-essential BuildRequires: build-essential
BuildRequires: cmake BuildRequires: cmake
BuildRequires: file BuildRequires: file
BuildRequires: llvm-devel < 16.0.0 BuildRequires: llvm-devel
BuildRequires: ninja-build BuildRequires: ninja-build
BuildRequires: python3 BuildRequires: python3
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
@ -71,9 +71,6 @@ cd build
%{_libdir}/*.so.12* %{_libdir}/*.so.12*
%changelog %changelog
* Tue Apr 11 2023 Muhammad Falak R Wani <mwani@microsoft.com> - 12.0.1-2
- Add an explicit constraint on llvm-devel < 16.0.0
* Thu Aug 12 2021 Andy Caldwell <andycaldwell@microsoft.com> 12.0.1-1 * Thu Aug 12 2021 Andy Caldwell <andycaldwell@microsoft.com> 12.0.1-1
- Original version for CBL-Mariner. - Original version for CBL-Mariner.
- License verified - License verified

Просмотреть файл

Просмотреть файл

@ -1,5 +1,5 @@
Summary: A collection of modular and reusable compiler and toolchain technologies. Summary: A collection of modular and reusable compiler and toolchain technologies.
Name: llvm Name: llvm16
Version: 16.0.0 Version: 16.0.0
Release: 1%{?dist} Release: 1%{?dist}
License: NCSA License: NCSA
@ -15,7 +15,7 @@ BuildRequires: ninja-build
BuildRequires: python3-devel BuildRequires: python3-devel
Requires: libxml2 Requires: libxml2
Provides: %{name} = %{version} Provides: %{name} = %{version}
Provides: llvm = %{version}-%{release} Provides: %{name} = %{version}-%{release}
%description %description
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines, though it does provide helpful libraries that can be used to build them. The name "LLVM" itself is not an acronym; it is the full name of the project. The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines, though it does provide helpful libraries that can be used to build them. The name "LLVM" itself is not an acronym; it is the full name of the project.
@ -29,7 +29,7 @@ The llvm-devel package contains libraries, header files and documentation
for developing applications that use llvm. for developing applications that use llvm.
%prep %prep
%setup -q -n %{name}-project-llvmorg-%{version} %setup -q -n llvm-project-llvmorg-%{version}
%build %build
# Disable symbol generation # Disable symbol generation
@ -89,7 +89,7 @@ ninja check-all
%changelog %changelog
* Wed Apr 05 2023 Andrew Phelps <anphel@microsoft.com> - 16.0.0-1 * Wed Apr 05 2023 Andrew Phelps <anphel@microsoft.com> - 16.0.0-1
- Add spec for llvm-16 - Add spec for llvm16
* Tue Dec 06 2022 Adam Schwab <adschwab@microsoft.com> - 12.0.1-5 * Tue Dec 06 2022 Adam Schwab <adschwab@microsoft.com> - 12.0.1-5
- Workaround for llvm issue #49955 with patch - Workaround for llvm issue #49955 with patch

Просмотреть файл

@ -52,7 +52,7 @@
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
Name: mesa Name: mesa
Version: 21.0.0 Version: 21.0.0
Release: 4%{?dist} Release: 3%{?dist}
License: BSD License: BSD
Vendor: Microsoft Corporation Vendor: Microsoft Corporation
Distribution: Mariner Distribution: Mariner
@ -73,7 +73,7 @@ BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
BuildRequires: llvm-devel < 16.0.0 BuildRequires: llvm-devel >= 7.0.0
BuildRequires: meson >= 0.45 BuildRequires: meson >= 0.45
BuildRequires: pkgconfig(dri2proto) >= 2.8 BuildRequires: pkgconfig(dri2proto) >= 2.8
BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(expat)
@ -588,9 +588,6 @@ popd
%endif %endif
%changelog %changelog
* Tue Apr 11 2023 Muhammad Falak R Wani <mwani@microsoft.com> - 21.0.0-4
- Add an explicit constraint on llvm-devel < 16.0.0
* Wed Oct 27 2021 Muhammad Falak <mwani@microsft.com> - 21.0.0-3 * Wed Oct 27 2021 Muhammad Falak <mwani@microsft.com> - 21.0.0-3
- Remove epoch - Remove epoch

Просмотреть файл

@ -1746,7 +1746,7 @@
"component": { "component": {
"type": "other", "type": "other",
"other": { "other": {
"name": "clang", "name": "clang16",
"version": "16.0.0", "version": "16.0.0",
"downloadUrl": "https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-16.0.0.tar.gz" "downloadUrl": "https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-16.0.0.tar.gz"
} }
@ -12150,7 +12150,7 @@
"component": { "component": {
"type": "other", "type": "other",
"other": { "other": {
"name": "llvm", "name": "llvm16",
"version": "16.0.0", "version": "16.0.0",
"downloadUrl": "https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-16.0.0.tar.gz" "downloadUrl": "https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-16.0.0.tar.gz"
} }