From 9ba01d318f8d46ca942c6a16fd1fc7a84591a29e Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Tue, 18 Jun 2024 03:20:09 +0800 Subject: [PATCH] commands: rename & export SPECOptions -> RunCPUOptions --- commands/spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/spec.ts b/commands/spec.ts index 01bc59e..7df89bb 100644 --- a/commands/spec.ts +++ b/commands/spec.ts @@ -1,6 +1,6 @@ import { optFlag, undefList } from "./common" -interface SPECOptions { +export interface RunCPUOptions { /** * Config file, used for compiling flags, compiler versions, etc. */ @@ -51,7 +51,7 @@ interface SPECOptions { | "text")[]; } -export function runcpuOptions(o: SPECOptions): string[] { +export function runcpuOptions(o: RunCPUOptions): string[] { return [ ...optFlag("-c", o.config), ...optFlag("-i", o.workload),