Skip to content

Commit

Permalink
Merge pull request #5 from IITH-Compilers/mlconfig-fix
Browse files Browse the repository at this point in the history
Mlconfig fix
  • Loading branch information
svkeerthy committed Jan 21, 2024
2 parents 9e8e45f + 3701acd commit 62439c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 0 additions & 4 deletions MLModelRunner/Utils/MLConfig.cpp
Expand Up @@ -7,7 +7,3 @@
//===----------------------------------------------------------------------===//

#include "MLModelRunner/Utils/MLConfig.h"

llvm::cl::opt<std::string> MLBridge::MLConfig::mlconfig(
"ml-config-path", llvm::cl::Hidden, llvm::cl::Optional,
llvm::cl::desc("Path to ML config files"), llvm::cl::init(""));
7 changes: 3 additions & 4 deletions include/MLModelRunner/Utils/MLConfig.h
Expand Up @@ -19,10 +19,9 @@
#include "llvm/Support/CommandLine.h"

namespace MLBridge {
class MLConfig {
public:
static llvm::cl::opt<std::string> mlconfig;
};
namespace MLConfig {
extern llvm::cl::opt<std::string> mlconfig;
} // namespace MLConfig
} // namespace MLBridge

#endif

0 comments on commit 62439c9

Please sign in to comment.