mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-30 13:24:19 +00:00
Dont sort on mtime
Files are built in order by size anyway and mtime sort makes link order mtime dependent which breaks reproducible builds on openSUSE as they modify mtimes randomnly. See #1804
This commit is contained in:
parent
b6fb087d7e
commit
c30c21b250
1 changed files with 0 additions and 3 deletions
3
setup.py
3
setup.py
|
|
@ -528,9 +528,6 @@ def find_c_files():
|
|||
ans.append(os.path.join('kitty', x))
|
||||
elif ext == '.h':
|
||||
headers.append(os.path.join('kitty', x))
|
||||
ans.sort(
|
||||
key=lambda x: os.path.getmtime(x), reverse=True
|
||||
)
|
||||
ans.append('kitty/parser_dump.c')
|
||||
return tuple(ans), tuple(headers)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue