Skip to content

@pumpkin-plugins/static-hermes-runtime API / hermes/build / HermesBuildOptions

Interface: HermesBuildOptions ​

Defined in: hermes/build.ts:11

Paths, pins, patches, and injectable dependencies used to prepare Hermes artifacts.

Properties ​

cacheRoot ​

cacheRoot: string

Defined in: hermes/build.ts:13

Shared Hermes cache directory for locks and the build-state record.


environment? ​

optional environment?: ProcessEnv

Defined in: hermes/build.ts:15

Environment values that can affect compiler configuration.


filesystem? ​

optional filesystem?: HermesFileSystem

Defined in: hermes/build.ts:17

Optional filesystem implementation for tests.


gcVariant? ​

optional gcVariant?: HermesGcVariant

Defined in: hermes/build.ts:19

Garbage collector compiled into the WASI Hermes libraries; defaults to Hades.


hostBuild ​

hostBuild: string

Defined in: hermes/build.ts:21

CMake build directory for the host hermesc compiler.


packageRoot ​

packageRoot: string

Defined in: hermes/build.ts:23

Root of the Static Hermes runtime package.


patches ​

patches: readonly HermesPatch[]

Defined in: hermes/build.ts:25

Ordered patch series required before compiling Hermes.


pin ​

pin: HermesSourcePin

Defined in: hermes/build.ts:27

Validated source pin for this build.


pinFile ​

pinFile: string

Defined in: hermes/build.ts:29

JSON file containing the expected Hermes repository, branch, and commit.


platform? ​

optional platform?: Platform

Defined in: hermes/build.ts:31

Host platform override used for platform-specific executable paths and compiler identity.


process? ​

optional process?: HermesProcessRunner

Defined in: hermes/build.ts:33

Optional process runner for tests.


source ​

source: string

Defined in: hermes/build.ts:35

Pinned Hermes source checkout.


toolchainFile ​

toolchainFile: string

Defined in: hermes/build.ts:37

CMake toolchain file used for the WASI build.


wasiBuild ​

wasiBuild: string

Defined in: hermes/build.ts:39

CMake build directory for WASI Hermes and JSI libraries.


wasiSdk ​

wasiSdk: string

Defined in: hermes/build.ts:41

WASI SDK used by the WASI C and C++ compilers.

pumpkin-plugins documentation