gnu: vc: Do not optimize for the build machine CPU.
* gnu/packages/maths.scm (vc)[arguments]: Add "-DTARGET_ARCHITECTURE=none" to #:configure-flags.
This commit is contained in:
		
							parent
							
								
									17f93ba122
								
							
						
					
					
						commit
						33d82486d5
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -3539,7 +3539,11 @@ supports compressed MAT files, as well as newer (version 7.3) MAT files.")
 | 
			
		|||
    (build-system cmake-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     '(#:configure-flags
 | 
			
		||||
       '("-DBUILD_TESTING=ON")))
 | 
			
		||||
       '("-DBUILD_TESTING=ON"
 | 
			
		||||
         ;; By default, Vc will optimize for the CPU of the build machine.
 | 
			
		||||
         ;; Setting this to "none" makes it create portable binaries.  See
 | 
			
		||||
         ;; "cmake/OptimizeForArchitecture.cmake".
 | 
			
		||||
         "-DTARGET_ARCHITECTURE=none")))
 | 
			
		||||
    (synopsis "SIMD vector classes for C++")
 | 
			
		||||
    (description "Vc provides portable, zero-overhead C++ types for explicitly
 | 
			
		||||
data-parallel programming.  It is a library designed to ease explicit
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue