<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/95380>95380</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Distribution 'ubuntu' in version '24.10 (Oracular Oriole)' is not supported by this script.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
neatudarius
</td>
</tr>
</table>
<pre>
Hello! Cannot install llvm with `llvm.sh` script on Ubuntu 24.04 arm64 (VM on MAC M2). Is this a known issues?
```
$ sudo ./llvm.sh 19 all
+ CURRENT_LLVM_STABLE=18
+ BASE_URL=http://apt.llvm.org
+ needed_binaries=(lsb_release wget add-apt-repository gpg)
+ missing_binaries=()
+ for binary in "${needed_binaries[@]}"
+ which lsb_release
+ for binary in "${needed_binaries[@]}"
+ which wget
+ for binary in "${needed_binaries[@]}"
+ which add-apt-repository
+ for binary in "${needed_binaries[@]}"
+ which gpg
+ [[ 0 -gt 0 ]]
+ LLVM_VERSION=18
+ ALL=0
++ lsb_release -is
+ DISTRO=Ubuntu
++ lsb_release -sr
+ VERSION=24.10
+ UBUNTU_CODENAME=
+ CODENAME_FROM_ARGUMENTS=
+ source /etc/os-release
++ PRETTY_NAME='Ubuntu Oracular Oriole (development branch)'
++ NAME=Ubuntu
++ VERSION_ID=24.10
++ VERSION='24.10 (Oracular Oriole)'
++ VERSION_CODENAME=oracular
++ ID=ubuntu
++ ID_LIKE=debian
++ HOME_URL=https://www.ubuntu.com/
++ SUPPORT_URL=https://help.ubuntu.com/
++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/
++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
++ UBUNTU_CODENAME=oracular
++ LOGO=ubuntu-logo
+ DISTRO=ubuntu
+ case ${DISTRO} in
+ [[ -n oracular ]]
+ CODENAME=oracular
+ [[ -n oracular ]]
+ LINKNAME=-oracular
+ '[' 2 -ge 1 ']'
+ '[' 1 '!=' - ']'
+ '[' 19 '!=' all ']'
+ LLVM_VERSION=19
+ OPTIND=2
+ '[' 2 -ge 2 ']'
+ '[' all == all ']'
+ ALL=1
+ OPTIND=3
+ getopts :hm:n: arg
+ [[ 0 -ne 0 ]]
+ 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]=-16
+ LLVM_VERSION_PATTERNS[17]=-17
+ LLVM_VERSION_PATTERNS[18]=-18
+ LLVM_VERSION_PATTERNS[19]=
+ '[' '!' _ ']'
+ LLVM_VERSION_STRING=
+ [[ -n oracular ]]
+ REPO_NAME='deb http://apt.llvm.org/oracular/ llvm-toolchain-oracular main'
+ wget -q --method=HEAD http://apt.llvm.org/oracular
+ [[ -n '' ]]
+ echo 'Distribution '\''ubuntu'\'' in version '\''24.10 (Oracular Oriole)'\'' is not supported by this script.'
Distribution 'ubuntu' in version '24.10 (Oracular Oriole)' is not supported by this script.
+ exit 2
$ uname -a
Linux pc 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 02:32:42 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
$ uname -m
aarch64
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8V8mO6joTfhqzKQUlTiDJgkUg0AcdJjG01KvIJG7i_w9Jru00p9_-yhkIU3ezOLoSAlH-arD9VbmKCMEOKaUD1Buint8hhYwzPkgpkUVEOCtEZ59Fn4NfNEkyhA0YkTTNJLBUSJIkkCQfRzgxGQPq6-pPV8Sor4MIOcslZCns9kUqC8BWV7eA8GPfAoSd17lam3sjm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