Skip to content

Commit

Permalink
work around broken LLVM releases
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Jul 23, 2024
1 parent f62040a commit 76d3d55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion features/src/llvm/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "LLVM compilers and tools",
"id": "llvm",
"version": "24.8.1",
"version": "24.8.2",
"description": "A feature to install LLVM compilers and tools",
"options": {
"version": {
Expand Down
5 changes: 5 additions & 0 deletions features/src/llvm/llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ LLVM_VERSION_STRING=${LLVM_VERSION_PATTERNS[$LLVM_VERSION]}

# join the repository name
if [[ -n "${CODENAME}" ]]; then

if ! curl -fsSL "https://apt.llvm.org/${CODENAME}/dists/llvm-toolchain${LINKNAME}${LLVM_VERSION_STRING}/Release" >/dev/null 2>&1; then
LLVM_VERSION_STRING="";
fi

REPO_NAME="deb ${BASE_URL}/${CODENAME}/ llvm-toolchain${LINKNAME}${LLVM_VERSION_STRING} main"

# check if the repository exists for the distro and version
Expand Down

0 comments on commit 76d3d55

Please sign in to comment.