Skip to content

Commit 14f1bb7

Browse files
Fix variable name for version info in CMake config
Rename EXAMPLE_VERSION_INFO to PYLIBBPF_VERSION_INFO and disable Linux system dependencies installation
1 parent 6eca071 commit 14f1bb7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
CIBW_BUILD: "cp38-* cp311-*"
5656
CIBW_SKIP: "*-musllinux*" # Skip musl builds, focus on glibc
5757

58-
# Install minimal system dependencies before building
59-
CIBW_BEFORE_ALL_LINUX: >
60-
yum install -y make gcc-c++ kernel-headers ||
61-
(apt-get update && apt-get install -y build-essential linux-headers-generic)
58+
# # Install minimal system dependencies before building
59+
# CIBW_BEFORE_ALL_LINUX: >
60+
# yum install -y make gcc-c++ kernel-headers ||
61+
# (apt-get update && apt-get install -y build-essential linux-headers-generic)
6262

6363
# Test the built wheels
6464
CIBW_TEST_COMMAND: "python -c 'import pylibbpf; print(f\"pylibbpf {pylibbpf.__version__} imported successfully\")'"

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ set(LIBBPF_LIBRARIES ${CMAKE_CURRENT_BINARY_DIR}/libbpf/libbpf.a)
4141
# EXAMPLE_VERSION_INFO is defined by setup.py and passed into the C++ code as a
4242
# define (VERSION_INFO) here.
4343
target_compile_definitions(pylibbpf
44-
PRIVATE VERSION_INFO=${EXAMPLE_VERSION_INFO})
44+
PRIVATE VERSION_INFO=${PYLIBBPF_VERSION_INFO})

0 commit comments

Comments
 (0)