Skip to content

Commit 8e80aef

Browse files
committed
Profiling: move 3d-party Tracy dependency out of the repo, fetch on build when opt-in
1 parent 55c0732 commit 8e80aef

83 files changed

Lines changed: 9 additions & 49603 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1k/build.profiles

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,5 @@ lz4=v1.10.0
100100
sample-assets=v3.0.0-alpha22
101101
live2d-core=5.5
102102
openxr=release-1.1.61
103+
tracy=v0.13.1
103104
# --- endregion

1k/sources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
},
4141
"live2d-core": {
4242
"sources": { "origin": "https://github.com/axmolengine/live2d-axmol/releases/download/prebuilt/live2d-core-${ver}.zip" }
43+
},
44+
"tracy": {
45+
"sources": { "origin": "https://github.com/wolfpld/tracy.git" }
4346
}
4447
},
4548
"devtools": {

3rdparty/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,10 @@ else()
433433
endif()
434434

435435
if(AX_WITH_TRACY)
436-
ax_add_3rd(tracy)
436+
_1kfetch(tracy)
437+
set(TRACY_ENABLE ON CACHE BOOL "" FORCE)
438+
set(TRACY_ON_DEMAND ON CACHE BOOL "" FORCE)
439+
ax_add_3rd(${tracy_SOURCE_DIR} TARGETS TracyClient)
437440
endif()
438441

439442
# yasio

3rdparty/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
- License: MIT
251251

252252
## tracy
253-
- Upstream: https://github.com/wolfpld/tracy
253+
- [![Upstream](https://img.shields.io/github/v/release/wolfpld/tracy?label=Upstream)](https://github.com/wolfpld/tracy)
254254
- Version: 0.13.1
255255
- License: BSD-3-Clause
256256

3rdparty/tracy/CMakeLists.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

3rdparty/tracy/TracyClient.F90

Lines changed: 0 additions & 1292 deletions
This file was deleted.

3rdparty/tracy/TracyClient.cpp

Lines changed: 0 additions & 45 deletions
This file was deleted.

3rdparty/tracy/client/TracyAlloc.cpp

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)