Skip to content

Commit 0407f22

Browse files
committed
fix path
1 parent 21bec88 commit 0407f22

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python/config.py.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ import os
22
import sys
33

44
shlib_ext = "@LTDL_SHLIB_EXT@"
5-
llvm_obj_root = "@LLVM_BINARY_DIR@"
65

76
if sys.platform.startswith("win32"):
8-
mlir_runner_utils_dir = os.path.normpath(os.path.join(llvm_obj_root, "bin"))
7+
mlir_runner_utils_dir = os.path.normpath(os.path.join("@LLVM_BINARY_DIR@", "bin"))
98
shlib_prefix = ""
109
else:
11-
mlir_runner_utils_dir = os.path.normpath(os.path.join(llvm_obj_root, "lib"))
10+
mlir_runner_utils_dir = "@LLVM_LIBRARY_DIR@"
1211
shlib_prefix = "lib"
1312

1413
MLIR_C_RUNNER_UTILS = os.path.normpath(

0 commit comments

Comments
 (0)