gnu: julia-nnlib: Enable tests.
* gnu/packages/julia-xyz.scm (julia-nnlib)[arguments]: Don't skip tests. Rename drop-cuda-support phase to skip-cuda-tests and remove extra call to cuda library.
This commit is contained in:
		
							parent
							
								
									28f0a15be2
								
							
						
					
					
						commit
						d92bd67995
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -2840,13 +2840,13 @@ interface to interact with these types.") | |||
|          (base32 "16vn5w5274kcywh1xp0zqjk5q10xrk125aznz5av6wifwrvghk8s")))) | ||||
|     (build-system julia-build-system) | ||||
|     (arguments | ||||
|      `(#:tests? #f      ; Test suite not updated for ChainRulesTestUtils-1.0. | ||||
|        #:phases | ||||
|      `(#:phases | ||||
|        (modify-phases %standard-phases | ||||
|          (add-after 'unpack 'drop-cuda-support | ||||
|          (add-after 'unpack 'skip-cuda-tests | ||||
|            (lambda _ | ||||
|              (substitute* "test/runtests.jl" | ||||
|                (("using CUDA") "")) | ||||
|                (("using CUDA") "") | ||||
|                (("&& CUDA\\.functional\\(\\)") "")) | ||||
|              (setenv "NNLIB_TEST_CUDA" "false")))))) | ||||
|     (propagated-inputs | ||||
|      `(("julia-adapt" ,julia-adapt) | ||||
|  |  | |||
		Reference in a new issue