commands: rename & export SPECOptions -> RunCPUOptions
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user