Skip to content

Commit a9bdb28

Browse files
committed
Dont make in parallel on macos, causes invalid memory access
1 parent b1c88d1 commit a9bdb28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ views: $(VIEW_TARGETS)
2222

2323
.PHONY: watch-views
2424
watch-views:
25-
while true; do $(MAKE) -q -s views || $(MAKE) -j views; sleep 0.5; done
25+
@MAKE_FLAGS=$$([ "$$(uname)" = "Darwin" ] || echo "-j"); \
26+
while true; do $(MAKE) -q -s views || $(MAKE) $$MAKE_FLAGS views; sleep 0.5; done
2627

2728
.PHONY: dev-ui
2829
dev-ui:

0 commit comments

Comments
 (0)