chromium: configure +simd variant
This commit is contained in:
@@ -71,10 +71,28 @@ export function configure(source: string, gnExe: string, outDir: string, gnArgs:
|
|||||||
], { cwd: source });
|
], { cwd: source });
|
||||||
}
|
}
|
||||||
|
|
||||||
const hash = '7081b8371ae6460baabc370de4570ebd7e67f923';
|
|
||||||
|
|
||||||
|
|
||||||
const gnExe = path.resolve(chromiumSource, 'buildtools', 'linux64', 'gn-linux-sw64');
|
const gnExe = path.resolve(chromiumSource, 'buildtools', 'linux64', 'gn-linux-sw64');
|
||||||
const outDir = path.resolve(chromiumSource, 'out', 'Release');
|
|
||||||
|
|
||||||
await promisifySpawn(configure(chromiumSource, gnExe, outDir, gnArgs(path.resolve(lycEnv.sharedLLVMInstall, hash))))
|
async function configureNoSIMD() {
|
||||||
|
const hash = '7081b8371ae6460baabc370de4570ebd7e67f923';
|
||||||
|
|
||||||
|
const outDir = path.resolve(chromiumSource, 'out', 'Release');
|
||||||
|
|
||||||
|
await promisifySpawn(configure(chromiumSource, gnExe, outDir, gnArgs(path.resolve(lycEnv.sharedLLVMInstall, hash))));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
await configureSIMD();
|
||||||
|
async function configureSIMD() {
|
||||||
|
const hash = 'efa1fe54475ed4c333a6ec911cba80b7b4ba0963';
|
||||||
|
|
||||||
|
const outDir = path.resolve(chromiumSource, 'out', 'simd', 'Release');
|
||||||
|
const configureProcess = configure(chromiumSource, gnExe, outDir, gnArgs(path.resolve(lycEnv.sharedLLVMInstall, hash)));
|
||||||
|
|
||||||
|
configureProcess.stdout.pipe(process.stdout);
|
||||||
|
configureProcess.stderr.pipe(process.stderr);
|
||||||
|
|
||||||
|
await promisifySpawn(configureProcess);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user