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

6 lines
94 B
Bash
Executable File

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