Skip to content

Commit 517ca40

Browse files
committed
fixed tinkerd final
1 parent 60182b4 commit 517ca40

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/test-tinker.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,8 @@ jobs:
153153
154154
# Force inclusion of critical objects that might be missing from OBJS or libtinker.a target
155155
# The linker error "undefined reference to __potent_MOD_use_geom" means potent.o is missing
156-
grep -q "potent.o" Makefile || echo "OBJS += potent.o" >> Makefile
157-
grep -q "action.o" Makefile || echo "OBJS += action.o" >> Makefile
158-
grep -q "energi.o" Makefile || echo "OBJS += energi.o" >> Makefile
159-
grep -q "boxes.o" Makefile || echo "OBJS += boxes.o" >> Makefile
156+
# We append them unconditionally to OBJS to be safe (grep can fail on partial matches like "potential.o")
157+
echo "OBJS += potent.o action.o energi.o boxes.o" >> Makefile
160158
161159
# Ensure OBJS is used in libtinker.a target
162160
# Some Makefiles list objects explicitly in the ar command, which might be incomplete

0 commit comments

Comments
 (0)