diff --git a/src/chromium/configure/closeRCA.ts b/src/chromium/configure/closeRCA.ts deleted file mode 100644 index b97830a..0000000 --- a/src/chromium/configure/closeRCA.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * -close-rca-pass=true with 3fff408f20f8497b6ff511f7f37b0da96b19a16c compiler. - */ - -import path from 'path'; -import { chromiumGN } from '../../bin/lib.js'; -import { chromiumSource } from '../../chromium.js'; -import * as chromiumConfigure from "../configure.js"; -import { mkdir } from 'fs/promises'; -import { promisifySpawn } from '../../cli.js'; -import { spawn } from 'child_process'; -import { systemdRunOptions } from '../../commands/systemd.js'; -import { randomUUID } from 'crypto'; - - -const hash = '3fff408f20f8497b6ff511f7f37b0da96b19a16c'; - -const llvmPrefix = `/tmp/llvm-ly-install/${hash}`; - -const outDir = path.resolve(chromiumSource, "out", "simd", "close-rca", hash); - -await mkdir(outDir, { recursive: true }); - -const configureProcess = await chromiumConfigure.configure({ - source: chromiumSource, - gnExe: chromiumGN, - outDir, - gnArgs: { - clangBasePath: llvmPrefix, - }, - buildProfile: "norca" -}); - - -configureProcess.stdout.pipe(process.stdout); -configureProcess.stderr.pipe(process.stderr); - -await promisifySpawn(configureProcess); - -const uuid = randomUUID(); - -// Invoke ninja build -const systemdUnitName = uuid; - -console.log(`Running chromium build (hash: ${hash}) as ${systemdUnitName}`); - -await promisifySpawn(spawn('systemd-run', - [ - ...systemdRunOptions({ user: true, unit: systemdUnitName }), - 'ninja', - '-C', - outDir, - 'chrome' - ] -)); \ No newline at end of file diff --git a/src/chromium/configure/symbol.ts b/src/chromium/configure/symbol.ts deleted file mode 100644 index 33a95f7..0000000 --- a/src/chromium/configure/symbol.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * -close-rca-pass=true with 3fff408f20f8497b6ff511f7f37b0da96b19a16c compiler. - */ - -import path from 'path'; -import { chromiumGN } from '../../bin/lib.js'; -import { chromiumSource } from '../../chromium.js'; -import * as chromiumConfigure from "../configure.js"; -import { mkdir } from 'fs/promises'; -import { promisifySpawn } from '../../cli.js'; -import { spawn } from 'child_process'; -import { systemdRunOptions } from '../../commands/systemd.js'; -import { randomUUID } from 'crypto'; - - -const hash = '3fff408f20f8497b6ff511f7f37b0da96b19a16c'; - -const llvmPrefix = `/tmp/llvm-ly-install/${hash}`; - -const outDir = path.resolve(chromiumSource, "out", "simd", "symbolic", hash); - -await mkdir(outDir, { recursive: true }); - -const configureProcess = await chromiumConfigure.configure({ - source: chromiumSource, - gnExe: chromiumGN, - outDir, - gnArgs: { - clangBasePath: llvmPrefix, - symbolLevel: 2, - }, - buildProfile: "norca" -}); - - -configureProcess.stdout.pipe(process.stdout); -configureProcess.stderr.pipe(process.stderr); - -await promisifySpawn(configureProcess); - -const uuid = randomUUID(); - -// Invoke ninja build -const systemdUnitName = uuid; - -console.log(`Running chromium build (hash: ${hash}) as ${systemdUnitName}`); - -await promisifySpawn(spawn('systemd-run', - [ - ...systemdRunOptions({ user: true, unit: systemdUnitName }), - 'ninja', - '-C', - outDir, - 'chrome' - ] -)); \ No newline at end of file