Move base64simd into a 3rdparty folder

This commit is contained in:
Kovid Goyal 2023-11-14 10:12:03 +05:30
parent cc6dc96c90
commit 56dcbca238
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
61 changed files with 15 additions and 13 deletions

View file

@ -651,8 +651,8 @@ def get_source_specific_defines(env: Env, src: str) -> Tuple[str, List[str], Opt
if not env.vcs_rev:
env.vcs_rev = get_vcs_rev()
return src, [], [f'KITTY_VCS_REV="{env.vcs_rev}"', f'WRAPPED_KITTENS="{wrapped_kittens()}"']
if src.startswith('base64/'):
return src, ['base64',], base64_defines()
if src.startswith('3rdparty/base64/'):
return src, ['3rdparty/base64',], base64_defines()
try:
return src, [], env.library_paths[src]
except KeyError:
@ -804,10 +804,10 @@ def find_c_files() -> Tuple[List[str], List[str]]:
ans.append('kitty/vt-parser-dump.c')
# base64
ans.extend(glob.glob('base64/lib/arch/*/codec.c'))
ans.append('base64/lib/tables/tables.c')
ans.append('base64/lib/codec_choose.c')
ans.append('base64/lib/lib.c')
ans.extend(glob.glob('3rdparty/base64/lib/arch/*/codec.c'))
ans.append('3rdparty/base64/lib/tables/tables.c')
ans.append('3rdparty/base64/lib/codec_choose.c')
ans.append('3rdparty/base64/lib/lib.c')
return ans, headers