mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Pass the LLVM diagnostic style within swift_build_sdk_interfaces.py
Some versions of Python are unhappy with the Unicode the new diagnostic formatter produces. For now, disable in one of the Python scripts where we detect this.
This commit is contained in:
@@ -271,6 +271,10 @@ def process_module(module_file):
|
||||
if module_file.name == STDLIB_NAME:
|
||||
command_args += ('-parse-stdlib',)
|
||||
|
||||
# FIXME: Some Python installations are unable to handle Unicode
|
||||
# properly. Narrow this once we figure out how to detect them.
|
||||
command_args += ('-diagnostic-style', 'llvm')
|
||||
|
||||
if looks_like_iosmac(interface_base):
|
||||
for system_framework_path in args.iosmac_system_framework_dirs:
|
||||
command_args += ('-Fsystem', system_framework_path)
|
||||
|
||||
Reference in New Issue
Block a user