bitcoinfuzz
bitcoinfuzz copied to clipboard
clightning: `./configure` not running on macOS
On mac 14.3 with clang 18, I cannot build clightning module because it's not running ./configure on external/lightning. It seems the Makefile from clightning module is set to do it but somehow is not working?
cc @erickcestari
On CI it was called here: https://github.com/bitcoinfuzz/bitcoinfuzz/actions/runs/15191972937/job/42726825044#step:23:14
If config.vars already exists, ./configure won’t run again.
Maybe we can improve the ./configure for MACOS?
$(LIGHTNING_DIR)/config.vars:
@echo "Running ./configure in $(LIGHTNING_DIR)..."
@if [ "$(shell uname)" = "Darwin" ]; then \
cd $(LIGHTNING_DIR) && ./configure --disable-compat --disable-valgrind CC=cc; \
else \
cd $(LIGHTNING_DIR) && ./configure --enable-address-sanitizer --disable-compat --enable-fuzzing --disable-valgrind --enable-ub-sanitizer CC=clang; \
fi
It seems we could improve (we can concetrate ideas on other issue), but I figured out my issue on it. Closing for now.