Add ACES CMS regression coverage and 1.8.0 Release candidate; 527 native checks passed

这个提交包含在:
mac 于 2026-11-03 12:51:23 +08:00 提交
1 父节点 bb5ede7be4
当前提交 54e68b4810
21 个文件已更改
+143 -51

没有与搜索条件相匹配的文件

+11 -4
查看文件
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""Build the pinned, ARC-isolated CMS bridge and a deterministic Xcode link file."""
from pathlib import Path
import hashlib, json, os, subprocess, sys, fcntl
import hashlib, json, os, subprocess, sys, fcntl, shutil
ROOT=Path(__file__).resolve().parent
sys.path.insert(0,str(ROOT/'Tools'))
from build_ocio import build
@@ -22,9 +22,16 @@ def prepare():
subprocess.run(args,check=True);objects.append(str(obj))
subprocess.run(['xcrun','libtool','-static','-o',str(library),*objects],check=True)
stamp.write_text(json.dumps(dict(key=key,librarySHA256=hashlib.sha256(library.read_bytes()).hexdigest()),indent=2)+'\n')
frameworks=['CoreGraphics','CoreImage','ColorSync','IOKit']
args=['-ObjC',str(library),*runtime['libraries']]
frameworks=['Metal','CoreGraphics','CoreImage','ColorSync','IOKit']
args=['-Wl,-ObjC',str(library),*runtime['libraries']]
for name in frameworks:args+=['-framework',name]
response=CACHE/'bridge-link.rsp';response.write_text('\n'.join('"'+s.replace('"','\\"')+'"' for s in args)+'\n')
return str(response)
if __name__=='__main__':print(prepare())
if __name__=='__main__':
print(prepare())
if len(sys.argv)>1:
destination=Path(sys.argv[1])/'ColorManagement';destination.mkdir(parents=True,exist_ok=True)
source=ROOT/'ThirdParty/ColorManagement'
shutil.copytree(source/'licenses',destination/'licenses',dirs_exist_ok=True,ignore=shutil.ignore_patterns('._*'))
for name in ['dependencies.lock.json','README.md']:shutil.copy2(source/name,destination/name)
shutil.copy2(ROOT/'PROVENANCE.json',destination/'PROVENANCE.json')