hpctoolkit: restrict one patch to :2022 (#44268)
Restrict the hpcrun-fmt.txt patch to :2022. It's fixed in the code after that, and in recent develop, some code paths have moved causing this patch to fail.
This commit is contained in:
		| @@ -234,6 +234,7 @@ class Hpctoolkit(AutotoolsPackage, MesonPackage): | |||||||
| 
 | 
 | ||||||
|     # Fix a bug where make would mistakenly overwrite hpcrun-fmt.h. |     # Fix a bug where make would mistakenly overwrite hpcrun-fmt.h. | ||||||
|     # https://gitlab.com/hpctoolkit/hpctoolkit/-/merge_requests/751 |     # https://gitlab.com/hpctoolkit/hpctoolkit/-/merge_requests/751 | ||||||
|  |     @when("@:2022") | ||||||
|     def patch(self): |     def patch(self): | ||||||
|         with working_dir(join_path("src", "lib", "prof-lean")): |         with working_dir(join_path("src", "lib", "prof-lean")): | ||||||
|             if os.access("hpcrun-fmt.txt", os.F_OK): |             if os.access("hpcrun-fmt.txt", os.F_OK): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Mark W. Krentel
					Mark W. Krentel