@@ -107,7 +107,7 @@ def Exit( self ):
107107 'issue tracker, including the entire output of this script (with --verbose) '
108108 'and the invocation line used to run it.' )
109109
110- CLANGD_VERSION = '15 .0.1'
110+ CLANGD_VERSION = '16 .0.1'
111111CLANGD_BINARIES_ERROR_MESSAGE = (
112112 'No prebuilt Clang {version} binaries for {platform}. '
113113 'You\' ll have to compile Clangd {version} from source '
@@ -217,10 +217,6 @@ def OnWindows():
217217 return platform .system () == 'Windows'
218218
219219
220- def OnFreeBSD ():
221- return platform .system () == 'FreeBSD'
222-
223-
224220def OnAArch64 ():
225221 return platform .machine ().lower ().startswith ( 'aarch64' )
226222
@@ -1131,38 +1127,30 @@ def GetClangdTarget():
11311127 if OnWindows ():
11321128 return [
11331129 ( 'clangd-{version}-win64' ,
1134- 'e5da88a729d1c9d00c8a965bdbfdf081a9c7a1602d5cdf7cd75aacea72180195 ' ),
1130+ 'a0a7b16f6f92d545c84baff5e4bdb56897e955689ffc7407c915cc9d3c69a945 ' ),
11351131 ( 'clangd-{version}-win32' ,
1136- 'e5be596af3b4ab5f648e6a3b67bb60a3e97f6567d2b3c43a38f30158792e2641 ' ) ]
1132+ '870de4d2a45380eba7c6b6640e2cb870219dd2025ed3bcb58101fd1d17f51d75 ' ) ]
11371133 if OnMac ():
11381134 if OnArm ():
11391135 return [
11401136 ( 'clangd-{version}-arm64-apple-darwin' ,
1141- '7a606e37b03a795bf673116ef6c58cb888e7bd01199602bcae549c90927f124f ' ) ]
1137+ 'c5b0a314c00e4ce839ce1f4ee1ed46116f839949b7874affa759e10589340948 ' ) ]
11421138 return [
11431139 ( 'clangd-{version}-x86_64-apple-darwin' ,
1144- '0be7dc9042584a84524f57d62bde0ef168b3e00a02205053cfe5f73a13475c97' ) ]
1145- # FreeBSD binaries are not yet available for clang 15.0.1
1146- #
1147- # if OnFreeBSD():
1148- # return [
1149- # ( 'clangd-{version}-amd64-unknown-freebsd13',
1150- # '' ),
1151- # ( 'clangd-{version}-i386-unknown-freebsd13',
1152- # '' ) ]
1140+ '826c85889a1c288418e2c05b91e40158cde06f2e79f1e951d4983de2652a6d2c' ) ]
11531141 if OnAArch64 ():
11541142 return [
11551143 ( 'clangd-{version}-aarch64-linux-gnu' ,
1156- '2497705a703c0ed5b5ef8717e247b87d084729d6cae20176e0f4dc8e33fff24b ' ) ]
1144+ '79f4a0a20342479c0e29573cf58810e0daabbf00178cf042edf6e1acb20a8602 ' ) ]
11571145 if OnArm ():
11581146 return [
11591147 None , # First list index is for 64bit archives. ARMv7 is 32bit only.
11601148 ( 'clangd-{version}-armv7a-linux-gnueabihf' ,
1161- '615262e7827f0ab273445390d9a0f4d841ba7fc75326483466651a846f4f5586 ' ) ]
1149+ 'e521f21021885aaeb94e631949db6c0a65cc9c5c9c708afe4a42a058eb91ebca ' ) ]
11621150 if OnX86_64 ():
11631151 return [
11641152 ( 'clangd-{version}-x86_64-unknown-linux-gnu' ,
1165- '8bf1177483daf10012f4e98ae4a6eec4f737bd1b6c8823b3b9b4a670479fcf58 ' ) ]
1153+ '51e69f6f5394ed6990cd7d938c53135ef2b5f8d2da1026eb291ffb3c81968847 ' ) ]
11661154 raise InstallationFailed (
11671155 CLANGD_BINARIES_ERROR_MESSAGE .format ( version = CLANGD_VERSION ,
11681156 platform = 'this system' ) )
0 commit comments