3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Fixed detection of absolute paths in ABC for win32

This commit is contained in:
Clifford Wolf 2015-03-22 11:03:56 +01:00
parent 611cd010ae
commit 68bbb15214
3 changed files with 13 additions and 3 deletions

View file

@ -210,6 +210,7 @@ int run_command(const std::string &command, std::function<void(const std::string
std::string make_temp_file(std::string template_str = "/tmp/yosys_XXXXXX");
std::string make_temp_dir(std::string template_str = "/tmp/yosys_XXXXXX");
bool check_file_exists(std::string filename, bool is_exec = false);
bool is_absolute_path(std::string filename);
void remove_directory(std::string dirname);
template<typename T> int GetSize(const T &obj) { return obj.size(); }