From b8139c77302144a1d5288cd05acd52dd4dcb3204 Mon Sep 17 00:00:00 2001 From: Denis Efimov <71937078+doefimov@users.noreply.github.com> Date: Fri, 20 Nov 2026 13:31:30 +0300 Subject: [PATCH] Honor the parent make job limit when building PAX Use recursive $(MAKE) for the CMake-generated build and install targets so they inherit the parent jobserver. The fixed -j8 and -j10 values bypassed the parent's limit. --- contrib/pax_storage/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/pax_storage/Makefile b/contrib/pax_storage/Makefile index 6e09fc14436..741f4cf62f7 100644 --- a/contrib/pax_storage/Makefile +++ b/contrib/pax_storage/Makefile @@ -88,7 +88,7 @@ build: $(SRC) $(CSRC) $(PAX_GTEST_OPT) \ .. ; \ fi - cd build && make -j8 + $(MAKE) -C build # CMake emits libpax.so on both platforms (Linux SHARED, macOS MODULE). @cp -f build/src/cpp/libpax.so pax.so @@ -105,7 +105,7 @@ install-data: build install: install-data $(INSTALL_SHLIB) pax.so '$(DESTDIR)$(pkglibdir)/pax.so' @if [ -f build/src/cpp/pax_dump ]; then $(INSTALL_PROGRAM) build/src/cpp/pax_dump '$(DESTDIR)$(bindir)/pax_dump'; fi; - make -j10 -C build install + $(MAKE) -C build install .PHONY: pax-test pax-test: