Use gcc 13 for intel compiler 2023
Intel compiler for C++ (icpc) is not able to parse the location of C++ headers from the output of gcc 14, but works fine for gcc 13.
This commit is contained in:
		
							parent
							
								
									d205c64f05
								
							
						
					
					
						commit
						1c56367446
					
				| @ -12,7 +12,7 @@ | |||||||
| , autoPatchelfHook | , autoPatchelfHook | ||||||
| , symlinkJoin | , symlinkJoin | ||||||
| , libfabric | , libfabric | ||||||
| , gcc | , gcc13 | ||||||
| , gcc7 | , gcc7 | ||||||
| , wrapCCWith | , wrapCCWith | ||||||
| , linuxHeaders | , linuxHeaders | ||||||
| @ -413,7 +413,7 @@ let | |||||||
| 
 | 
 | ||||||
|   icx-wrapper = wrapIntel rec { |   icx-wrapper = wrapIntel rec { | ||||||
|     cc = intel-compiler; |     cc = intel-compiler; | ||||||
|     mygcc = gcc; |     mygcc = gcc13; | ||||||
|     extraBuild = '' |     extraBuild = '' | ||||||
|       wrap icx  $wrapper $ccPath/icx |       wrap icx  $wrapper $ccPath/icx | ||||||
|       wrap icpx $wrapper $ccPath/icpx |       wrap icpx $wrapper $ccPath/icpx | ||||||
| @ -432,7 +432,7 @@ let | |||||||
|     # Intel icc classic compiler tries to behave like the gcc found in $PATH. |     # Intel icc classic compiler tries to behave like the gcc found in $PATH. | ||||||
|     # EVEN if it doesn't support some of the features. See: |     # EVEN if it doesn't support some of the features. See: | ||||||
|     # https://community.intel.com/t5/Intel-C-Compiler/builtin-shuffle-GCC-compatibility-and-has-builtin/td-p/1143619 |     # https://community.intel.com/t5/Intel-C-Compiler/builtin-shuffle-GCC-compatibility-and-has-builtin/td-p/1143619 | ||||||
|     mygcc = gcc; |     mygcc = gcc13; | ||||||
|     extraBuild = '' |     extraBuild = '' | ||||||
|       wrap icc  $wrapper $ccPath/icc |       wrap icc  $wrapper $ccPath/icc | ||||||
|       wrap icpc $wrapper $ccPath/icpc |       wrap icpc $wrapper $ccPath/icpc | ||||||
| @ -446,7 +446,7 @@ let | |||||||
| 
 | 
 | ||||||
|   ifort-wrapper = wrapIntel rec { |   ifort-wrapper = wrapIntel rec { | ||||||
|     cc = intel-compiler-fortran; |     cc = intel-compiler-fortran; | ||||||
|     mygcc = gcc; |     mygcc = gcc13; | ||||||
|     extraBuild = '' |     extraBuild = '' | ||||||
|       wrap ifort  $wrapper $ccPath/ifort |       wrap ifort  $wrapper $ccPath/ifort | ||||||
|     ''; |     ''; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user