mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-03 19:15:50 +00:00
Add Ubuntu eoan to supported ubuntu releases
This commit is contained in:
parent
d1aa2c1392
commit
408379a6c0
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,7 +1,11 @@
|
||||
llvm-toolchain-8 (1:8.0.1-1~svn) UNRELEASED; urgency=medium
|
||||
|
||||
[ Sylvestre Ledru ]
|
||||
* New upstream release (prepare)
|
||||
|
||||
[ Gianfranco Costamagna ]
|
||||
* Add Ubuntu eoan to supported ubuntu distro
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 07 Apr 2019 13:59:46 +0200
|
||||
|
||||
llvm-toolchain-8 (1:8-3) unstable; urgency=medium
|
||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -133,3 +133,4 @@ mips64el-fix.diff
|
||||
OpenCL-Change-type-of-block-pointer-for-OpenCL.patch
|
||||
OpenCL-Simplify-LLVM-IR-generated-for-OpenCL-blocks.patch
|
||||
OpenCL-Fix-assertion-due-to-blocks.patch
|
||||
ubuntu-eoan-distro.patch
|
||||
|
33
debian/patches/ubuntu-eoan-distro.patch
vendored
Normal file
33
debian/patches/ubuntu-eoan-distro.patch
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
Description: Add uoan as supported architecture
|
||||
Author: Gianfranco Costamagna <locutusofborg@debian.org>
|
||||
Last-Update: 2019-04-21
|
||||
|
||||
--- llvm-toolchain-8-8.orig/clang/include/clang/Driver/Distro.h
|
||||
+++ llvm-toolchain-8-8/clang/include/clang/Driver/Distro.h
|
||||
@@ -64,6 +64,7 @@ public:
|
||||
UbuntuBionic,
|
||||
UbuntuCosmic,
|
||||
UbuntuDisco,
|
||||
+ UbuntuEoan,
|
||||
UnknownDistro
|
||||
};
|
||||
|
||||
@@ -117,7 +118,7 @@ public:
|
||||
}
|
||||
|
||||
bool IsUbuntu() const {
|
||||
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuDisco;
|
||||
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuEoan;
|
||||
}
|
||||
|
||||
bool IsAlpineLinux() const {
|
||||
--- llvm-toolchain-8-8.orig/clang/lib/Driver/Distro.cpp
|
||||
+++ llvm-toolchain-8-8/clang/lib/Driver/Distro.cpp
|
||||
@@ -52,6 +52,7 @@ static Distro::DistroType DetectDistro(l
|
||||
.Case("bionic", Distro::UbuntuBionic)
|
||||
.Case("cosmic", Distro::UbuntuCosmic)
|
||||
.Case("disco", Distro::UbuntuDisco)
|
||||
+ .Case("eoan", Distro::UbuntuEoan)
|
||||
.Default(Distro::UnknownDistro);
|
||||
if (Version != Distro::UnknownDistro)
|
||||
return Version;
|
Loading…
Reference in New Issue
Block a user