565 |
ncpus="$max_cpus" |
ncpus="$max_cpus" |
566 |
fi |
fi |
567 |
|
|
568 |
|
# (tv) remove once reenabling llvm12: |
569 |
|
CONF=/usr/bin/llvm-config* |
570 |
|
|
571 |
%configure --disable-option-checking \ |
%configure --disable-option-checking \ |
572 |
--libdir=%{common_libdir} \ |
--libdir=%{common_libdir} \ |
573 |
--build=%{rust_triple} --host=%{rust_triple} --target=%{target_triple} \ |
--build=%{rust_triple} --host=%{rust_triple} --target=%{target_triple} \ |
576 |
%{!?with_bundled_llvm: --llvm-root=%{llvm_root} \ |
%{!?with_bundled_llvm: --llvm-root=%{llvm_root} \ |
577 |
%{!?llvm_has_filecheck: --disable-codegen-tests} \ |
%{!?llvm_has_filecheck: --disable-codegen-tests} \ |
578 |
%{!?with_llvm_static: --enable-llvm-link-shared } } \ |
%{!?with_llvm_static: --enable-llvm-link-shared } } \ |
579 |
|
--llvm-config=$CONF \ |
580 |
--disable-rpath \ |
--disable-rpath \ |
581 |
%{enable_debuginfo} \ |
%{enable_debuginfo} \ |
582 |
--enable-extended \ |
--enable-extended \ |