m4: set times of m4.texi to fix build on Summit GPFS (#26994)

Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
This commit is contained in:
Jon Rood 2021-10-29 08:05:41 -06:00 committed by GitHub
parent fd10e54409
commit 962d06441e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import os
import re
@ -54,8 +55,8 @@ class M4(AutotoolsPackage, GNUMirrorPackage):
@when('@1.4.19')
def patch(self):
""" skip texinfo of m4.info for patched m4.texi (patched only a test in it) """
touch('doc/m4.info')
touch('doc/stamp-vti')
timestamp = os.path.getmtime('doc/m4.info')
os.utime('doc/m4.texi', (timestamp, timestamp))
@classmethod
def determine_version(cls, exe):