@@ -77,28 +77,26 @@ def _linux(llvm_version):
77
77
os_name = "linux-sles%s" % version
78
78
elif distname == "ubuntu" and version .startswith ("14.04" ):
79
79
os_name = "linux-gnu-ubuntu-14.04"
80
- elif (distname == "ubuntu" and version .startswith ("20.04" )) or (distname == "linuxmint" and version .startswith ("20" )):
80
+ elif ((distname == "ubuntu" and version .startswith ("20.04" )) or
81
+ (distname == "linuxmint" and version .startswith ("20" )) or
82
+ (distname == "pop" and version .startswith ("20" ))):
81
83
if major_llvm_version < 11 :
82
84
# There is no binary packages specifically for 20.04, but those for 18.04 works on
83
85
# 20.04
84
86
os_name = "linux-gnu-ubuntu-18.04"
85
87
else :
86
88
# release 11.0.0 started providing packaging for ubuntu 20
87
89
os_name = "linux-gnu-ubuntu-20.04"
88
- elif (distname == "ubuntu" and version .startswith ("18.04" )) or (distname == "linuxmint" and version .startswith ("19" )):
90
+ elif ((distname == "ubuntu" and version .startswith ("18.04" )) or
91
+ (distname == "linuxmint" and version .startswith ("19" )) or
92
+ (distname == "debian" and (version is None or int (version ) == 10 ))):
89
93
if major_llvm_version > 10 :
90
94
# LLVM seems to have stopped providing binary packages for ubuntu 18.04.
91
95
os_name = "linux-gnu-ubuntu-16.04"
92
96
else :
93
97
os_name = "linux-gnu-ubuntu-18.04"
94
-
95
- elif (distname == "ubuntu" and version .startswith ("20" )) or (distname == "pop" and version .startswith ("20" )):
96
- # use ubuntu 18.04 clang LLVM release for ubuntu 20.04
97
- os_name = "linux-gnu-ubuntu-18.04"
98
98
elif distname in ["ubuntu" , "manjaro" ] or (distname == "linuxmint" and version .startswith ("18" )):
99
99
os_name = "linux-gnu-ubuntu-16.04"
100
- elif distname == "debian" and (version is None or int (version ) == 10 ):
101
- os_name = "linux-gnu-ubuntu-18.04"
102
100
elif distname == "debian" and int (version ) == 9 and major_llvm_version >= 7 :
103
101
os_name = "linux-gnu-ubuntu-16.04"
104
102
elif distname == "debian" and int (version ) == 8 and major_llvm_version < 7 :
0 commit comments