Closed ilumsden closed 2 months ago
@ilumsden We will have to switch DYAD_PROFILER macros to use DFTracer as well.
Good point. I was only thinking about it from the Python side since that was the only place where things were failing in CI. But, if I'm going to make these changes in the Python API, I should do it in the main body of DYAD too. I'll work on that after lunch
I recommend doing a search on DLIO_PROFILER and replacing it with DFTRACER.
You will have macros, apis, env variables.
@hariharan-devarajan I made all the changes you requested.
There are many needless styling modifications in this PR. Refrain from that in the future and focus on what the PR intends to fix.
While looking at CI for other PRs, I found that GitHub Actions was failing to build DYAD because it couldn't find cpp-logger. After looking into the issue, I realized that our check for the
<PackageName>_FOUND
variable afterfind_package
was simply using the wrong variable name. It was usingCPP_LOGGER_FOUND
, while it should have been usingcpp-logger_FOUND
. This PR corrects that variable name.After fixing this issue with cpp-logger, I also discovered that CI was failing due to @hariharan-devarajan's recent renaming of DLIO profiler to dftracer. This PR also modifies the Python bindings to use the new name (and other minor API changes in dftracer).