hpcg: apply patch with openmp pragma changes for intel and oneapi compilers (#37856)
Signed-off-by: Andrey Parfenov <andrey.parfenov@intel.com>
This commit is contained in:
		| @@ -38,6 +38,16 @@ class Hpcg(AutotoolsPackage): | |||||||
|         sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9", |         sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9", | ||||||
|         when="%arm", |         when="%arm", | ||||||
|     ) |     ) | ||||||
|  |     patch( | ||||||
|  |         "https://github.com/hpcg-benchmark/hpcg/commit/e9e0b7e6cae23e1f30dd983c2ce2d3bd34d56f75.patch?full_index=1", | ||||||
|  |         sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9", | ||||||
|  |         when="%oneapi", | ||||||
|  |     ) | ||||||
|  |     patch( | ||||||
|  |         "https://github.com/hpcg-benchmark/hpcg/commit/e9e0b7e6cae23e1f30dd983c2ce2d3bd34d56f75.patch?full_index=1", | ||||||
|  |         sha256="722c13837b287e979442f8372274aa5910a290aa39f1ed1ff646116be08dcae9", | ||||||
|  |         when="%intel", | ||||||
|  |     ) | ||||||
| 
 | 
 | ||||||
|     depends_on("mpi@1.1:") |     depends_on("mpi@1.1:") | ||||||
| 
 | 
 | ||||||
| @@ -50,6 +60,8 @@ def configure(self, spec, prefix): | |||||||
|             not spec.satisfies("%aocc") |             not spec.satisfies("%aocc") | ||||||
|             and not spec.satisfies("%cce") |             and not spec.satisfies("%cce") | ||||||
|             and not spec.satisfies("%arm") |             and not spec.satisfies("%arm") | ||||||
|  |             and not spec.satisfies("%intel") | ||||||
|  |             and not spec.satisfies("%oneapi") | ||||||
|         ): |         ): | ||||||
|             CXXFLAGS += " -ftree-vectorizer-verbose=0 " |             CXXFLAGS += " -ftree-vectorizer-verbose=0 " | ||||||
|         if spec.satisfies("%cce"): |         if spec.satisfies("%cce"): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Andrey Parfenov
					Andrey Parfenov