commit cfaa3167d5c03c40251520fe6b9c1ef0082ffbd4
Author: Jan Palus <[email protected]>
Date:   Wed Jun 1 10:35:39 2022 +0200

    disable memory profiling runtime on x32

 llvm.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/llvm.spec b/llvm.spec
index 68eeda2..2b2073b 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -753,7 +753,12 @@ export LDFLAGS="%{rpmldflags} 
-Wl,--reduce-memory-overheads"
 %if %{with polly}
        %{cmake_on_off target_nvptx POLLY_ENABLE_GPGPU_CODEGEN} \
 %endif
-       -DSPHINX_WARNINGS_AS_ERRORS=OFF
+       -DSPHINX_WARNINGS_AS_ERRORS=OFF \
+%if %{with rt}
+%ifarch x32
+       -DCOMPILER_RT_BUILD_MEMPROF:BOOL=OFF
+%endif
+%endif
 
 %{__make} \
        VERBOSE=1 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/cfaa3167d5c03c40251520fe6b9c1ef0082ffbd4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to