gnu: z3: Fix build determinism.
* gnu/packages/maths.scm (z3)[arguments]: Add a phase to set PYTHONHASHSEED=0.
This commit is contained in:
		
							parent
							
								
									04950d1ff6
								
							
						
					
					
						commit
						8b87d095b3
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -4210,6 +4210,10 @@ as equations, scalars, vectors, and matrices.") | |||
|                   (guix build utils)) | ||||
|        #:phases | ||||
|        (modify-phases %standard-phases | ||||
|          (add-after 'unpack 'enable-bytecode-determinism | ||||
|            (lambda _ | ||||
|              (setenv "PYTHONHASHSEED" "0") | ||||
|              #t)) | ||||
|          (add-after 'unpack 'fix-compatability | ||||
|            ;; Versions after 4.8.3 have immintrin.h IFDEFed for Windows only. | ||||
|            (lambda _ | ||||
|  |  | |||
		Reference in a new issue