mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 16:41:59 +00:00
Add noble as supported Ubuntu release
This commit is contained in:
parent
93413979ab
commit
2840ec0456
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,6 +1,8 @@
|
|||||||
llvm-toolchain-16 (1:16.0.6-18) UNRELEASED; urgency=medium
|
llvm-toolchain-16 (1:16.0.6-18) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
* Upload to sid
|
* Upload to sid
|
||||||
|
[ Steve Langasek ]
|
||||||
|
* Add noble as supported Ubuntu release
|
||||||
|
|
||||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 25 Oct 2023 08:10:35 +0200
|
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 25 Oct 2023 08:10:35 +0200
|
||||||
|
|
||||||
|
22
debian/patches/ubuntu-releases.patch
vendored
22
debian/patches/ubuntu-releases.patch
vendored
@ -3,36 +3,38 @@ Forwarded: no
|
|||||||
Author: Graham Inggs <ginggs@debian.org>
|
Author: Graham Inggs <ginggs@debian.org>
|
||||||
Last-Update: 2023-04-29
|
Last-Update: 2023-04-29
|
||||||
|
|
||||||
Index: llvm-toolchain-16-16.0.5/clang/include/clang/Driver/Distro.h
|
Index: llvm-toolchain-16-16.0.6/clang/include/clang/Driver/Distro.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-16-16.0.5.orig/clang/include/clang/Driver/Distro.h
|
--- llvm-toolchain-16-16.0.6.orig/clang/include/clang/Driver/Distro.h
|
||||||
+++ llvm-toolchain-16-16.0.5/clang/include/clang/Driver/Distro.h
|
+++ llvm-toolchain-16-16.0.6/clang/include/clang/Driver/Distro.h
|
||||||
@@ -77,6 +77,7 @@
|
@@ -77,6 +77,8 @@
|
||||||
UbuntuJammy,
|
UbuntuJammy,
|
||||||
UbuntuKinetic,
|
UbuntuKinetic,
|
||||||
UbuntuLunar,
|
UbuntuLunar,
|
||||||
+ UbuntuMantic,
|
+ UbuntuMantic,
|
||||||
|
+ UbuntuNoble,
|
||||||
UnknownDistro
|
UnknownDistro
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -128,7 +129,7 @@
|
@@ -128,7 +130,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsUbuntu() const {
|
bool IsUbuntu() const {
|
||||||
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuLunar;
|
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuLunar;
|
||||||
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuMantic;
|
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuNoble;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
|
bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
|
||||||
Index: llvm-toolchain-16-16.0.5/clang/lib/Driver/Distro.cpp
|
Index: llvm-toolchain-16-16.0.6/clang/lib/Driver/Distro.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- llvm-toolchain-16-16.0.5.orig/clang/lib/Driver/Distro.cpp
|
--- llvm-toolchain-16-16.0.6.orig/clang/lib/Driver/Distro.cpp
|
||||||
+++ llvm-toolchain-16-16.0.5/clang/lib/Driver/Distro.cpp
|
+++ llvm-toolchain-16-16.0.6/clang/lib/Driver/Distro.cpp
|
||||||
@@ -93,6 +93,7 @@
|
@@ -93,6 +93,8 @@
|
||||||
.Case("jammy", Distro::UbuntuJammy)
|
.Case("jammy", Distro::UbuntuJammy)
|
||||||
.Case("kinetic", Distro::UbuntuKinetic)
|
.Case("kinetic", Distro::UbuntuKinetic)
|
||||||
.Case("lunar", Distro::UbuntuLunar)
|
.Case("lunar", Distro::UbuntuLunar)
|
||||||
+ .Case("mantic", Distro::UbuntuMantic)
|
+ .Case("mantic", Distro::UbuntuMantic)
|
||||||
|
+ .Case("noble", Distro::UbuntuNoble)
|
||||||
.Default(Distro::UnknownDistro);
|
.Default(Distro::UnknownDistro);
|
||||||
return Version;
|
return Version;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user