Identify the new generation of flang that comes with LLVM17
This commit is contained in:
		
							parent
							
								
									c2f4bdbbb4
								
							
						
					
					
						commit
						f2c9ae9c33
					
				
							
								
								
									
										9
									
								
								f_check
								
								
								
								
							
							
						
						
									
										9
									
								
								f_check
								
								
								
								
							|  | @ -101,7 +101,14 @@ else | ||||||
|                         *flang*) |                         *flang*) | ||||||
|                             vendor=FLANG |                             vendor=FLANG | ||||||
|                             openmp='-fopenmp' |                             openmp='-fopenmp' | ||||||
|                             ;; | 			    data=`$compiler -v 2>&1 > /dev/null ` | ||||||
|  |                 	    v="${data#*version *}" | ||||||
|  |                 	    v="${v%%*.}" | ||||||
|  |                 	    major="${v%%.*}" | ||||||
|  |                 	    if [ "$major" -ge 17 ]; then | ||||||
|  |                         	vendor=FLANGNEW | ||||||
|  | 			    fi	 | ||||||
|  | 			;; | ||||||
|                         *ifort*|*ifx*) |                         *ifort*|*ifx*) | ||||||
|                             vendor=INTEL |                             vendor=INTEL | ||||||
|                             openmp='-fopenmp' |                             openmp='-fopenmp' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue