mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Build libclang-cpp.so separately to avoid OOM errors
We were running out of memory linking this on the ppc64le COPR builders.
This commit is contained in:
parent
4db7fe1bea
commit
766f32331f
1 changed files with 4 additions and 0 deletions
|
@ -203,6 +203,10 @@ cd llvm
|
|||
# builders without having to artificially limit the number of concurrent jobs.
|
||||
%cmake_build --target LLVM
|
||||
|
||||
# Also build libclang-cpp.so separately to avoid OOM errors.
|
||||
# This is to fix occasional OOM errors on the ppc64le COPR builders.
|
||||
%cmake_build --target libclang-cpp.so
|
||||
|
||||
%cmake_build
|
||||
|
||||
# If we don't build the runtimes target here, we'll have to wait for the %check
|
||||
|
|
Loading…
Reference in a new issue