llvm/tests/versioned-llvm-config/test.sh
2021-09-15 08:01:11 +02:00

5 lines
94 B
Bash
Executable file

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