Lbann flags (#5747)
* Fixed the datatype flag in the LBANN package. Also added develop version to OpenBLAS. * Fixed where the datatype flag should be set.
This commit is contained in:
		 Brian Van Essen
					Brian Van Essen
				
			
				
					committed by
					
						 Christoph Junghans
						Christoph Junghans
					
				
			
			
				
	
			
			
			 Christoph Junghans
						Christoph Junghans
					
				
			
						parent
						
							f2a6685d8c
						
					
				
				
					commit
					bd185b8146
				
			| @@ -60,9 +60,6 @@ def cmake_args(self): | ||||
|         CPPFLAGS = [] | ||||
|         CPPFLAGS.append('-DLBANN_SET_EL_RNG') | ||||
|  | ||||
|         CPPFLAGS.append('-DLBANN_DATATYPE={0}'.format( | ||||
|             int(spec.variants['dtype'].value))) | ||||
|  | ||||
|         args = [ | ||||
|             '-DCMAKE_INSTALL_MESSAGE=LAZY', | ||||
|             '-DCMAKE_CXX_FLAGS=%s' % ' '.join(CPPFLAGS), | ||||
| @@ -77,6 +74,7 @@ def cmake_args(self): | ||||
|             '-DELEMENTAL_MATH_LIBS={0}'.format( | ||||
|                 spec['elemental'].libs), | ||||
|             '-DSEQ_INIT:BOOL=%s' % ('+seq_init' in spec), | ||||
|             '-DDATATYPE={0}'.format(int(spec.variants['dtype'].value)), | ||||
|             '-DVERBOSE=0', | ||||
|             '-DLBANN_HOME=.', | ||||
|             '-DLBANN_VER=spack'] | ||||
|   | ||||
| @@ -33,6 +33,7 @@ class Openblas(MakefilePackage): | ||||
|     homepage = 'http://www.openblas.net' | ||||
|     url = 'http://github.com/xianyi/OpenBLAS/archive/v0.2.19.tar.gz' | ||||
|  | ||||
|     version('develop', git='https://github.com/xianyi/OpenBLAS.git', branch="develop") | ||||
|     version('0.2.20', '48637eb29f5b492b91459175dcc574b1') | ||||
|     version('0.2.19', '28c998054fd377279741c6f0b9ea7941') | ||||
|     version('0.2.18', '805e7f660877d588ea7e3792cda2ee65') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user