mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 09:50:53 +00:00
Merge branch '16' into 17
This commit is contained in:
commit
f0fcfca366
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -183,6 +183,8 @@ llvm-toolchain-snapshot (1:17~++20230128060150+75153adeda1a-1~exp1) experimental
|
||||
llvm-toolchain-16 (1:16.0.6-18) UNRELEASED; urgency=medium
|
||||
|
||||
* Upload to sid
|
||||
[ Steve Langasek ]
|
||||
* Add noble as supported Ubuntu release
|
||||
|
||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 25 Oct 2023 08:10:35 +0200
|
||||
|
||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -148,3 +148,4 @@ force-sse2-compiler-rt.diff
|
||||
bolt-disable-emit-relocs.patch
|
||||
link-grpc.diff
|
||||
D158066-simd-ppc64el.patch
|
||||
ubuntu-releases.patch
|
||||
|
38
debian/patches/ubuntu-releases.patch
vendored
Normal file
38
debian/patches/ubuntu-releases.patch
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
Description: Update the list of Ubuntu release names
|
||||
Forwarded: no
|
||||
Author: Graham Inggs <ginggs@debian.org>
|
||||
Last-Update: 2023-04-29
|
||||
|
||||
Index: llvm-toolchain-17-17.0.3/clang/include/clang/Driver/Distro.h
|
||||
===================================================================
|
||||
--- llvm-toolchain-17-17.0.3.orig/clang/include/clang/Driver/Distro.h
|
||||
+++ llvm-toolchain-17-17.0.3/clang/include/clang/Driver/Distro.h
|
||||
@@ -78,6 +78,7 @@
|
||||
UbuntuKinetic,
|
||||
UbuntuLunar,
|
||||
UbuntuMantic,
|
||||
+ UbuntuNoble,
|
||||
UnknownDistro
|
||||
};
|
||||
|
||||
@@ -129,7 +130,7 @@
|
||||
}
|
||||
|
||||
bool IsUbuntu() const {
|
||||
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuMantic;
|
||||
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuNoble;
|
||||
}
|
||||
|
||||
bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
|
||||
Index: llvm-toolchain-17-17.0.3/clang/lib/Driver/Distro.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-17-17.0.3.orig/clang/lib/Driver/Distro.cpp
|
||||
+++ llvm-toolchain-17-17.0.3/clang/lib/Driver/Distro.cpp
|
||||
@@ -94,6 +94,7 @@
|
||||
.Case("kinetic", Distro::UbuntuKinetic)
|
||||
.Case("lunar", Distro::UbuntuLunar)
|
||||
.Case("mantic", Distro::UbuntuMantic)
|
||||
+ .Case("noble", Distro::UbuntuNoble)
|
||||
.Default(Distro::UnknownDistro);
|
||||
return Version;
|
||||
}
|
Loading…
Reference in New Issue
Block a user