commands: rename & export SPECOptions -> RunCPUOptions
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { optFlag, undefList } from "./common"
|
import { optFlag, undefList } from "./common"
|
||||||
|
|
||||||
interface SPECOptions {
|
export interface RunCPUOptions {
|
||||||
/**
|
/**
|
||||||
* Config file, used for compiling flags, compiler versions, etc.
|
* Config file, used for compiling flags, compiler versions, etc.
|
||||||
*/
|
*/
|
||||||
@@ -51,7 +51,7 @@ interface SPECOptions {
|
|||||||
| "text")[];
|
| "text")[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export function runcpuOptions(o: SPECOptions): string[] {
|
export function runcpuOptions(o: RunCPUOptions): string[] {
|
||||||
return [
|
return [
|
||||||
...optFlag("-c", o.config),
|
...optFlag("-c", o.config),
|
||||||
...optFlag("-i", o.workload),
|
...optFlag("-i", o.workload),
|
||||||
|
|||||||
Reference in New Issue
Block a user