oneAPI compiler: update openmp flag (#23771)
This commit is contained in:
		| @@ -49,7 +49,7 @@ def opt_flags(self): | ||||
| 
 | ||||
|     @property | ||||
|     def openmp_flag(self): | ||||
|         return "-qopenmp" | ||||
|         return "-fiopenmp" | ||||
|     # There may be some additional options here for offload, e.g. : | ||||
|     #  -fopenmp-simd           Emit OpenMP code only for SIMD-based constructs. | ||||
|     #  -fopenmp-targets=<value> | ||||
|   | ||||
| @@ -550,7 +550,7 @@ def test_intel_flags(): | ||||
| 
 | ||||
| 
 | ||||
| def test_oneapi_flags(): | ||||
|     supported_flag_test("openmp_flag", "-qopenmp", "oneapi@2020.8.0.0827") | ||||
|     supported_flag_test("openmp_flag", "-fiopenmp", "oneapi@2020.8.0.0827") | ||||
|     supported_flag_test("cxx11_flag", "-std=c++11", "oneapi@2020.8.0.0827") | ||||
|     supported_flag_test("cxx14_flag", "-std=c++14", "oneapi@2020.8.0.0827") | ||||
|     supported_flag_test("c99_flag", "-std=c99", "oneapi@2020.8.0.0827") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Frank Willmore
					Frank Willmore