Skip to content
Merged
Show file tree
Hide file tree
Changes from 94 commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
a0558d0
Merge profiling and libnative libraries.
hoolioh May 5, 2025
2707023
Isolate libnative building in a new module so it can be reused from b…
hoolioh Jun 9, 2025
c208a4d
Fix python build script path.
hoolioh Jun 9, 2025
b5acd1f
Workaround ModuleNotFound.
hoolioh Jun 9, 2025
eca12a9
Fix library name.
hoolioh Jun 10, 2025
b5e60d1
Set rustc flags.
hoolioh Jun 10, 2025
4f5db7e
Resolve Python runtime symbols.
hoolioh Jun 17, 2025
b0a5530
Place native library in build directory.
hoolioh Jul 14, 2025
4b6d31f
Disable crt-static for musl.
hoolioh Jul 14, 2025
9cc973f
Add cargo binary folder to PATH variable.
hoolioh Jul 15, 2025
2bcf467
Set soname.
hoolioh Jul 15, 2025
c96bd6b
Copy the native lib to the proper inplace folder.
hoolioh Jul 15, 2025
2a35f0a
Fix var names.
hoolioh Jul 15, 2025
bf333aa
Add PYTHON variables.
hoolioh Jul 15, 2025
1a9df27
Disable native tests in manylinux.
hoolioh Jul 15, 2025
f294eb5
Disable tests on manylinux in CMakeLists.
hoolioh Jul 15, 2025
0feff4d
Fix library name/soname configuration.
hoolioh Jul 15, 2025
c351139
Fix library location.
hoolioh Jul 16, 2025
c901d4c
Add crt-static to the .config.toml.
hoolioh Jul 16, 2025
ff6ef56
Add crt-static for aarch64.
hoolioh Jul 16, 2025
e1b1d5f
Remove linker.
hoolioh Jul 16, 2025
f4f8fb7
Fix windows support.
hoolioh Jul 17, 2025
29982f7
Set rpath for macos targets.
hoolioh Jul 17, 2025
97b05e7
Fix rpath
hoolioh Jul 17, 2025
b76e975
Add BUILD_RPATH.
hoolioh Jul 17, 2025
07be5a9
Add patchelf dependency.
hoolioh Jul 17, 2025
8c84556
update rpath properly
taegyunkim Jul 17, 2025
7b6a4e3
Handle exception for windows builds to gain visibility.
hoolioh Jul 17, 2025
221e50c
Fix name for windows builds.
hoolioh Jul 17, 2025
3101c51
Install dependencies in system tests workflow.
hoolioh Jul 17, 2025
865978e
Fix ext_hashes.
hoolioh Jul 18, 2025
acee58c
Set patchelf as a required package.
hoolioh Jul 18, 2025
f9cc488
Avoid SameFileError exception when building in editable mode.
hoolioh Jul 18, 2025
7d2b526
Get python library when building the tests.
hoolioh Jul 18, 2025
a8c795e
Only include patchelf in linux builds.
hoolioh Jul 18, 2025
ca9d258
Allow link file to be none.
hoolioh Jul 18, 2025
8b5be78
Fix cmake for windows builds.
hoolioh Jul 18, 2025
cfc4e5e
Add dummy function to test if .lib is generated.
hoolioh Jul 18, 2025
ecdbe46
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 18, 2025
23dbd63
Update libdd to 19.1.0.
hoolioh Jul 21, 2025
e89761e
Merge branch 'main' into julio/merge-libraries-new-branch
hoolioh Jul 21, 2025
df8462a
Add all build types for windows.
hoolioh Jul 21, 2025
5258a22
Set interface if .lib is not found.
hoolioh Jul 21, 2025
0599039
Fix cmake.
hoolioh Jul 21, 2025
819d893
Use 64 bit toolchain for windows 64.
hoolioh Jul 21, 2025
3a99a03
Add debug info.
hoolioh Jul 21, 2025
9da14bf
Fix name.
hoolioh Jul 21, 2025
d2695ea
Remove debug info.
hoolioh Jul 21, 2025
9d87956
Revert toolchain change for windows builds.
hoolioh Jul 21, 2025
3d21817
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 23, 2025
134b3a3
cargo target for i686
taegyunkim Jul 23, 2025
e9a9025
format
taegyunkim Jul 23, 2025
dc221ab
fix error
taegyunkim Jul 23, 2025
dbbba0b
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 23, 2025
3885308
don't build profiling for windows
taegyunkim Jul 23, 2025
da04fed
format
taegyunkim Jul 23, 2025
a59bb96
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 23, 2025
49fb896
win32
taegyunkim Jul 23, 2025
b1a9309
fix typo
taegyunkim Jul 23, 2025
42b21f6
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 24, 2025
1d2471f
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 24, 2025
999d104
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 24, 2025
21f2e6a
use the same settings for release profile
taegyunkim Jul 24, 2025
e9e60f0
use s
taegyunkim Jul 24, 2025
98197ca
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 24, 2025
2c10a06
lets stick to 3
taegyunkim Jul 24, 2025
351a00b
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 24, 2025
b06dc64
use pyo3-build-config 0.24
taegyunkim Jul 24, 2025
4b6e05a
Merge branch 'julio/merge-libraries-new-branch' of github.com:DataDog…
taegyunkim Jul 24, 2025
79f1bd4
does this fix issues with crashtracker?
taegyunkim Jul 24, 2025
4e781ff
revert back
taegyunkim Jul 24, 2025
34e45b6
match release profile with libdd
taegyunkim Jul 25, 2025
8859e03
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 25, 2025
6232a99
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 25, 2025
9cc6008
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 28, 2025
8042f07
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 28, 2025
d943eb1
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 28, 2025
c7e6d32
new lines
taegyunkim Jul 28, 2025
a251143
Merge branch 'julio/merge-libraries-new-branch' of github.com:DataDog…
taegyunkim Jul 28, 2025
955f869
revert
taegyunkim Jul 28, 2025
8f02977
bump up micro benchmarks limits
taegyunkim Jul 28, 2025
b3467e1
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 28, 2025
7f00ecd
break cache
taegyunkim Jul 28, 2025
860e7d0
force rebuild
taegyunkim Jul 28, 2025
eb8727b
update limit
taegyunkim Jul 28, 2025
5026f80
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 29, 2025
89769a2
use .so file as entry for rust
taegyunkim Jul 29, 2025
a218708
Reduce diff - no longer needed
taegyunkim Jul 29, 2025
933db85
reduce diff
taegyunkim Jul 29, 2025
cf3eea5
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 29, 2025
2e55fc8
fix formatting
taegyunkim Jul 29, 2025
abc2c55
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 29, 2025
7070f44
print failure_msg
taegyunkim Jul 29, 2025
18f6cf9
revert
taegyunkim Jul 30, 2025
f2e34ed
add _dd_crashtracker_receiver to avoid fiasco with _native not linked…
taegyunkim Jul 30, 2025
9578df9
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 30, 2025
c976ce1
remove debug print
taegyunkim Jul 30, 2025
33b315f
Apply suggestion from @P403n1x87
taegyunkim Jul 30, 2025
53fa6c8
remove unneeded file
taegyunkim Jul 30, 2025
111943c
format
taegyunkim Jul 30, 2025
0d821a4
failure msg debug print
taegyunkim Jul 30, 2025
9113fc9
add this back in
taegyunkim Jul 30, 2025
ebd8590
chore(build, profiling): fix extension hash computation for ddup
taegyunkim Jul 30, 2025
196d92c
Merge branch 'taegyunkim/ext-hashes-sources' into julio/merge-librari…
taegyunkim Jul 30, 2025
a22a3b3
this can be deleted
taegyunkim Jul 30, 2025
2e9939e
also fix crashtracker and stack_v2
taegyunkim Jul 30, 2025
2836343
Merge branch 'taegyunkim/ext-hashes-sources' into julio/merge-librari…
taegyunkim Jul 30, 2025
7e861b3
chore(build): fix extension module hash calculation
taegyunkim Jul 30, 2025
8d1d839
Merge branch 'taegyunkim/ext-hash-glob' into julio/merge-libraries-ne…
taegyunkim Jul 30, 2025
fffe532
break cache for libnative
taegyunkim Jul 30, 2025
5ea9778
Revert "add _dd_crashtracker_receiver to avoid fiasco with _native no…
taegyunkim Jul 31, 2025
38f9811
Revert "remove unneeded file"
taegyunkim Jul 31, 2025
c599ab2
Reapply "add _dd_crashtracker_receiver to avoid fiasco with _native n…
taegyunkim Jul 31, 2025
36d6ec9
Reapply "remove unneeded file"
taegyunkim Jul 31, 2025
64699dc
_native.so target file should include full version/arc/os string
taegyunkim Jul 31, 2025
0642152
break cache
taegyunkim Jul 31, 2025
034cd5b
cant figure out whats going on
taegyunkim Jul 31, 2025
e86766a
skip restore/save cache
taegyunkim Jul 31, 2025
54f9e0a
try with per version ext-cache
taegyunkim Jul 31, 2025
e90978b
also update gen_ext_cache_scripts
taegyunkim Jul 31, 2025
f70ec97
Revert "also update gen_ext_cache_scripts"
taegyunkim Jul 31, 2025
59dd9eb
break cache for src/native
taegyunkim Jul 31, 2025
4caea49
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 31, 2025
5f5b1bc
change cache key
taegyunkim Jul 31, 2025
9a045c0
per version ext-cache directory
taegyunkim Jul 31, 2025
41f20a2
remove file
taegyunkim Jul 31, 2025
a91b5fc
use per version ext-cache for real
taegyunkim Jul 31, 2025
30d63d3
force rebuild
taegyunkim Jul 31, 2025
479762e
revert ext-cache dir change
taegyunkim Jul 31, 2025
b438430
print debug messages for building lib_native
taegyunkim Jul 31, 2025
5310769
format
taegyunkim Jul 31, 2025
33c2cea
Revert "Reapply "add _dd_crashtracker_receiver to avoid fiasco with _…
taegyunkim Jul 31, 2025
8f01f57
Revert "Reapply "remove unneeded file""
taegyunkim Jul 31, 2025
056e932
Revert ext-cache change
taegyunkim Jul 31, 2025
0df7abf
Minimize diff in cargo.toml
taegyunkim Jul 31, 2025
983ff1a
Remove prints
taegyunkim Jul 31, 2025
f14ba5a
Reapply "Reapply "add _dd_crashtracker_receiver to avoid fiasco with …
taegyunkim Jul 31, 2025
93bc48c
Reapply "Reapply "remove unneeded file""
taegyunkim Jul 31, 2025
52d7329
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 31, 2025
c793323
more debug information
taegyunkim Jul 31, 2025
53f21f9
try this
taegyunkim Jul 31, 2025
689a095
add missing import
taegyunkim Jul 31, 2025
60d5ebc
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 31, 2025
e93ac9f
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 31, 2025
cc507a7
dont mess with sys.path
taegyunkim Jul 31, 2025
19e040b
Revert "dont mess with sys.path"
taegyunkim Jul 31, 2025
1e89a24
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Jul 31, 2025
e82c41c
Revert "Reapply "Reapply "add _dd_crashtracker_receiver to avoid fias…
taegyunkim Jul 31, 2025
0d45e8c
Revert "Reapply "Reapply "remove unneeded file"""
taegyunkim Jul 31, 2025
7950458
Merge branch 'julio/merge-libraries-new-branch' of github.com:DataDog…
taegyunkim Jul 31, 2025
d02cb4c
use cache again
taegyunkim Jul 31, 2025
452e4a1
minimize diff
taegyunkim Jul 31, 2025
e72a1ec
more debug print
taegyunkim Jul 31, 2025
8e923b0
print crashtracker dir
taegyunkim Jul 31, 2025
4f03739
print ldd
taegyunkim Jul 31, 2025
dac40f2
format
taegyunkim Jul 31, 2025
5eb2c09
per version rust build artifact directory
taegyunkim Jul 31, 2025
682cb1f
just get the version number
taegyunkim Aug 1, 2025
3e46a65
break cache
taegyunkim Aug 1, 2025
9699577
break cache for both lib_native and dd_wrapper ones
taegyunkim Aug 1, 2025
e9f6533
dont glob all .so files just pick the one with specific name
taegyunkim Aug 1, 2025
6e6a883
print filename
taegyunkim Aug 1, 2025
75e33d1
comments
taegyunkim Aug 1, 2025
6122c96
fail to build dd_wrapper when _native py version mismatches with curr…
taegyunkim Aug 1, 2025
ffa6494
dd_wrapper uses extension suffix
taegyunkim Aug 1, 2025
3fd599f
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Aug 1, 2025
8e79eb6
Rust has cargo lock, so even if in theory there could be multiple
taegyunkim Aug 1, 2025
c83f21c
remove unnecessary change
taegyunkim Aug 1, 2025
83c9176
format
taegyunkim Aug 1, 2025
9c53a3a
remove debug print
taegyunkim Aug 1, 2025
f1266f3
minimize diff
taegyunkim Aug 1, 2025
19ef40a
Merge branch 'main' into julio/merge-libraries-new-branch
taegyunkim Aug 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

- name: Install build dependencies
# Rust + Cargo are needed for Cryptography
run: apk add git gcc g++ musl-dev libffi-dev openssl-dev bash rust cargo make cmake
run: apk add git gcc g++ musl-dev libffi-dev openssl-dev bash rust cargo make cmake patchelf

- name: Check source package
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_python_3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
fi
CIBW_BEFORE_ALL_WINDOWS: rustup target add i686-pc-windows-msvc
CIBW_BEFORE_ALL_MACOS: rustup target add aarch64-apple-darwin
CIBW_ENVIRONMENT_LINUX: PATH=$HOME/.cargo/bin:$PATH CMAKE_BUILD_PARALLEL_LEVEL=24
CIBW_ENVIRONMENT_LINUX: PATH=$HOME/.cargo/bin:$PATH CMAKE_BUILD_PARALLEL_LEVEL=24 CMAKE_ARGS="-DNATIVE_TESTING=OFF"
CIBW_REPAIR_WHEEL_COMMAND_LINUX: |
mkdir ./tempwheelhouse &&
unzip -l {wheel} | grep '\.so' &&
Expand Down Expand Up @@ -122,11 +122,11 @@ jobs:
fi
CIBW_BEFORE_ALL_WINDOWS: rustup target add i686-pc-windows-msvc
CIBW_BEFORE_ALL_MACOS: rustup target add aarch64-apple-darwin
CIBW_ENVIRONMENT_LINUX: PATH=$HOME/.cargo/bin:$PATH CMAKE_BUILD_PARALLEL_LEVEL=24
CIBW_ENVIRONMENT_LINUX: PATH=$HOME/.cargo/bin:$PATH CMAKE_BUILD_PARALLEL_LEVEL=24 CMAKE_ARGS="-DNATIVE_TESTING=OFF"
# SYSTEM_VERSION_COMPAT is a workaround for versioning issue, a.k.a.
# `platform.mac_ver()` reports incorrect MacOS version at 11.0
# See: https://stackoverflow.com/a/65402241
CIBW_ENVIRONMENT_MACOS: CMAKE_BUILD_PARALLEL_LEVEL=24 SYSTEM_VERSION_COMPAT=0
CIBW_ENVIRONMENT_MACOS: CMAKE_BUILD_PARALLEL_LEVEL=24 SYSTEM_VERSION_COMPAT=0 CMAKE_ARGS="-DNATIVE_TESTING=OFF"
CIBW_REPAIR_WHEEL_COMMAND_LINUX: |
mkdir ./tempwheelhouse &&
unzip -l {wheel} | grep '\.so' &&
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
SYSTEM_TESTS_AWS_ACCESS_KEY_ID: ${{ secrets.IDM_AWS_ACCESS_KEY_ID }}
SYSTEM_TESTS_AWS_SECRET_ACCESS_KEY: ${{ secrets.IDM_AWS_SECRET_ACCESS_KEY }}
steps:
- name: Install Dependencies
run: sudo apt-get install -y patchelf

- name: Checkout system tests
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -271,6 +273,9 @@ jobs:
env:
TEST_LIBRARY: python
steps:
- name: Install Dependencies
run: sudo apt-get install -y patchelf

- name: Checkout system tests
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
Expand Down Expand Up @@ -316,4 +321,4 @@ jobs:
run: exit 0
- name: Fails if anything else failed
if: needs.parametric.result != 'success' || needs.system-tests.result != 'success'
run: exit 1
run: exit 1
Loading
Loading