adding pandas and pytest to rquirements.txt (#748)
* adding pandas and pytest to rquirements.txt * setting up requrements.txt * Update requirements - formatting packages - remove packages not directly used by rocprofiler-sdk * Update cmake formatting, linting, and options - if BUILD_CI -> force BUILD_DEVELOPER and BUILD_WERROR - support python installed clang-format and python installed clang-tidy * Update build.sh - split into install-deps.sh and install-apt-deps.sh * Improve code coverage --------- Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
This commit is contained in:
gecommit door
GitHub
bovenliggende
68aca98406
commit
e2d8ccad4b
@@ -20,11 +20,6 @@ target_link_libraries(
|
||||
rocprofiler::rocprofiler-build-flags rocprofiler::rocprofiler-memcheck
|
||||
rocprofiler::rocprofiler-common-library)
|
||||
|
||||
if(ROCPROFILER_BUILD_CODECOV)
|
||||
target_compile_definitions(rocprofiler-sdk-tool PRIVATE ROCPROFILER_CODECOV=1)
|
||||
target_link_libraries(rocprofiler-sdk-tool PRIVATE gcov)
|
||||
endif()
|
||||
|
||||
set_target_properties(
|
||||
rocprofiler-sdk-tool
|
||||
PROPERTIES LIBRARY_OUTPUT_DIRECTORY
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
#if defined(ROCPROFILER_CODECOV) && ROCPROFILER_CODECOV > 0
|
||||
#if defined(CODECOV) && CODECOV > 0
|
||||
extern "C" {
|
||||
extern void
|
||||
__gcov_dump(void);
|
||||
@@ -1731,7 +1731,7 @@ generate_output(buffer_type_t buffer_type)
|
||||
} // namespace
|
||||
|
||||
void
|
||||
tool_fini(void* tool_data)
|
||||
tool_fini(void* /*tool_data*/)
|
||||
{
|
||||
client_identifier = nullptr;
|
||||
client_finalizer = nullptr;
|
||||
@@ -1802,8 +1802,7 @@ tool_fini(void* tool_data)
|
||||
destructors = nullptr;
|
||||
}
|
||||
|
||||
(void) (tool_data);
|
||||
#if defined(ROCPROFILER_CODECOV) && ROCPROFILER_CODECOV > 0
|
||||
#if defined(CODECOV) && CODECOV > 0
|
||||
__gcov_dump();
|
||||
#endif
|
||||
}
|
||||
|
||||
Verwijs in nieuw issue
Block a user