Skip to content

Commit abd963f

Browse files
always build
1 parent 50cbaab commit abd963f

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.gitlab/package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ variables:
3737
CMAKE_ARGS: "-DNATIVE_TESTING=OFF"
3838
# DEV: Hack to make ASM CMake able to find the Python3 library
3939
CIBW_BUILD: "1"
40+
# Ship the native heap-gotter cdylib in every wheel (setup.py restricts the
41+
# actual build to 64-bit Linux; elsewhere it's a no-op).
42+
DD_PROFILING_NATIVE_HEAP_ENABLED: "1"
4043
# Enable sccache for Rust/C/C++ compilation caching
4144
DD_USE_SCCACHE: "1"
4245
# job resource requests

setup.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,7 @@
137137
# mainline wheels don't ship the artifact until it GA's.
138138
# Same env var as runtime arming (ProfilingConfigNativeHeap.enabled); setup.py
139139
# reads it via os.getenv during the package build, independent of DDConfig.
140-
BUILD_NATIVE_HEAP_GOTTER: bool = os.getenv("DD_PROFILING_NATIVE_HEAP_ENABLED", "0").lower() in (
141-
"1",
142-
"yes",
143-
"on",
144-
"true",
145-
)
140+
BUILD_NATIVE_HEAP_GOTTER = True
146141
# Keep the staged cdylib unstripped when building with the upstream test-support
147142
# feature (hook-hit counter for e2e / integration tests).
148143
BUILD_NATIVE_HEAP_GOTTER_TEST_SUPPORT: bool = os.getenv("DD_PROFILING_NATIVE_HEAP_TEST_SUPPORT", "0").lower() in (

0 commit comments

Comments
 (0)