llvm/tests/versioned-llvm-config/test.sh

6 lines
94 B
Bash
Executable File

#!/bin/sh -eux
major=$(llvm-config --version | cut -d '.' -f1)
llvm-config-$major --version