blob: 485ec992d808e479d099ee1f43f49521ed6688a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff --git a/Tensile/ClientExecutable.py b/Tensile/ClientExecutable.py
index ca3809f..2d1d83b 100644
--- a/Tensile/ClientExecutable.py
+++ b/Tensile/ClientExecutable.py
@@ -36,6 +36,7 @@ class CMakeEnvironment:
args = ['cmake']
args += itertools.chain.from_iterable([ ['-D', '{}={}'.format(key, value)] for key,value in self.options.items()])
+ args += itertools.chain.from_iterable([ ['-G', 'Ninja'], [ '-D', 'CMAKE_EXPORT_COMPILE_COMMANDS=ON' ] ])
args += [self.sourceDir]
Common.print2(' '.join(args))
@@ -43,7 +44,7 @@ class CMakeEnvironment:
subprocess.check_call(args, cwd=Common.ensurePath(self.buildDir))
def build(self):
- args = ['make', '-j']
+ args = ['ninja']
Common.print2(' '.join(args))
with Common.ClientExecutionLock():
subprocess.check_call(args, cwd=self.buildDir)
|