Skip to content

[tracy] update to 0.13 - #48506

Merged
Billy O'Neal (BillyONeal) merged 1 commit into
microsoft:masterfrom
fran6co:fran/tracy
Feb 10, 2026
Merged

[tracy] update to 0.13#48506
Billy O'Neal (BillyONeal) merged 1 commit into
microsoft:masterfrom
fran6co:fran/tracy

Conversation

@fran6co

@fran6co Francisco Facioni (fran6co) commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

Fixes #48105
Fixes #45820
Fixes #49750
Fixes #49197

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

@fran6co
Francisco Facioni (fran6co) force-pushed the fran/tracy branch 3 times, most recently from 6dd0343 to 11eda8a Compare November 27, 2025 17:58
Comment thread ports/nativefiledialog-extended/fix-version.cmake Outdated
Comment thread ports/tracy/disable-git.patch Outdated
@fran6co
Francisco Facioni (fran6co) force-pushed the fran/tracy branch 5 times, most recently from d0414a5 to 6a94c0d Compare December 2, 2025 17:31
@fran6co

Copy link
Copy Markdown
Contributor Author

For some reason in windows it can't find the patch executable, is there a good way to deal with that?

@dg0yt

Copy link
Copy Markdown
Contributor

For some reason in windows it can't find the patch executable, is there a good way to deal with that?

I would take this as a hint that it does something which it shouldn't do anyways:
What would it patch if not (sources of) vendored dependencies?

But the log show that it fails to find GIT_EXECUTABLE. This could be fixed easily. However it also shouldn't use git to download vendored dependencies...

@fran6co

Copy link
Copy Markdown
Contributor Author

It's getting imgui source code and patching it, vendoring imgui for this case I think it might be tricky as it's adding stuff to it

@dg0yt

Copy link
Copy Markdown
Contributor

It's getting imgui source code and patching it, vendoring imgui for this case I think it might be tricky as it's adding stuff to it

I don't know if the vendored copy will be accepted.
But it might be necessary to at least pull download and patching out of the CMake project into the portfile.
Then the download could go through proper asset caching, and the vendored source would be obvious to reviewers. And you could add comments as needed.

@dg0yt

Copy link
Copy Markdown
Contributor

A vendored imgui might be more acceptable if it is only used by executables, not libraries.

@fran6co

Francisco Facioni (fran6co) commented Dec 10, 2025

Copy link
Copy Markdown
Contributor Author

imgui is only used by the executables when using gui-tools, the lib itself doesn't depend on imgui

@fran6co

Francisco Facioni (fran6co) commented Dec 10, 2025

Copy link
Copy Markdown
Contributor Author

doing outside the cmake would require to always sync up on every tracy new version, if I could get windows to just find the patch binary for CPM to work then it would just work like the other platforms

@dg0yt

Copy link
Copy Markdown
Contributor

doing outside the cmake would require to always sync up on every tracy new version, if I could get windows to just find the patch binary for CPM to work then it would just work like the other platforms

The portfile must do the downloads.

@simi

Copy link
Copy Markdown

Anything I can help with?

@fran6co

Francisco Facioni (fran6co) commented Dec 15, 2025

Copy link
Copy Markdown
Contributor Author

I don't have time to figure out the issue and/or move the downloading and patching of imgui to the portfile. The easy solution of making the windows builds to find the patch.exe seems not the accepted solution

@fran6co
Francisco Facioni (fran6co) force-pushed the fran/tracy branch 5 times, most recently from af49cf9 to 3e567f6 Compare February 4, 2026 11:23
@fran6co
Francisco Facioni (fran6co) marked this pull request as ready for review February 4, 2026 11:25
@fran6co
Francisco Facioni (fran6co) force-pushed the fran/tracy branch 4 times, most recently from 5fc69f5 to c9cabc2 Compare February 4, 2026 14:49
@dg0yt

Copy link
Copy Markdown
Contributor

I prefer to see CPM ripped out where it is used instead of forcing changes to dependencies.

@BillyONeal Billy O'Neal (BillyONeal) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not sure if we can take this given that it is trying to vendor imgui. On the other hand it may have already been doing that before?

Comment thread ports/tracy/portfile.cmake Outdated
Comment thread ports/tidy-html5/portfile.cmake Outdated
Comment thread ports/tracy/portfile.cmake Outdated
Comment thread ports/tracy/portfile.cmake Outdated
@BillyONeal
Billy O'Neal (BillyONeal) marked this pull request as draft February 5, 2026 01:04
Comment thread ports/tracy/vcpkg.json Outdated
@tomconder

Copy link
Copy Markdown
Contributor

This looks good. imgui-loader.patch can be removed since you now use tracy's patch.

@fran6co

Copy link
Copy Markdown
Contributor Author

This looks good. imgui-loader.patch can be removed since you now use tracy's patch.

I can't because their patch doesn't work using vcpkg patches for some reason, that's why I had to patch the patch

@fran6co

Copy link
Copy Markdown
Contributor Author

ah, sorry.. you are correct

@fran6co

Copy link
Copy Markdown
Contributor Author

Done

@tomconder

Copy link
Copy Markdown
Contributor

When I install the gui-tools feature -- vcpkg install tracy[core,gui-tools] -- it creates a GitRef.hpp with extra-quotes which fails the build. I believe this is an existing problem with tracy, not introduced by this PR.

I made a patch to fix the GitRef.hpp generation. It uses configure_file() instead of a custom command. See https://github.com/tomconder/vcpkg/blob/tracy/ports/tracy/fix-gitref.patch

@fran6co

Francisco Facioni (fran6co) commented Feb 6, 2026

Copy link
Copy Markdown
Contributor Author

Weird, I'm not having that issue and the CI chugged along. In any case I'm pushing the patch anyways

@tomconder

Copy link
Copy Markdown
Contributor

Weird, I'm not having that issue and the CI chugged along. In any case I'm pushing the patch anyways

Applying the patch fixed my build and install. I appreciate it. 🙂

@tomconder

Copy link
Copy Markdown
Contributor

You have been accomodating. Can I request a change to the fix-gitref.patch file? After some testing I found that git needs to be called as ${GIT_EXECUTABLE}.

So line 16 of fix-gitref.patch should be:

+        COMMAND ${GIT_EXECUTABLE} log -1 --format=%h ${GIT_REV}

instead of

+        COMMAND git log -1 --format=%h ${GIT_REV}

@fran6co

Copy link
Copy Markdown
Contributor Author

No prob, done

Comment thread ports/tracy/fix-gitref.patch Outdated
Comment thread ports/tracy/fix-gitref.patch Outdated

@BillyONeal Billy O'Neal (BillyONeal) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the update!

@BillyONeal
Billy O'Neal (BillyONeal) merged commit 6f932b9 into microsoft:master Feb 10, 2026
15 checks passed
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.

[tracy] update to 0.13.1 [tracy] update to 0.13.1

5 participants