added patch to STAT to find MPICXX
This commit is contained in:
		
							
								
								
									
										19
									
								
								var/spack/packages/stat/configure_mpicxx.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								var/spack/packages/stat/configure_mpicxx.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					commit 07ab6e565f939c54fff6580fc8463ea61662871a
 | 
				
			||||||
 | 
					Author: Gregory L. Lee <lee218@llnl.gov>
 | 
				
			||||||
 | 
					Date:   Tue May 20 14:53:35 2014 -0700
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    re-boostrap to update configure
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					diff --git a/configure b/configure
 | 
				
			||||||
 | 
					index 6c4af7d..30901ea 100755
 | 
				
			||||||
 | 
					--- a/configure
 | 
				
			||||||
 | 
					+++ b/configure
 | 
				
			||||||
 | 
					@@ -15529,7 +15529,7 @@ fi
 | 
				
			||||||
 | 
					 done
 | 
				
			||||||
 | 
					 test -n "$MPICC" || MPICC="$CC"
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-  for ac_prog in mpig++ mpiicpc mpxlC mpixlC
 | 
				
			||||||
 | 
					+  for ac_prog in mpig++ mpiCC mpicxx mpiicpc mpxlC mpixlC
 | 
				
			||||||
 | 
					 do
 | 
				
			||||||
 | 
					   # Extract the first word of "$ac_prog", so it can be a program name with args.
 | 
				
			||||||
 | 
					 set dummy $ac_prog; ac_word=$2
 | 
				
			||||||
@@ -14,6 +14,8 @@ class Stat(Package):
 | 
				
			|||||||
    depends_on('launchmon')
 | 
					    depends_on('launchmon')
 | 
				
			||||||
    depends_on('mrnet')
 | 
					    depends_on('mrnet')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    patch('configure_mpicxx.patch', when='@2.1.0:')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def install(self, spec, prefix):
 | 
					    def install(self, spec, prefix):
 | 
				
			||||||
        configure(
 | 
					        configure(
 | 
				
			||||||
            "--enable-gui",
 | 
					            "--enable-gui",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user