Commit 0aaa7a1
committed
fix(ds4): link new ds4_ssd translation unit after upstream bump
The antirez/ds4 bump to c463029c split the SSD expert-cache into its own
ds4_ssd.c translation unit (mirroring the earlier ds4_distributed.c split).
ds4.c/ds4_cpu.o now reference ds4_ssd_memory_lock_acquire/release,
ds4_ssd_cache_experts_for_byte_budget and ds4_ssd_auto_cache_plan, which
live in ds4_ssd.o. Without linking it the ds4-worker (and grpc-server)
targets fail at link time with undefined references, breaking the cpu-ds4
and cublas backend builds.
Build ds4_ssd.o via upstream's Makefile and append it to DS4_OBJS for every
GPU mode (it is GPU-agnostic, like ds4_distributed.o).
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Assisted-by: Claude:opus-4.8 [Claude Code]1 parent 7400f11 commit 0aaa7a1
2 files changed
Lines changed: 15 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
| 59 | + | |
59 | 60 | | |
60 | | - | |
| 61 | + | |
61 | 62 | | |
62 | | - | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments