Skip to content

Commit 3baefde

Browse files
committed
fix python path on windows
Signed-off-by: Nathan Gauër <[email protected]>
1 parent 60f8f5d commit 3baefde

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
spirv_sim_root = os.path.join(config.llvm_src_root, "utils", "spirv-sim")
2-
config.substitutions.append(("spirv-sim", os.path.join(spirv_sim_root, "spirv-sim.py")))
2+
config.substitutions.append(
3+
(
4+
"spirv-sim",
5+
"'%s' %s"
6+
% (config.python_executable, os.path.join(spirv_sim_root, "spirv-sim.py")),
7+
)
8+
)

0 commit comments

Comments
 (0)