mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01:00
With all of the sanitisers turned on, setting the VMA and mm flag bits depth to 128 by default results in overly long build times. Reduce this to 64 - we can always manipulate these later for testing of larger bitmaps as needed. Link: https://lore.kernel.org/[email protected] Signed-off-by: Lorenzo Stoakes <[email protected]> Reviewed-by: Gregory Price <[email protected]> Cc: Ackerley Tng <[email protected]> Cc: David Hildenbrand (Arm) <[email protected]> Cc: Kai Huang <[email protected]> Cc: Marek Szyprowski <[email protected]> Cc: Pedro Falcato <[email protected]> Cc: SJ Park <[email protected]> Cc: Thomas Zimmermann <[email protected]> Cc: Vlastimil Babka (SUSE) <[email protected]> Cc: Liam R. Howlett (Oracle) <[email protected]> Cc: Zi Yan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
22 lines
674 B
Makefile
22 lines
674 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
.PHONY: default clean
|
|
|
|
default: vma
|
|
|
|
include ../shared/shared.mk
|
|
|
|
OFILES = $(SHARED_OFILES) main.o shared.o maple-shim.o
|
|
TARGETS = vma
|
|
|
|
# These can be varied to test different sizes.
|
|
CFLAGS += -DNUM_VMA_FLAG_BITS=64 -DNUM_MM_FLAG_BITS=64
|
|
|
|
main.o: main.c shared.c shared.h vma_internal.h tests/merge.c tests/mmap.c tests/vma.c ../../../mm/vma.c ../../../mm/vma_init.c ../../../mm/vma_exec.c ../../../mm/vma.h include/custom.h include/dup.h include/stubs.h
|
|
|
|
vma: $(OFILES)
|
|
$(CC) $(CFLAGS) -o $@ $(OFILES) $(LDLIBS)
|
|
|
|
clean:
|
|
$(RM) $(TARGETS) *.o radix-tree.c idr.c generated/map-shift.h generated/bit-length.h generated/autoconf.h
|