Commit 6f8373e3 authored by Gianfranco Costamagna's avatar Gianfranco Costamagna

Add Ubuntu disco and eoan to supported releases

parent 64096001
llvm-toolchain-7 (1:7.1.0~svn354203-1~exp2) UNRELEASED; urgency=medium
* Add ubuntu disco and eoan to supported ubuntu releases
-- Gianfranco Costamagna <locutusofborg@debian.org> Sun, 21 Apr 2019 22:55:47 +0200
llvm-toolchain-7 (1:7.1.0~svn354203-1~exp1) experimental; urgency=medium
* New stable release.
......
......@@ -158,3 +158,4 @@ kfreebsd/lldb_source_Host_freebsd_Host.cpp.diff
kfreebsd/lldb_source_Plugins_Process_FreeBSD.diff
kfreebsd/tools_llvm-shlib_CMakeLists.txt.diff
kfreebsd/include_llvm_MC_MCELFObjectWriter.h.diff
ubuntu-eoan-distro.patch
Description: Add disco and eoan as supported architectures
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Last-Update: 2019-04-21
--- llvm-toolchain-7-7.0.1.orig/clang/include/clang/Driver/Distro.h
+++ llvm-toolchain-7-7.0.1/clang/include/clang/Driver/Distro.h
@@ -62,6 +62,8 @@ public:
UbuntuArtful,
UbuntuBionic,
UbuntuCosmic,
+ UbuntuDisco,
+ UbuntuEoan,
UnknownDistro
};
@@ -115,7 +117,7 @@ public:
}
bool IsUbuntu() const {
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuCosmic;
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuEoan;
}
bool IsAlpineLinux() const {
--- llvm-toolchain-7-7.0.1.orig/clang/lib/Driver/Distro.cpp
+++ llvm-toolchain-7-7.0.1/clang/lib/Driver/Distro.cpp
@@ -50,6 +50,8 @@ static Distro::DistroType DetectDistro(v
.Case("artful", Distro::UbuntuArtful)
.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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment