Skip to content

Commit 8e357df

Browse files
committed
[embedded] Fix Python lint issues in llvm.py
1 parent 38bcffa commit 8e357df

File tree

1 file changed

+4
-2
lines changed
  • utils/swift_build_support/swift_build_support/products

1 file changed

+4
-2
lines changed

utils/swift_build_support/swift_build_support/products/llvm.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,12 @@ def copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain(
185185
elif self.args.verbose_build:
186186
print('no file exists at {}', host_sim_lib_path)
187187

188-
os.makedirs(os.path.join(dest_builtins_dir, 'macho_embedded'), exist_ok=True)
188+
os.makedirs(os.path.join(dest_builtins_dir, 'macho_embedded'),
189+
exist_ok=True)
189190
for _flavor in ['hard_pic', 'hard_static', 'soft_pic', 'soft_static']:
190191
# Copy over the macho_embedded .a when necessary
191-
lib_name = os.path.join('macho_embedded', 'libclang_rt.{}.a'.format(_flavor))
192+
lib_name = os.path.join('macho_embedded', 'libclang_rt.{}.a'.format(
193+
_flavor))
192194
host_lib_path = os.path.join(host_cxx_builtins_dir, lib_name)
193195
dest_lib_path = os.path.join(dest_builtins_dir, lib_name)
194196
if not os.path.isfile(dest_lib_path):

0 commit comments

Comments
 (0)