gnu: llvm-16: Fix building on i686-linux.
* gnu/packages/llvm.scm (llvm-16)[arguments]: Skip the make-dynamic-linker-phase on i686-linux. Change-Id: I38c134d246859d7fc6025e2ed1c3f29d845a7d82
This commit is contained in:
		
							parent
							
								
									428c841918
								
							
						
					
					
						commit
						69f9a43c87
					
				
					 1 changed files with 9 additions and 1 deletions
				
			
		| 
						 | 
					@ -1387,7 +1387,15 @@ Library.")
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (inherit llvm-15)
 | 
					    (inherit llvm-15)
 | 
				
			||||||
    (version "16.0.6")
 | 
					    (version "16.0.6")
 | 
				
			||||||
    (source (llvm-monorepo version))))
 | 
					    (source (llvm-monorepo version))
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     (substitute-keyword-arguments (package-arguments llvm-15)
 | 
				
			||||||
 | 
					       ;; The build daemon goes OOM on i686-linux on this phase.
 | 
				
			||||||
 | 
					       ((#:phases phases #~'%standard-phases)
 | 
				
			||||||
 | 
					        (if (target-x86-32?)
 | 
				
			||||||
 | 
					            #~(modify-phases #$phases
 | 
				
			||||||
 | 
					                (delete 'make-dynamic-linker-cache))
 | 
				
			||||||
 | 
					            phases))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public clang-runtime-16
 | 
					(define-public clang-runtime-16
 | 
				
			||||||
  (clang-runtime-from-llvm llvm-16))
 | 
					  (clang-runtime-from-llvm llvm-16))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue