Skip to content

Instantly share code, notes, and snippets.

View am009's full-sized avatar

am009 am009

  • Huazhong University of Science and Technology
  • Wuhan, China
  • 12:15 (UTC +08:00)
View GitHub Profile
@am009
am009 / createAliases.sh
Created January 7, 2025 07:37 — forked from tokatoka/createAliases.sh
This scripts creates symlinks for llvm/clang tools so that their version number is removed from executables.
#!/bin/bash
# creates a symbolic link from bin-x.x to bin
# This just strips off last 3 characters when creating a link
LLVMFILES=/usr/bin/llvm*
CLANGFILES=/usr/bin/clang*
LLC=/usr/bin/llc-17
OPT=/usr/bin/opt-17
LLD=/usr/bin/lld-17