[CI] Made build-wheels compatible with system LLVM setup (#138)

This speeds up wheelhouse build time by ~10x
This commit is contained in:
Philippe Tillet
2021-07-22 18:03:51 -07:00
committed by Philippe Tillet
parent 8eb63bcb01
commit 76c6f24fb6
7 changed files with 20 additions and 12 deletions

View File

@@ -33,12 +33,12 @@
# We also want an user-specified LLVM_ROOT_DIR to take precedence over the
# system default locations such as /usr/local/bin. Executing find_program()
# multiples times is the approach recommended in the docs.
set(llvm_config_names llvm-config-12.0 llvm-config120 llvm-config-12
llvm-config-11.0 llvm-config110 llvm-config-11
llvm-config-10.0 llvm-config100 llvm-config-10
llvm-config-9.0 llvm-config90 llvm-config-9
llvm-config-8.0 llvm-config80 llvm-config-8
llvm-config-7.0 llvm-config70 llvm-config-7
set(llvm_config_names llvm-config-12.0 llvm-config120 llvm-config-12 llvm-config-12-64
llvm-config-11.0 llvm-config110 llvm-config-11 llvm-config-11-64
llvm-config-10.0 llvm-config100 llvm-config-10 llvm-config-10-64
llvm-config-9.0 llvm-config90 llvm-config-9 llvm-config-9-64
llvm-config-8.0 llvm-config80 llvm-config-8 llvm-config-8-64
llvm-config-7.0 llvm-config70 llvm-config-7 llvm-config-7-64
llvm-config-6.0 llvm-config60
llvm-config)
find_program(LLVM_CONFIG