gnu: ghc-hmatrix: Switch to openblas.
* gnu/packages/haskell-xyz.scm (ghc-hmatrix): Switch input dependency from lapack to openblas. Add configure flags. Change-Id: Ic8924b1fb9fa61af16abd1ac2a22c82a352a8e1b Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									55d48b9a2f
								
							
						
					
					
						commit
						c89591014b
					
				
					 1 changed files with 3 additions and 6 deletions
				
			
		|  | @ -5325,18 +5325,15 @@ Accounting.") | |||
|     (build-system haskell-build-system) | ||||
|     (properties '((upstream-name . "hmatrix"))) | ||||
|     (arguments | ||||
|      `(#:extra-directories ("lapack"))) | ||||
|      `(#:configure-flags '("--flags=openblas") | ||||
|        #:extra-directories ("openblas"))) | ||||
|     (inputs | ||||
|      (list ghc-random | ||||
|            ghc-split | ||||
|            ghc-storable-complex | ||||
|            ghc-semigroups | ||||
|            ghc-vector | ||||
|            ;;("openblas" ,openblas) | ||||
|            lapack)) | ||||
|     ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which | ||||
|     ;; disables inclusion of the LAPACK functions. | ||||
|     ;; (arguments `(#:configure-flags '("--flags=openblas"))) | ||||
|            openblas)) | ||||
|     (home-page "https://github.com/albertoruiz/hmatrix") | ||||
|     (synopsis "Haskell numeric linear algebra library") | ||||
|     (description "The HMatrix package provices a Haskell library for | ||||
|  |  | |||
		Reference in a new issue