Skip to content

Commit 0b749a5

Browse files
arman-bdclaude
andcommitted
fix: build only liburing library, skip tests to avoid header conflicts
The liburing test suite has header conflicts between glibc and kernel headers (redefinition of struct in6_pktinfo and ip6_mtuinfo). We only need the library for production use, not the tests. Changes: - Use 'make -C src' to build only the src/ directory (library) - Skip building test/ directory which has the header conflicts - Still run 'make install' to install headers and library This resolves the compilation error on manylinux containers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 108e21d commit 0b749a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/setup_vendors.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,9 @@ if [ "$OS" = "Linux" ]; then
135135
if [ ! -f "src/liburing.a" ]; then
136136
echo "Building liburing..."
137137

138+
# Build only the library, skip tests to avoid header conflicts
138139
./configure --prefix="$VENDOR_DIR/liburing/install"
139-
make -j$(nproc)
140+
make -C src -j$(nproc)
140141
make install
141142

142143
echo "✓ liburing built successfully"

0 commit comments

Comments
 (0)