Skip to content

Commit

Permalink
add temporary exit call
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Jul 28, 2024
1 parent 4d2dc17 commit bef819b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,7 @@ def check_compiler(o):
warn(f'failed to autodetect C++ compiler version (CXX={CXX})')
elif clang_version < (8, 0, 0) if is_clang else gcc_version < (12, 2, 0):
warn(f'C++ compiler (CXX={CXX}, {version_str}) too old, need g++ 12.2.0 or clang++ 8.0.0')
exit(1)

ok, is_clang, clang_version, gcc_version = try_check_compiler(CC, 'c')
version_str = ".".join(map(str, clang_version if is_clang else gcc_version))
Expand Down

0 comments on commit bef819b

Please sign in to comment.