Skip to content

Commit 9076250

Browse files
committed
Force ninja in testlib cmake build on windows
1 parent 9c3fbb6 commit 9076250

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graalpython/com.oracle.graal.python.test/src/tests/testlib_helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ def build_testlib(tmpdir, orig_testlib):
5252
testlib_build.mkdir(parents=True, exist_ok=True)
5353

5454
cmd = ["cmake", "-DCMAKE_BUILD_TYPE=Release", ".."]
55+
if sys.platform == 'win32':
56+
cmd += ["-G", "Ninja"]
5557
print("Running:", shlex.join(cmd))
5658
subprocess.check_call(cmd, cwd=str(testlib_build))
5759
cmd = ["cmake", "--build", ".", "--config", "Release"]

0 commit comments

Comments
 (0)