summaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-10-02 13:09:41 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-10-02 13:09:41 -0400
commit1c775d0128a797370bbc0bbd527b4bbbc9d0b83d (patch)
treedba15bad6c144786f462c0fed7ba727d4823b93e /GNUmakefile
parentfed31013ebfa6b0c5165f015da5b96ce524224eb (diff)
parent1afa241472709b32baf5e3e1fd3ba6ebd5fd1bf6 (diff)
downloadbfs-1c775d0128a797370bbc0bbd527b4bbbc9d0b83d.tar.xz
Merge branch 'io-uring'
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6902979..8154240 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -126,6 +126,7 @@ ifndef NOLIBS
USE_ACL := y
USE_ATTR := y
USE_LIBCAP := y
+USE_LIBURING := y
endif
ifdef USE_ACL
@@ -146,6 +147,11 @@ else
LOCAL_CPPFLAGS += -DBFS_USE_SYS_CAPABILITY_H=0
endif
+ifdef USE_LIBURING
+LOCAL_CPPFLAGS += -DBFS_USE_LIBURING=1
+LOCAL_LDLIBS += -luring
+endif
+
LOCAL_LDFLAGS += -Wl,--as-needed
LOCAL_LDLIBS += -lrt
endif # Linux
@@ -287,7 +293,7 @@ ifneq ($(OS),Darwin)
endif
+$(MAKE) -B tsan ubsan check CC=clang $(DISTCHECK_FLAGS)
ifeq ($(OS) $(ARCH),Linux x86_64)
- +$(MAKE) -B check EXTRA_CFLAGS="-m32" ONIG_CONFIG= $(DISTCHECK_FLAGS)
+ +$(MAKE) -B check EXTRA_CFLAGS="-m32" ONIG_CONFIG= USE_LIBURING= $(DISTCHECK_FLAGS)
endif
+$(MAKE) -B release check $(DISTCHECK_FLAGS)
+$(MAKE) -B check $(DISTCHECK_FLAGS)