mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-07 00:04:37 +00:00
* Legacy support: customized filesystem * Update cmakefile for python alternative path * fix build issues * CK has no boost dependency * More fixes to issues found on legay systems * fix clang format issue * Check if blob is correctly generated in cmake * fix the python issues * add a compiler flag for codegen when using alternative python * use target_link_options instead of target_compile_options --------- Co-authored-by: illsilin <Illia.Silin@amd.com>
25 lines
432 B
C++
25 lines
432 B
C++
#ifndef GUARD_HOST_TEST_RTC_INCLUDE_RTC_TMP_DIR
|
|
#define GUARD_HOST_TEST_RTC_INCLUDE_RTC_TMP_DIR
|
|
|
|
#include <string>
|
|
#include <ck/filesystem.hpp>
|
|
|
|
namespace rtc {
|
|
|
|
struct tmp_dir
|
|
{
|
|
CK::fs::path path;
|
|
tmp_dir(const std::string& prefix = "");
|
|
|
|
void execute(const std::string& cmd) const;
|
|
|
|
tmp_dir(tmp_dir const&) = delete;
|
|
tmp_dir& operator=(tmp_dir const&) = delete;
|
|
|
|
~tmp_dir();
|
|
};
|
|
|
|
} // namespace rtc
|
|
|
|
#endif
|