diff options
author | Jack Lloyd <[email protected]> | 2018-03-01 13:57:51 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-01 13:57:51 -0500 |
commit | 1cb5e213a60c789f47576630224acbecb7e84e92 (patch) | |
tree | ce2157d73779b4f7a4b1815e327d554ebfc1c466 | |
parent | 8661f69ad6c0f6f01eb4e41a2ae2d1a45522de70 (diff) |
Confirm arch wordsize is expected in configure
-rwxr-xr-x | configure.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.py b/configure.py index b80f65017..87cca54ce 100755 --- a/configure.py +++ b/configure.py @@ -1001,6 +1001,9 @@ class ArchInfo(InfoObject): self.isa_extensions = lex.isa_extensions self.wordsize = int(lex.wordsize) + if self.wordsize not in [32, 64]: + logging.error('Unexpected wordsize %d for arch %s', self.wordsize, infofile) + alphanumeric = re.compile('^[a-z0-9]+$') for isa in self.isa_extensions: if alphanumeric.match(isa) is None: |