diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-01-08 01:38:14 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-01-08 01:38:14 +0900 |
| commit | fc1782f7c71d12f30f24bc8633259ea1525a96b0 (patch) | |
| tree | 3af2bfaf7538d4266c8644a133446d7e2172d815 | |
| parent | 6fb22b73b46a8d6c9d1dfc6302760b4c218f0645 (diff) | |
| download | ducc-fc1782f7c71d12f30f24bc8633259ea1525a96b0.tar.gz ducc-fc1782f7c71d12f30f24bc8633259ea1525a96b0.tar.zst ducc-fc1782f7c71d12f30f24bc8633259ea1525a96b0.zip | |
chore: remove "just build-upto-5-gen" recipe
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | README.md | 12 | ||||
| -rw-r--r-- | justfile | 11 | ||||
| -rw-r--r-- | src/cli.c | 4 |
4 files changed, 9 insertions, 26 deletions
@@ -26,13 +26,13 @@ $(BUILD_DIR): @mkdir -p $(BUILD_DIR) # TODO: provide release build? -# TODO: use --std=c23 instead of --std=gnu23 +# TODO: use -std=c23 instead of -std=gnu23 $(BUILD_ROOT_DIR)/$(TARGET): $(OBJECTS) - $(CC) -Wall -MMD -g -O0 --std=gnu23 -o $@ $^ + $(CC) -Wall -MMD -g -O0 -std=gnu23 -o $@ $^ # TODO: provide release build? -# TODO: use --std=c23 instead of --std=gnu23 +# TODO: use -std=c23 instead of -std=gnu23 $(BUILD_DIR)/%.o: src/%.c - $(CC) -c $(CFLAGS) -Wall -MMD -g -O0 --std=gnu23 -o $@ $< + $(CC) -c $(CFLAGS) -Wall -MMD -g -O0 -std=gnu23 -o $@ $< -include $(BUILD_DIR)/*.d @@ -33,10 +33,8 @@ $ nix develop ``` $ just build -``` - -``` -$ just build-upto-5-gen +$ just build 2 +$ just build 3 ``` @@ -44,13 +42,7 @@ $ just build-upto-5-gen ``` $ just test -``` - -``` $ just test-self-hosted -``` - -``` $ just test-all ``` @@ -16,17 +16,8 @@ build N="1": fi CC="$cc" CFLAGS="$cflags" TARGET="$target" make -build-upto-5-gen: - just build 1 - just build 2 - just build 3 - just build 4 - just build 5 - -test-self-hosted: build-upto-5-gen +test-self-hosted: (build "1") (build "2") (build "3") diff -u ./build/ducc2 ./build/ducc3 - diff -u ./build/ducc3 ./build/ducc4 - diff -u ./build/ducc4 ./build/ducc5 test TESTCASE="all" $BIN="ducc": build #!/usr/bin/env bash @@ -61,8 +61,8 @@ CliArgs* parse_cli_args(int argc, char** argv) { } else if (strcmp(argv[i], "--version") == 0) { print_version(); exit(0); - } else if (strcmp(argv[i], "--std=gnu23") == 0) { - // ignore --std=gnu23 + } else if (strcmp(argv[i], "-std=gnu23") == 0) { + // ignore -std=gnu23 } else if (strcmp(argv[i], "--wasm") == 0) { opt_wasm = true; } else { |
