File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,8 @@ typeart_configure_coverage_script(llvm-gcov.sh.in llvm-gcov.sh)
181181
182182typeart_configure_script(opt-shim.in opt-shim)
183183
184+ typeart_find_llvm_progs(TYPEART_LLVMCONFIG_COMMAND "llvm-config-${LLVM_VERSION_MAJOR} ;llvm-config"
185+ HINTS /usr/lib/llvm-${LLVM_VERSION_MAJOR} /bin/)
184186typeart_configure_script(typeart-tmpl.sh.in run.sh
185187 OPT ON )
186188typeart_configure_script(typeart-tmpl.sh.in apply.sh
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ function global_init() {
132132 readonly typeart_interceptor=" @TYPEART_MPI_INTERCEPT_DIR@/@TYPEART_MPI_TOOL@"
133133 fi
134134
135- readonly llvm_sys_libs=$( llvm-config --system-libs)
135+ readonly llvm_sys_libs=$( @TYPEART_LLVMCONFIG_COMMAND@ --system-libs)
136136
137137 readonly typeart_has_interceptor=" @TYPEART_HAS_MPI_TOOL@"
138138
You can’t perform that action at this time.
0 commit comments