Skip to content

[Tracy] Update to v0.10 #11089

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

blegat
Copy link
Contributor

@blegat blegat commented Apr 29, 2025

To be merged at the same time as #8437 to avoid breakage.
Among the 4 patches needed for v0.9.1, I could remove three patches who are part of v0.10

if [[ "${target}" != *-mingw* ]]; then
echo "target_compile_definitions(TracyClient PUBLIC __STDC_FORMAT_MACROS)" >> CMakeLists.txt
else
echo "target_compile_definitions(TracyClient PUBLIC WINVER=0x0602 _WIN32_WINNT=0x0602)" >> CMakeLists.txt
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No idea, this was added by @topolarity for v0.9 in #6087 and I just copy-pasted.
Do you mean that I can just remove this 5 lines now ?

Copy link
Contributor Author

@blegat blegat Apr 30, 2025

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

This was probably copied from https://github.com/JuliaLang/julia/blob/master/deps/libtracyclient.mk (which will also need an update together with this Yggdrasil recipe)

@blegat blegat changed the title [LibTracyClient] Update to v0.10 [LibTracyClient]/[TracyProfiler] Update to v0.11.1 Apr 30, 2025
@blegat
Copy link
Contributor Author

blegat commented Apr 30, 2025

I targetted v0.10 in order to be compatible with #8437 but since I do both at the same time in this PR, we could target v0.11.1 directly so that we are up to date. The issue is that they removed the old Makefiles in wolfpld/tracy@7f8a2e2 so we need to change the build script to use CMake now so I made a separate PR to update to v0.11.1 #11097


# Collection of sources required to complete build
sources = [
GitSource("https://github.com/wolfpld/tracy.git",
"897aec5b062664d2485f4f9a213715d2e527e0ca"), # v0.9.1
"5d542dc09f3d9378d005092a4ad446bd405f819a"), # v0.11.1
ArchiveSource("https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.0.sdk.tar.xz",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if I should update this ? grep tells me that a few builds in Yggdrasil are using a more recent version : 13.3

@blegat blegat changed the title [LibTracyClient]/[TracyProfiler] Update to v0.11.1 [Tracy] Update to v0.10 Apr 30, 2025
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.

4 participants