option('build_wheel',
    type: 'boolean',
    value: false,
    description: 'Build as a Python wheel that installs plugin to vapoursynth/plugins package.',
)

# Execution provider libchromadec is built with for this (wheel) variant.
# Drives the chromadec subproject's with_onnxruntime/with_cuda/with_rocm/
# with_coreml options. On macOS the value is ignored: we always build native
# CoreML with no ONNX Runtime. 'none' disables the NN decoders entirely.
option('ep',
    type: 'combo',
    choices: ['cpu', 'cuda', 'migraphx', 'directml', 'coreml', 'none'],
    value: 'cpu',
    description: 'Neural-network execution provider for the bundled libchromadec.',
)

# Where the migraphx variant's ROCm user space comes from at run time: a
# system install (ROCm 7.x, AMD's ONNX Runtime with MIGraphX built in) or
# AMD's pip wheels (ROCm 10, MIGraphX as an ONNX Runtime plugin EP). 'pip'
# adds the vendor-runtime preload table for the _rocm_sdk_* packages.
option('rocm_runtime',
    type: 'combo',
    choices: ['system', 'pip'],
    value: 'system',
    description: 'ROCm user space the migraphx variant resolves at run time.',
)
