Restrict link jobs on aarch64

Try to reduce the chances of memory exhaustion when linking mlir on aarch64.
This commit is contained in:
Tulio Magno Quites Machado Filho 2023-09-08 19:27:50 -03:00
parent d5802648fa
commit 40e722027e
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ Requires: python3-numpy
-DBUILD_SHARED_LIBS=OFF \
-DMLIR_INSTALL_AGGREGATE_OBJECTS=OFF \
-DMLIR_BUILD_MLIR_C_DYLIB=ON \
%ifarch %ix86 ppc64le x86_64
%ifarch aarch64 %ix86 ppc64le x86_64
-DLLVM_PARALLEL_LINK_JOBS=1 \
%endif
%ifarch %ix86