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

6 lines
94 B
Bash
Raw Normal View History

2021-07-15 07:55:00 +00:00
#!/bin/sh -eux
major=$(llvm-config --version | cut -d '.' -f1)
llvm-config-$major --version