Skip to content

Commit ca6089b

Browse files
authored
List the Embree headers individually in binding.yml (#7)
List the Embree headers individually in binding.yml
2 parents 26ac6af + 20bc01d commit ca6089b

1 file changed

Lines changed: 44 additions & 2 deletions

File tree

binding.yml

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,52 @@ upstream:
2727
track: stable
2828
current: v4.4.1
2929

30+
# One entry per header rather than the directory, which is what this used to be. A
31+
# directory source is compared by hashing everything under `path`, and this tree can
32+
# never match upstream's: include/embree4 also carries eight .isph files for ISPC, which
33+
# this binding does not use, and it carries a rtcore_config.h that upstream does not have
34+
# (see the NOTE below). The comparison therefore reported "sources changed" on every run,
35+
# even with the release sitting still — which fails the CD's native-coherence guard and
36+
# would have the binding-updater open a pull request every month for nothing.
37+
#
38+
# Listed individually, each source is hashed as a single file, so what is not listed is
39+
# simply not compared.
3040
sources:
3141
- repo: RenderKit/embree
32-
remote-path: include/embree4
33-
path: EmbreeGen/Headers/embree4
42+
remote-path: include/embree4/rtcore.h
43+
path: EmbreeGen/Headers/embree4/rtcore.h
44+
format: c-header
45+
- repo: RenderKit/embree
46+
remote-path: include/embree4/rtcore_common.h
47+
path: EmbreeGen/Headers/embree4/rtcore_common.h
48+
format: c-header
49+
- repo: RenderKit/embree
50+
remote-path: include/embree4/rtcore_device.h
51+
path: EmbreeGen/Headers/embree4/rtcore_device.h
52+
format: c-header
53+
- repo: RenderKit/embree
54+
remote-path: include/embree4/rtcore_buffer.h
55+
path: EmbreeGen/Headers/embree4/rtcore_buffer.h
56+
format: c-header
57+
- repo: RenderKit/embree
58+
remote-path: include/embree4/rtcore_ray.h
59+
path: EmbreeGen/Headers/embree4/rtcore_ray.h
60+
format: c-header
61+
- repo: RenderKit/embree
62+
remote-path: include/embree4/rtcore_geometry.h
63+
path: EmbreeGen/Headers/embree4/rtcore_geometry.h
64+
format: c-header
65+
- repo: RenderKit/embree
66+
remote-path: include/embree4/rtcore_scene.h
67+
path: EmbreeGen/Headers/embree4/rtcore_scene.h
68+
format: c-header
69+
- repo: RenderKit/embree
70+
remote-path: include/embree4/rtcore_builder.h
71+
path: EmbreeGen/Headers/embree4/rtcore_builder.h
72+
format: c-header
73+
- repo: RenderKit/embree
74+
remote-path: include/embree4/rtcore_quaternion.h
75+
path: EmbreeGen/Headers/embree4/rtcore_quaternion.h
3476
format: c-header
3577

3678
generator:

0 commit comments

Comments
 (0)