Merge pull request #401 from trws/cmocka
adding the cmocka unit testing library
This commit is contained in:
		
							
								
								
									
										16
									
								
								var/spack/repos/builtin/packages/cmocka/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								var/spack/repos/builtin/packages/cmocka/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| from spack import * | ||||
|  | ||||
| class Cmocka(Package): | ||||
|     """Unit-testing framework in pure C""" | ||||
|     homepage = "https://cmocka.org/" | ||||
|     url      = "https://cmocka.org/files/1.0/cmocka-1.0.1.tar.xz" | ||||
|  | ||||
|     version('1.0.1', 'ed861e501a21a92b2af63e466df2015e') | ||||
|     parallel = False | ||||
|  | ||||
|     def install(self, spec, prefix): | ||||
|         with working_dir('spack-build', create=True): | ||||
| 	    cmake('..', *std_cmake_args) | ||||
|  | ||||
| 	    make() | ||||
| 	    make("install") | ||||
		Reference in New Issue
	
	Block a user
	 Todd Gamblin
					Todd Gamblin