SWDEV-465520: RHEL9 toolchain doesnt seem to support experimental filesystem
Change-Id: I6b1e7f42c49b1c7af412c0b68851724861c9970a
Dieser Commit ist enthalten in:
committet von
Ammar Elwazir
Ursprung
140f658820
Commit
1e69b3e2f6
@@ -46,7 +46,6 @@
|
||||
#include <cstdlib>
|
||||
#include <csetjmp>
|
||||
#include <exception>
|
||||
#include <experimental/filesystem>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
@@ -60,6 +59,7 @@
|
||||
#include "utils/helper.h"
|
||||
#include "trace_buffer.h"
|
||||
#include "core/session/att/att.h"
|
||||
#include "src/utils/filesystem.hpp"
|
||||
|
||||
|
||||
struct PluginHeaderPacket {
|
||||
@@ -69,7 +69,7 @@ struct PluginHeaderPacket {
|
||||
|
||||
#define SLEEP_CYCLE_LENGTH 100l
|
||||
|
||||
namespace fs = std::experimental::filesystem;
|
||||
namespace fs = rocprofiler::common::filesystem;
|
||||
|
||||
// Macro to check ROCProfiler calls status
|
||||
#define CHECK_ROCPROFILER(call) \
|
||||
@@ -439,7 +439,7 @@ void plugins_load(void* userdata) {
|
||||
|
||||
if (out_path.size() && !bIsATT) {
|
||||
try {
|
||||
std::experimental::filesystem::create_directories(out_path);
|
||||
rocprofiler::common::filesystem::create_directories(out_path);
|
||||
} catch (...) {
|
||||
}
|
||||
out_path = out_path + '/';
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren