v4 mkf18a: import nucleus NAME -- hash 0, the effect from the nucleus (task 4, part 1)
mkf18a takes nucleus=SYSDIR, assembles the nucleus as the ROM does and looks NAME up by its dictionary name; a word in line there, or one with no fixed effect, is refused (plan section 12, rulings 3 and 4). test_mkf18a: 5 new checks failed first, 93 pass at both widths. Its build now has the host node's size, as the tool's has: the nucleus did not fit a mesh node's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
+2
-2
@@ -440,13 +440,13 @@ $(BINDIR)/mkf18a-$(1): $(HERE)/tools/mkf18a.c $$(F18A_DEPS)
|
||||
|
||||
$(BINDIR)/$(1)-test_mkf18a: $(HERE)/tests/test_mkf18a.c $$(F18A_DEPS)
|
||||
@mkdir -p $(BINDIR)
|
||||
$$(CC) $$(CFLAGS) -I$(HERE)/include $(F18A_INC) -DV4_CELL_BITS=$(1) -DSCRATCH='"$(BINDIR)/scratch-mkf18a-$(1)"' -DV4_ROOT='"$(HERE)"' \
|
||||
$$(CC) $$(CFLAGS) -I$(HERE)/include $(F18A_INC) -DV4_CELL_BITS=$(1) $(HOST_DEFS) -DSCRATCH='"$(BINDIR)/scratch-mkf18a-$(1)"' -DV4_ROOT='"$(HERE)"' -DV4_SYS_DIR='"$(SYS_DIR)"' \
|
||||
$(HERE)/tests/test_mkf18a.c $(F18A_SRCS) $$(SRCS) -o $$@
|
||||
|
||||
$(BINDIR)/san-$(1)-test_mkf18a: $(HERE)/tests/test_mkf18a.c $$(F18A_DEPS)
|
||||
@mkdir -p $(BINDIR)
|
||||
$$(CC) $$(CSTD) $$(WARN) -O1 -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize-recover=all \
|
||||
-I$(HERE)/include $(F18A_INC) -DV4_CELL_BITS=$(1) -DSCRATCH='"$(BINDIR)/scratch-san-mkf18a-$(1)"' -DV4_ROOT='"$(HERE)"' \
|
||||
-I$(HERE)/include $(F18A_INC) -DV4_CELL_BITS=$(1) $(HOST_DEFS) -DSCRATCH='"$(BINDIR)/scratch-san-mkf18a-$(1)"' -DV4_ROOT='"$(HERE)"' -DV4_SYS_DIR='"$(SYS_DIR)"' \
|
||||
$(HERE)/tests/test_mkf18a.c $(F18A_SRCS) $$(SRCS) -o $$@
|
||||
|
||||
.PHONY: mkf18a-$(1) san-mkf18a-$(1)
|
||||
|
||||
Reference in New Issue
Block a user