drivers/gpu/drm/ci/setup-llvm-links.sh

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/ci/setup-llvm-links.sh

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/ci/setup-llvm-links.sh
Extension
.sh
Size
661 bytes
Lines
14
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: drivers/gpu
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#!/usr/bin/env bash
# SPDX-License-Identifier: MIT
set -euo pipefail

ln -svf "$(which clang++-${LLVM_VERSION})"      /usr/bin/clang++
ln -svf "$(which clang-${LLVM_VERSION})"        /usr/bin/clang
ln -svf "$(which ld.lld-${LLVM_VERSION})"       /usr/bin/ld.lld
ln -svf "$(which lld-${LLVM_VERSION})"          /usr/bin/lld
ln -svf "$(which llvm-ar-${LLVM_VERSION})"      /usr/bin/llvm-ar
ln -svf "$(which llvm-nm-${LLVM_VERSION})"      /usr/bin/llvm-nm
ln -svf "$(which llvm-objcopy-${LLVM_VERSION})" /usr/bin/llvm-objcopy
ln -svf "$(which llvm-readelf-${LLVM_VERSION})" /usr/bin/llvm-readelf
ln -svf "$(which llvm-strip-${LLVM_VERSION})"   /usr/bin/llvm-strip

Annotation

Implementation Notes