Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install the profiler in a version-safe manner #170

Merged
merged 4 commits into from
Feb 20, 2021

Conversation

mjcarroll
Copy link
Contributor

@mjcarroll mjcarroll commented Feb 9, 2021

Bug Report

Fixes issue #167
Fixes issue #82

Summary

This makes the profiler script get installed in a versioned subdirectory, which will enable side-by-side installs.

In this case, it follows along with our CLI executable strategy and installs to install/lib/ignition/ignition-common4/ign_remotery_vis

This additionally makes the profiler script relocatable by removing absolute paths from the CMake configuration process.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See
    contributing)
  • All tests passed (See
    test coverage)
  • While waiting for a review on your PR, please help review
    another open pull request
    to support the maintainers

Note to maintainers: Remember to use Squash-Merge

This allows the script to be side-by-side installable.

Signed-off-by: Michael Carroll <[email protected]>
@mjcarroll mjcarroll requested a review from scpeters February 9, 2021 20:17
@mjcarroll mjcarroll self-assigned this Feb 9, 2021
@codecov
Copy link

codecov bot commented Feb 9, 2021

Codecov Report

Merging #170 (f24f600) into main (df047cb) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #170   +/-   ##
=======================================
  Coverage   76.40%   76.40%           
=======================================
  Files          71       71           
  Lines       10080    10080           
=======================================
  Hits         7702     7702           
  Misses       2378     2378           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df047cb...162832f. Read the comment docs.

tutorials/profiler.md Outdated Show resolved Hide resolved
Copy link
Member

@scpeters scpeters left a comment

Choose a reason for hiding this comment

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

looks fine except for the tutorial path is incorrect on macOS

@chapulina chapulina merged commit 7510820 into main Feb 20, 2021
@chapulina chapulina deleted the install_profiler_version branch February 20, 2021 00:53
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.

3 participants