Skip to content

Fix build-profiling-ffi.sh script not working with relative paths + Fix incorrect placeholder for version#46

Merged
ivoanjo merged 3 commits into
mainfrom
ivoanjo/small-fixes
Aug 30, 2022
Merged

Fix build-profiling-ffi.sh script not working with relative paths + Fix incorrect placeholder for version#46
ivoanjo merged 3 commits into
mainfrom
ivoanjo/small-fixes

Conversation

@ivoanjo

@ivoanjo ivoanjo commented Aug 30, 2022

Copy link
Copy Markdown
Member

What does this PR do?

  • Fix build-profiling-ffi.sh script not working with relative paths
  • Fix incorrect placeholder for version

Motivation

See individual commit messages for details.

How to test the change?

  • Check that build-profiling-ffi.sh still produces the same output as before, as well as working now with relative paths
  • Check that datadog_profiling_with_rpath.pc gets templated correctly with the version

This confused me a bit, since I had used it with relative paths in the
past, and the fixed turned out to be quite trivial.
We're actually replacing `@Datadog_VERSION@` not `@DDog_VERSION@` in
the `build-profiling-ffi.sh` script.
@ivoanjo ivoanjo requested a review from a team as a code owner August 30, 2022 12:29

@sanchda sanchda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not bad! Fixes the problem without adding any new tools or drastically changing the build system. Thank you!

@ivoanjo ivoanjo merged commit e9b2b10 into main Aug 30, 2022
@morrisonlevi morrisonlevi deleted the ivoanjo/small-fixes branch January 27, 2023 16:20
ivoanjo pushed a commit that referenced this pull request Jun 18, 2025
* Github CI lint and and tests

* fix missing licenses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants