Files
compute-runtime/shared/source/compiler_interface/windows/os_compiler_cache_helper.cpp
Kacper Kasper ba4867c3d0 fix: compiler cache file extension and path creation
* When env variables did not have trailing slash, directory creation
could fail.
* If .cache in $HOME did not exist cache would have been disabled.

Signed-off-by: Kacper Kasper <kacper.k.kasper@intel.com>
2023-08-31 13:44:19 +02:00

24 lines
527 B
C++

/*
* Copyright (C) 2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/compiler_interface/os_compiler_cache_helper.h"
namespace NEO {
std::string makePath(const std::string &lhs, const std::string &rhs) {
return lhs + rhs;
}
bool checkDefaultCacheDirSettings(std::string &cacheDir, SettingsReader *reader) {
return false;
}
time_t getFileModificationTime(const std::string &path) {
return 0;
}
size_t getFileSize(const std::string &path) {
return 0;
}
} // namespace NEO