Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/lang/bun/files/patch-scripts_build.ts
49052 views
1
-- Add 'cpu' to the list of recognized build configuration fields.
2
-- This allows passing --cpu=<target> to scripts/build.ts to explicitly
3
-- set the target CPU microarchitecture.
4
5
--- scripts/build.ts.orig 2026-05-12 22:12:49 UTC
6
+++ scripts/build.ts
7
@@ -363,6 +363,7 @@ function parseArgs(argv: string[]): CliArgs {
8
"abi",
9
"buildType",
10
"mode",
11
+ "cpu",
12
"webkit",
13
"buildDir",
14
"cacheDir",
15
@@ -485,7 +486,7 @@ Options:
16
release-assertions, ci-*
17
--<field>=<value> Override a config field. Boolean fields take
18
on/off/true/false/yes/no/1/0.
19
- Fields: asan, lto, assertions, logs, baseline,
20
+ Fields: asan, lto, assertions, logs, baseline, cpu,
21
canary, valgrind, webkit (prebuilt|local),
22
buildDir, mode (full|cpp-only|link-only),
23
unifiedSources, timeTrace
24
25