Fixes needed to build gcc on Linux/ppc64le (#2057)
* Fixes needed to build gcc on Linux/ppc64le * flake8 fix.
This commit is contained in:
		 Matthew LeGendre
					Matthew LeGendre
				
			
				
					committed by
					
						 Todd Gamblin
						Todd Gamblin
					
				
			
			
				
	
			
			
			 Todd Gamblin
						Todd Gamblin
					
				
			
						parent
						
							4b5281bfe6
						
					
				
				
					commit
					8de143a994
				
			| @@ -66,7 +66,8 @@ def install(self, spec, prefix): | |||||||
|  |  | ||||||
|         enabled_languages = set(('c', 'c++', 'fortran', 'java', 'objc')) |         enabled_languages = set(('c', 'c++', 'fortran', 'java', 'objc')) | ||||||
|  |  | ||||||
|         if spec.satisfies("@4.7.1:") and sys.platform != 'darwin': |         if spec.satisfies("@4.7.1:") and sys.platform != 'darwin' and \ | ||||||
|  |            not (spec.satisfies('@:4.9.3') and 'ppc64le' in spec.architecture): | ||||||
|             enabled_languages.add('go') |             enabled_languages.add('go') | ||||||
|  |  | ||||||
|         # Fix a standard header file for OS X Yosemite that |         # Fix a standard header file for OS X Yosemite that | ||||||
|   | |||||||
| @@ -30,6 +30,8 @@ class Libsigsegv(Package): | |||||||
|     homepage = "https://www.gnu.org/software/libsigsegv/" |     homepage = "https://www.gnu.org/software/libsigsegv/" | ||||||
|     url      = "ftp://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.10.tar.gz" |     url      = "ftp://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.10.tar.gz" | ||||||
|  |  | ||||||
|  |     patch('patch.new_config_guess', when='@2.10') | ||||||
|  |  | ||||||
|     version('2.10', '7f96fb1f65b3b8cbc1582fb7be774f0f') |     version('2.10', '7f96fb1f65b3b8cbc1582fb7be774f0f') | ||||||
|  |  | ||||||
|     def install(self, spec, prefix): |     def install(self, spec, prefix): | ||||||
|   | |||||||
							
								
								
									
										1187
									
								
								var/spack/repos/builtin/packages/libsigsegv/patch.new_config_guess
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1187
									
								
								var/spack/repos/builtin/packages/libsigsegv/patch.new_config_guess
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user