From 64b3ee6dc07674f5d8f28cea4bc74222b83c36be Mon Sep 17 00:00:00 2001 From: Mohammad Reza Ostadi Date: Sun, 6 Sep 2026 15:57:36 +0330 Subject: [PATCH] feature: add aio to the build params. --- deb/openresty-asan/debian/rules | 1 + deb/openresty-debug/debian/rules | 1 + deb/openresty-valgrind/debian/rules | 1 + deb/openresty/debian/rules | 1 + rpm/SPECS/openresty-asan.spec | 1 + rpm/SPECS/openresty-debug.spec | 1 + rpm/SPECS/openresty-valgrind.spec | 1 + rpm/SPECS/openresty.spec | 1 + 8 files changed, 8 insertions(+) diff --git a/deb/openresty-asan/debian/rules b/deb/openresty-asan/debian/rules index c788ba365..c1bb454a2 100755 --- a/deb/openresty-asan/debian/rules +++ b/deb/openresty-asan/debian/rules @@ -51,6 +51,7 @@ override_dh_auto_build: --with-http_gunzip_module \ --with-http_slice_module \ --with-threads \ + --with-file-aio \ --with-poll_module \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -DLUAJIT_USE_VALGRIND -O1 -fno-omit-frame-pointer' \ diff --git a/deb/openresty-debug/debian/rules b/deb/openresty-debug/debian/rules index 8444a3e34..47b5e9f2e 100755 --- a/deb/openresty-debug/debian/rules +++ b/deb/openresty-debug/debian/rules @@ -45,6 +45,7 @@ override_dh_auto_configure: --with-threads \ --with-poll_module \ --with-compat \ + --with-file-aio \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -O0' \ -j$(NJBS) diff --git a/deb/openresty-valgrind/debian/rules b/deb/openresty-valgrind/debian/rules index 607f794e7..8f45747e9 100755 --- a/deb/openresty-valgrind/debian/rules +++ b/deb/openresty-valgrind/debian/rules @@ -42,6 +42,7 @@ override_dh_auto_configure: --with-http_mp4_module \ --with-http_gunzip_module \ --with-threads \ + --with-file-aio \ --with-poll_module \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -DLUAJIT_USE_VALGRIND -DLUAJIT_USE_SYSMALLOC -O0' \ --with-no-pool-patch \ diff --git a/deb/openresty/debian/rules b/deb/openresty/debian/rules index 08f86b6e1..a2313e077 100755 --- a/deb/openresty/debian/rules +++ b/deb/openresty/debian/rules @@ -41,6 +41,7 @@ override_dh_auto_configure: --with-http_slice_module \ --with-http_gunzip_module \ --with-threads \ + --with-file-aio \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' \ -j$(NJBS) diff --git a/rpm/SPECS/openresty-asan.spec b/rpm/SPECS/openresty-asan.spec index 16672b5bb..5139c827c 100644 --- a/rpm/SPECS/openresty-asan.spec +++ b/rpm/SPECS/openresty-asan.spec @@ -127,6 +127,7 @@ export ASAN_OPTIONS=detect_leaks=0 --with-http_mp4_module \ --with-http_gunzip_module \ --with-threads \ + --with-file-aio \ --with-http_slice_module \ --with-poll_module \ --with-compat \ diff --git a/rpm/SPECS/openresty-debug.spec b/rpm/SPECS/openresty-debug.spec index 40f25b52a..d355a5fe5 100644 --- a/rpm/SPECS/openresty-debug.spec +++ b/rpm/SPECS/openresty-debug.spec @@ -119,6 +119,7 @@ a single box. --with-http_gunzip_module \ --with-http_slice_module \ --with-threads \ + --with-file-aio \ --with-poll_module \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -O0' \ diff --git a/rpm/SPECS/openresty-valgrind.spec b/rpm/SPECS/openresty-valgrind.spec index 887cf1902..103033760 100644 --- a/rpm/SPECS/openresty-valgrind.spec +++ b/rpm/SPECS/openresty-valgrind.spec @@ -120,6 +120,7 @@ a single box. --with-http_mp4_module \ --with-http_gunzip_module \ --with-threads \ + --with-file-aio \ --with-poll_module \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -DLUAJIT_USE_VALGRIND -DLUAJIT_USE_SYSMALLOC -O0' \ diff --git a/rpm/SPECS/openresty.spec b/rpm/SPECS/openresty.spec index 1a7c95e45..f3413d7f6 100644 --- a/rpm/SPECS/openresty.spec +++ b/rpm/SPECS/openresty.spec @@ -223,6 +223,7 @@ This package provides the client side tool, opm, for OpenResty Pakcage Manager ( --with-http_gunzip_module \ --with-http_slice_module \ --with-threads \ + --with-file-aio \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' \ -j`nproc`