<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60372>60372</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm.sh does not support version 17 yet
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
danakj
</td>
</tr>
</table>
<pre>
Download https://apt.llvm.org/llvm.sh
Run `./llvm.sh 17 all`
Get error:
```
+ echo 'This script does not support LLVM version 17'
+ exit 3
This script does not support LLVM version 17
```
The script contains this which doesn't include 17, still thinks 16 is the latest. It's possible there is no 17 packages yet as well?
>From the errors I am seeing my tests, I believe that `./llvm.sh 16 all` is indeed grabbing binaries from before the 17 branch point.
```sh
declare -A LLVM_VERSION_PATTERNS
LLVM_VERSION_PATTERNS[9]="-9"
LLVM_VERSION_PATTERNS[10]="-10"
LLVM_VERSION_PATTERNS[11]="-11"
LLVM_VERSION_PATTERNS[12]="-12"
LLVM_VERSION_PATTERNS[13]="-13"
LLVM_VERSION_PATTERNS[14]="-14"
LLVM_VERSION_PATTERNS[15]="-15"
LLVM_VERSION_PATTERNS[16]=""
if [ ! ${LLVM_VERSION_PATTERNS[$LLVM_VERSION]+_} ]; then
echo "This script does not support LLVM version $LLVM_VERSION"
exit 3
fi
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUlN9vIycQx_8a9mUUC4b9ET_sQ1yfq0jXa5WL7jWC3bGXC4YV4KT57yvWdry9S-tWsrDxfPjOVwMzKkazc0Qtq1asWhfqkAYf2l459fy90L5_a9f-1VmvehhSGiOTdww3DDdqTAtrX_YLH3YMN9PPODC-ZvzuuD4cHLCaLy5REA0oa1nN59yvlIBC8CFrH_-v-elz3OIKqBs8MGweBxMhdsGMCXpPEZxPEA_j6EOCz5-__QYvFKLxDkTDsJkJ_GkSyOP-f4l86OgkQ2eVzrukjIuQsvTrYLphUnYMmwTGdfbQ02TpF4jJWJtB9xxB1GDyKQKrEsW0gPvEsIkw-hiNtpRjgTLkfK7fqLpntaMIb5RARXgla5ncwNzYJvj9pDmVNcI9qD1EIuN2sH-DnCdmJ_egyRp6yUlU-umy6tNl5eTG9UQ97ILSOsto41QwFGGbc2na-jBZzRZ1UK4bYPTGpcXc13sVzw-lp86qQHBzN5X96dunh6_3v395-uPu8fHTw5evR-rjULVasmrN5Joh3iwZ4r_Dgl9owa_jYoaL6zjOcLyOyxkur-PlDC-v49UMr67j9Tv-zh5XswVWrYChAIYla1b_JMGwnIeyHq6eWLOGSXqVX4Y7agLAuZnxv_fhjwnOPie1WWdvzQ8vrehb2S_lUhXUirqpeIm4xGJoSWhRV82t1qhI3uqtKOtbrGvJl7ovZV2YFjlKLiTnQgqJi7opt0JrWi5Jik5wVnLaK2Pfx2BhYjxQW3PZYGGVJhunuYro6BWmYDZerYvQ5jM3-rCLrOTWxBQvKskkS-25C3-qy2U05RFQHIJt_z6ZdyYNB73o_P7UzKevmzH479QlhpvJS2S4mbz-FQAA__8YFMFQ">