Skip to content

Commit 49eee8e

Browse files
committed
Implement --compile for the Kompjuta
1 parent 4c65e31 commit 49eee8e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

kmake/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ export async function run(options: any, loglog: any): Promise<string> {
10611061
const dothemath = is64bit();
10621062
let make: child_process.ChildProcess = null;
10631063

1064-
if (isPlatform(options, Platform.Linux) || isPlatform(options, Platform.Wasm) || isPlatform(options, Platform.Pi) || isPlatform(options, Platform.Emscripten)) {
1064+
if (isPlatform(options, Platform.Linux) || isPlatform(options, Platform.Wasm) || isPlatform(options, Platform.Pi) || isPlatform(options, Platform.Emscripten) || isPlatform(options, Platform.Kompjuta)) {
10651065
make = child_process.spawn('ninja', [], { cwd: path.join(options.to, options.buildPath) });
10661066
}
10671067
else if (isPlatform(options, Platform.FreeBSD)) {
@@ -1200,7 +1200,7 @@ export async function run(options: any, loglog: any): Promise<string> {
12001200
throw 'Run Error (code ' + err.code + ')';
12011201
}
12021202
else {
1203-
if (isPlatform(options, Platform.Linux) || isPlatform(options, Platform.Wasm) || isPlatform(options, Platform.Pi) || isPlatform(options, Platform.Emscripten)) {
1203+
if (isPlatform(options, Platform.Linux) || isPlatform(options, Platform.Wasm) || isPlatform(options, Platform.Pi) || isPlatform(options, Platform.Emscripten) || isPlatform(options, Platform.Kompjuta)) {
12041204
log.error('Ninja could not be run, falling back to make.');
12051205
make = child_process.spawn('make', ['-j', Options.cores.toString()], { cwd: path.join(options.to, options.buildPath) });
12061206
try {

lib/kmake/main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/kmake/main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)