"tests/fixtures/custom_pipeline/what_ever.py" did not exist on "76d492ea49342b486dfbca1dbcdfbb052fe34112"
Commit 82824b0c authored by Artur Wojcik's avatar Artur Wojcik
Browse files

use Clang++ on Windows from HIP SDK

parent 6342ca06
......@@ -25,6 +25,9 @@
#define MIGRAPHX_GUARD_MIGRAPHX_COMPILE_SRC_HPP
#include <migraphx/config.hpp>
#ifdef _WIN32
#include <migraphx/env.hpp>
#endif
#include <migraphx/filesystem.hpp>
#include <functional>
#include <string>
......@@ -51,9 +54,17 @@ struct src_file
}
};
#ifdef _WIN32
MIGRAPHX_DECLARE_ENV_VAR(HIP_PATH)
#endif
struct MIGRAPHX_EXPORT src_compiler
{
#ifdef _WIN32
std::string compiler = (fs::path{string_value_of(HIP_PATH{})} / "bin" / "clang++.exe").string();
#else
std::string compiler = "c++";
#endif
std::string flags = "";
std::string output = "";
std::string launcher = "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment