Skip to content

Instantly share code, notes, and snippets.

@angelz913
Last active June 6, 2024 14:34
Show Gist options
  • Save angelz913/4a1b72d5d073b8c7969bf0c214fabcb1 to your computer and use it in GitHub Desktop.
Save angelz913/4a1b72d5d073b8c7969bf0c214fabcb1 to your computer and use it in GitHub Desktop.

Table of Contents

  1. Linux
  2. LLVM
  3. MLIR

Linux

Search for a file in a specific directory

find $DIR -name ...

Search keyword in a specific directory

grep -r ... $DIR

LLVM

Building LLVM

cd ~/llvm/llvm-project/build
cmake --build .

MLIR

Run all MLIR tests

cd ~/llvm/llvm-project/build
cmake --build . --target check-mlir

Run integration tests

cd ~/llvm/llvm-project/build
cmake --build . --target check-mlir-integration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment