gnu: flexbar: Fix reproducibility bug.
* gnu/packages/bioinformatics.scm (flexbar)[arguments]: Add phase "do-not-tune-to-CPU".
This commit is contained in:
		
							parent
							
								
									d97283c3a6
								
							
						
					
					
						commit
						8aa1ca85ac
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -2715,6 +2715,11 @@ results.  The FASTX-Toolkit tools perform some of these preprocessing tasks.")
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'do-not-tune-to-CPU
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "src/CMakeLists.txt"
 | 
				
			||||||
 | 
					               ((" -march=native") ""))
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
         (replace 'check
 | 
					         (replace 'check
 | 
				
			||||||
           (lambda* (#:key outputs #:allow-other-keys)
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
             (setenv "PATH" (string-append (getcwd) ":" (getenv "PATH")))
 | 
					             (setenv "PATH" (string-append (getcwd) ":" (getenv "PATH")))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue