set .NOTPARALLEL for AMDGPU tblgen files to tame memory usage on i386
authorrobert <robert@openbsd.org>
Thu, 16 Nov 2023 15:05:44 +0000 (15:05 +0000)
committerrobert <robert@openbsd.org>
Thu, 16 Nov 2023 15:05:44 +0000 (15:05 +0000)
ok deraadt@

gnu/usr.bin/clang/include/llvm/AMDGPU/Makefile

index 6a68075..2abacfe 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/12/17 14:55:44 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2023/11/16 15:05:44 robert Exp $
 
 .include <bsd.own.mk>
 
@@ -33,6 +33,10 @@ HDRS+=       R600GenAsmWriter.inc \
 
 HDRS+= InstCombineTables.inc
 
+.if ${MACHINE_CPU} == "i386"
+.NOTPARALLEL: ${HDRS}
+.endif
+
 all: ${HDRS}
 
 install: