Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengJiang committed Jul 19, 2022
1 parent 55a1481 commit 22adff8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/Conversion/TorchToMhlo/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
if not config.add_mhlo_target:
config.unsupported = True
if not config.enable_mhlo:
config.unsupported = True
2 changes: 1 addition & 1 deletion test/lit.site.cfg.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ config.llvm_exe_ext = "@EXEEXT@"
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
config.python_executable = sys.executable
config.enable_jit_ir_importer = @TORCH_MLIR_ENABLE_JIT_IR_IMPORTER@
config.add_mhlo_target = @TORCH_MLIR_ENABLE_MHLO@
config.enable_mhlo = @TORCH_MLIR_ENABLE_MHLO@

import lit.llvm
lit.llvm.initialize(lit_config, config)
Expand Down

0 comments on commit 22adff8

Please sign in to comment.