Merge pull request #14519 from adiaaida/fixThroughputScript
[platform/upstream/coreclr.git] / config.json
1 {
2   "settings": {
3     "CloudDropAccessToken": {
4       "description": "Azure access token",
5       "valueType": "property",
6       "values": [],
7       "defaultValue": ""
8     },
9     "CloudDropAccountName": {
10       "description": "Azure account name.",
11       "valueType": "property",
12       "values": [],
13       "defaultValue": ""
14     },
15     "__PublishPackages": {
16       "description": "Specifies whether to publish product packages.",
17       "valueType": "property",
18       "values": [ true, false ],
19       "defaultValue": true
20     },
21     "__PublishSymbols": {
22       "description": "Specifies whether to publish symbol packages.",
23       "valueType": "property",
24       "values": [ true, false ],
25       "defaultValue": true
26     },
27     "BuildNumberMajor": {
28       "description": "Product build major number.",
29       "valueType": "property",
30       "values": [],
31       "defaultValue": ""
32     },
33     "BuildNumberMinor": {
34       "description": "Product build minor number.",
35       "valueType": "property",
36       "values": [],
37       "defaultValue": ""
38     },
39     "ContainerName": {
40       "description": "Container name for Azure upload.",
41       "valueType": "property",
42       "values": [],
43       "defaultValue": ""
44     },
45     "__BlobNamePrefix": {
46       "description": "Blob Prefix for Azure download.",
47       "valueType": "property",
48       "values": [],
49       "defaultValue": ""
50     },
51     "MsBuildFileLogging": {
52       "description": "MsBuild logging options.",
53       "valueType": "passThrough",
54       "values": [],
55       "defaultValue": "/flp:v=normal"
56     },
57     "MsBuildEventLogging": {
58       "description": "MsBuild logging options.",
59       "valueType": "passThrough",
60       "values": [],
61       "defaultValue": "/l:BinClashLogger,Tools/net46/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log"
62     },
63     "FilterToOSGroup": {
64       "description": "Specifies the OSGroup.",
65       "valueType": "property",
66       "values": [ "Windows_NT", "Linux", "Unix", "OSX", "Android" ],
67       "defaultValue": "${OSName}"
68     },
69     "RestoreNETCorePlatforms": {
70       "description": "MsBuild target that restores the NETCore packages.",
71       "valueType": "target",
72       "values": [],
73       "defaultValue": ""
74     },
75     "RestoreOptData": {
76       "description": "MsBuild target that restores optimization profile data.",
77       "valueType": "target",
78       "values": [],
79       "defaultValue": ""
80     },
81     "RestoreDuringBuild": {
82       "description": "Enables/disables package restore.",
83       "valueType": "property",
84       "values": [ true, false ],
85       "defaultValue": true
86     },
87     "Project": {
88       "description": "Project where the commands are going to be applied.",
89       "valueType": "passThrough",
90       "values": [],
91       "defaultValue": ""
92     },
93     "__BuildType": {
94       "description": "Specifies the configuration to publish packages",
95       "valueType": "property",
96       "values": [ "release", "debug", "checked" ],
97       "defaultValue": "debug"
98     },
99     "__BuildArch": {
100       "description": "Specifies the architecture to publish packages",
101       "valueType": "property",
102       "values": [ "x64", "x86", "arm", "arm64" ],
103       "defaultValue": "${CPUArch}"
104     },
105     "__BuildOS": {
106       "description": "Specifies the OS to publish packages.",
107       "valueType": "property",
108       "values": [ "Linux", "OSX", "FreeBSD", "OpenBSD", "NetBSD", "SunOS", "Windows_NT", "Android" ],
109       "defaultValue": "${OSName}"
110     },
111     "__DistroRid": {
112       "description": "Specifies the distro rid for Unix OS.",
113       "valueType": "property",
114       "values": [],
115       "defaultValue": "${OSRid}"
116     },
117     "__VSVersion": {
118       "description": "Sets the Visual Studio version to use.",
119       "valueType": "property",
120       "values": [],
121       "defaultValue": "vs2015"
122     },
123     "__ProjectDir": {
124       "description": "Directory of the dir.props file.",
125       "valueType": "property",
126       "values": [],
127       "defaultValue": ""
128     },
129     "__SourceDir": {
130       "description": "Source directory.",
131       "valueType": "property",
132       "values": [],
133       "defaultValue": ""
134     },
135     "__PackagesDir": {
136       "description": "Packages directory.",
137       "valueType": "property",
138       "values": [],
139       "defaultValue": ""
140     },
141     "__RootBinDir": {
142       "description": "Root bin directory.",
143       "valueType": "property",
144       "values": [],
145       "defaultValue": ""
146     },
147     "__BinDir": {
148       "description": "Bin directory of specific OS, Arch and Type being built.",
149       "valueType": "property",
150       "values": [],
151       "defaultValue": ""
152     },
153     "__IntermediatesDir": {
154       "description": "Intermediates bin directory.",
155       "valueType": "property",
156       "values": [],
157       "defaultValue": ""
158     },
159     "__PackagesBinDir": {
160       "description": "Packages bin directory.",
161       "valueType": "property",
162       "values": [],
163       "defaultValue": ""
164     },
165     "__TestWorkingDir": {
166       "description": "Test working directory.",
167       "valueType": "property",
168       "values": [],
169       "defaultValue": ""
170     },
171     "GenerateVersionHeader": {
172       "description": "Generates _version.h",
173       "valueType": "passThrough",
174       "values": [],
175       "defaultValue": "/t:GenerateVersionHeader /p:GenerateVersionHeader=true"
176     },
177     "GenerateVersionSourceFile": {
178       "description": "Generate version.cpp",
179       "valueType": "passThrough",
180       "values": [],
181       "defaultValue": "/t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
182     },
183     "NativeVersionSourceFile": {
184       "description": "Provides location for version.cpp",
185       "valueType": "property",
186       "values": [],
187       "defaultValue": ""
188     },
189     "NativeVersionHeaderFile": {
190       "description": "Provides location for _version.h",
191       "valueType": "property",
192       "values": [],
193       "defaultValue": ""
194     },
195     "OverwriteCoreClrPackageVersion": {
196       "description": "Sets the property specifying to overwrite CoreClr Package version using OfficialBuildId",
197       "valueType": "property",
198       "values": [ true, false ],
199       "defaultValue": true
200     },
201     "OfficialBuildId": {
202       "description": "Official Build Id.",
203       "valueType": "property",
204       "values": [],
205       "defaultValue": ""
206     },
207     "Configuration": {
208       "description": "Specifies the build type for native build.",
209       "valueType": "property",
210       "values": [ "debug", "release", "checked" ],
211       "defaultValue": "debug"
212     },
213     "EnableProfileGuidedOptimization": {
214       "description": "Enables IBC profile optimizations if profile data are available.",
215       "valueType": "property",
216       "values": [ true, false ],
217       "defaultValue": false
218     },
219     "RestoreDefaultOptimizationDataPackage": {
220       "description": "Instructs BuildTools to restore the default OptimizationData package.",
221       "valueType": "property",
222       "values": [ true, false ],
223       "defaultValue": true
224     },
225     "UsePartialNGENOptimization": {
226       "description": "Adds the `-partialNGEN -minify` arguments when invoking IBCMerge.",
227       "valueType": "property",
228       "values": [ true, false ],
229       "defaultValue": true
230     },
231     "OptimizationDataDir": {
232       "description": "Sets the path where the build should look for IBC profile data.",
233       "valueType": "property",
234       "values": [],
235       "defaultValue": ""
236     },
237     "UseEnv": {
238       "description": "Set when building for arm64.",
239       "valueType": "property",
240       "values": [ true, false ],
241       "defaultValue": true
242     },
243     "Platform": {
244       "description": "Sets the build arch for native build.",
245       "valueType": "property",
246       "values": [ "x86", "x64", "arm", "arm64" ],
247       "defaultValue": "${CPUArch}"
248     },
249     "PortableBuild": {
250       "description": "Indicates if this is a portable build.",
251       "valueType": "property",
252       "values": [ "false", "true"],
253       "defaultValue": "true"
254     },
255     "Rebuild": {
256       "description": "Specifies rebuild target.",
257       "valueType": "target",
258       "values": [],
259       "defaultValue": ""
260     },
261     "MsBuildLog": {
262       "description": "Specifies build logs for build alias.",
263       "valueType": "passThrough",
264       "values": [],
265       "defaultValue": ""
266     },
267     "MsBuildWrn": {
268       "description": "Specifies build logs for build alias.",
269       "valueType": "passThrough",
270       "values": [],
271       "defaultValue": ""
272     },
273     "MsBuildErr": {
274       "description": "Specifies build logs for build alias.",
275       "valueType": "passThrough",
276       "values": [],
277       "defaultValue": ""
278     },
279     "BuildNugetPackage": {
280       "description": "Specifies to build nuget packages.",
281       "valueType": "property",
282       "values": [ true, false ],
283       "defaultValue": true
284     },
285     "SkipSOS": {
286       "description": "",
287       "valueType": "property",
288       "values": [ true, false ],
289       "defaultValue": false
290     },
291     "SignType": {
292       "description": "Sets the SignType.",
293       "valueType": "property",
294       "values": [ "real" ],
295       "defaultValue": ""
296     },
297     "CLRTestPriorityToBuild": {
298       "description": "Sets priority to build test.",
299       "valueType": "property",
300       "values": [],
301       "defaultValue": ""
302     },
303     "CreateTestOverlay": {
304       "description": "Runs CreateTestOverlay target.",
305       "valueType": "target",
306       "values": [],
307       "defaultValue": ""
308     },
309     "CreateNonWindowsTestOverlay": {
310       "description": "Runs CreateNonWindowsTestOverlay target.",
311       "valueType": "target",
312       "values": [],
313       "defaultValue": ""
314     },
315     "Verbosity": {
316       "description": "Sets build verbosity.",
317       "valueType": "passThrough",
318       "values": [],
319       "defaultValue": "/v:normal"
320     },
321     "Build": {
322       "description": "Runs the build target.",
323       "valueType": "target",
324       "values": [],
325       "defaultValue": ""
326     },
327     "UseSharedCompilation": {
328       "description": "Sets the use shared compilation property.",
329       "valueType": "property",
330       "values": [ true, false ],
331       "defaultValue": true
332     },
333     "UpdateInvalidPackageVersions": {
334       "description": "Runs the target to update package versions.",
335       "valueType": "target",
336       "values": [],
337       "defaultValue": ""
338     },
339     "GenerateRuntimeLayout": {
340       "description": "Generates Core_Root folder",
341       "valueType": "property",
342       "values": [ true, false ],
343       "defaultValue": true
344     },
345     "BuildTestsAgainstPackages": {
346       "description": "Sets the property specifying if we're building tests against packages",
347       "valueType": "property",
348       "values": [ true, false ],
349       "defaultValue": true
350     },
351     "TargetsWindows": {
352       "description": "Sets the property specifying if the tests we're building will target Windows",
353       "valueType": "property",
354       "values": [ true, false ],
355       "defaultValue": true
356     },
357     "PublishTestNativeBins": {
358       "description": "Publishes test native binaries to Azure on non-windows",
359       "valueType": "property",
360       "values": [ true, false ],
361       "defaultValue": true
362     },
363     "BuildWrappers": {
364       "description": "Builds test Xunit wrappers",
365       "valueType": "property",
366       "values": [ true, false ],
367       "defaultValue": true
368     },
369     "Crossgen": {
370       "description": "Determines if we're running Crossgen tests",
371       "valueType": "property",
372       "values": [ true, false ],
373       "defaultValue": true
374     },
375     "RuntimeId": {
376       "description": "Specifies the OS to build Core_Root for",
377       "valueType": "property",
378       "values": [ "debian.8-x64", "fedora.24-x64", "fedora.25-x64", "opensuse.42.1-x64", "osx.10.12-x64", "rhel.7-x64", "ubuntu.14.04-x64", "ubuntu.16.04-x64", "ubuntu.16.10-x64", "android.21-arm64" ],
379       "defaultValue": "${__RuntimeId}"
380     },
381     "BatchRestorePackages": {
382       "description": "MsBuild target that restores the packages.",
383       "valueType": "target",
384       "values": [],
385       "defaultValue": ""
386     },
387     "BinPlaceRef": {
388       "description": "Place mscorlib.dll in bin/Product ref folder for building tests against",
389       "valueType": "target",
390       "values": [],
391       "defaultValue": ""
392     },
393     "BinPlaceProduct": {
394       "description": "Place test dependencies in bin/Product folder for building tests against",
395       "valueType": "target",
396       "values": [],
397       "defaultValue": ""
398     },
399     "CopyCrossgenToProduct": {
400       "description": "Place crossgen.exe in bin/Product folder for building tests against",
401       "valueType": "target",
402       "values": [],
403       "defaultValue": ""
404     },
405     "OptionalToolSource": {
406       "description": "URL of the nuget feed used by 'optional-tools'",
407       "valueType": "property",
408       "values": [],
409       "defaultValue": ""
410     },
411     "OptionalToolSourceUser": {
412       "description": "User name for authenticating to the optional tools feed",
413       "valueType": "property",
414       "values": [],
415       "defaultValue": ""
416     },
417     "OptionalToolSourcePassword": {
418       "description": "VSTS token for authenticating to the optional tools feed; requires 'package(READ)' permission",
419       "valueType": "property",
420       "values": [],
421       "defaultValue": ""
422     },
423     "ExtraParameters": {
424       "description": "Extra parameters will be passed to the selected command.",
425       "valueType": "passThrough",
426       "values": [],
427       "defaultValue": ""
428     }
429   },
430   "commands": {
431     "build": {
432       "alias": {
433         "generateHeaderWindows": {
434           "description": "Generates _version.h",
435           "settings": {
436             "GenerateVersionHeader": "default",
437             "NativeVersionHeaderFile": "default"
438           }
439         },
440         "generateHeaderUnix": {
441           "description": "Generates version.cpp",
442           "settings": {
443             "GenerateVersionSourceFile": "default",
444             "NativeVersionSourceFile": "default"
445           }
446         },
447         "verbose": {
448           "description": "Sets the verbosity",
449           "settings": {
450             "Verbosity": "/v:detailed"
451           }
452         },
453         "disableoss": {
454           "description": "Sets the sign type.",
455           "settings": {
456             "SignType": "real"
457           }
458         },
459         "buildType": {
460           "description": "Sets buildtype.",
461           "settings": {
462             "__BuildType": "default"
463           }
464         },
465         "buildArch": {
466           "description": "Sets buildarch.",
467           "settings": {
468             "__BuildArch": "default"
469           }
470         },
471         "buildOS": {
472           "description": "Sets the OS to build.",
473           "settings": {
474             "__BuildOS": "default"
475           }
476         },
477         "testOverlay": {
478           "description": "Runs test overlay target.",
479           "settings": {
480             "CreateTestOverlay": "default"
481           }
482         },
483         "priority": {
484           "description": "Sets CLRTestPriorityToBuild property.",
485           "settings": {
486             "CLRTestPriorityToBuild": "default"
487           }
488         },
489         "skipRestore": {
490           "description": "Skips restoring packages during build.",
491           "settings": {
492             "RestoreDuringBuild": false
493           }
494         },
495         "BuildTarget": {
496           "description": "Runs the build target.",
497           "settings": {
498             "Build": "default"
499           }
500         }
501       },
502       "defaultValues": {
503         "toolName": "msbuild",
504         "settings": {
505           "MsBuildLog": "default",
506           "MsBuildWrn": "default",
507           "MsBuildErr": "default",
508           "MsBuildEventLogging": "default",
509           "RestoreDefaultOptimizationDataPackage": "false",
510           "PortableBuild": "true",
511           "UsePartialNGENOptimization": "false"
512         }
513       }
514     },
515     "sync": {
516       "alias": {
517         "p": {
518           "description": "Restores all NuGet packages for repository.",
519           "settings": {
520             "Project": "./build.proj",
521             "RestoreDuringBuild": true,
522             "RestoreNETCorePlatforms": "default"
523           }
524         },
525         "optdata": {
526           "description": "Restores optimization profile data for the repository.",
527           "settings": {
528             "Project": "./build.proj",
529             "RestoreDuringBuild": true,
530             "RestoreOptData": "default"
531           }
532         },
533         "ab": {
534           "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
535           "settings": {
536             "Project": "./src/syncAzure.proj"
537           }
538         },
539         "n": {
540           "description": "Downloads test native binaries. The values for '-AzureAccount', '-AzureToken', and '-Container' are required",
541           "settings": {
542             "Project": "./src/syncAzure.proj",
543             "PublishTestNativeBins": "true"
544           }
545         },
546         "azureToken": {
547           "description": "Account token to connect to Azure Blob storage.",
548           "settings": {
549             "CloudDropAccessToken": "default"
550           }
551         },
552         "azureAccount": {
553           "description": "Account name to connect to Azure Blob storage.",
554           "settings": {
555             "CloudDropAccountName": "default"
556           }
557         },
558         "container": {
559           "description": "Container name to download from in Azure Blob storage.",
560           "settings": {
561             "ContainerName": "default"
562           }
563         },
564         "blobNamePrefix": {
565           "description": "Blob Prefix to download from in Azure container.",
566           "settings": {
567             "__BlobNamePrefix": "default"
568           }
569         },
570         "runtimeId": {
571           "description": "Runtime ID of the binaries in the specified container.",
572           "settings": {
573             "RuntimeId": "default"
574           }
575         },
576         "verbose": {
577           "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
578           "settings": {
579             "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
580           }
581         },
582         "buildMajor": {
583           "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
584           "settings": {
585             "BuildNumberMajor": "default"
586           }
587         },
588         "buildMinor": {
589           "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
590           "settings": {
591             "BuildNumberMinor": "default"
592           }
593         }
594       },
595       "defaultValues": {
596         "toolName": "msbuild",
597         "settings": {
598           "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
599         }
600       }
601     },
602     "publish-packages": {
603       "alias": {
604         "azureToken": {
605           "description": "Account token to connect to Azure Blob storage.",
606           "settings": {
607             "CloudDropAccessToken": "default"
608           }
609         },
610         "azureAccount": {
611           "description": "Account name to connect to Azure Blob storage.",
612           "settings": {
613             "CloudDropAccountName": "default"
614           }
615         },
616         "container": {
617           "description": "Container name to upload into in Azure Blob storage.",
618           "settings": {
619             "ContainerName": "default"
620           }
621         },
622         "buildArch": {
623           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
624           "settings": {
625             "__BuildArch": "default"
626           }
627         },
628         "buildType": {
629           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
630           "settings": {
631             "__BuildType": "default"
632           }
633         },
634         "buildOS": {
635           "description": "Specifies the OS to publish packages.",
636           "settings": {
637             "__BuildOS": "default"
638           }
639         },
640         "distroRid": {
641           "description": "Specifies distro rid for Unix OS.",
642           "settings": {
643             "__DistroRid": "default"
644           }
645         },
646         "PublishTestNativeBins": {
647           "description": "Publishes test native binaries.",
648           "settings": {
649             "PublishTestNativeBins": "default"
650           }
651         },
652         "PublishPackages": {
653           "description": "Publishes product packages.",
654           "settings": {
655             "__PublishPackages": "default"
656           }
657         },
658         "PublishSymbols": {
659           "description": "Publishes symbol packages.",
660           "settings": {
661             "__PublishSymbols": "default"
662           }
663         },
664       },
665       "defaultValues": {
666         "toolName": "msbuild",
667         "settings": {
668           "__BuildOS": "default",
669           "Project": "./src/publish.proj",
670           "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log"
671         }
672       }
673     },
674     "build-packages": {
675       "alias": {
676         "buildArch": {
677           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
678           "settings": {
679             "__BuildArch": "default"
680           }
681         },
682         "buildType": {
683           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
684           "settings": {
685             "__BuildType": "default"
686           }
687         },
688         "distroRid": {
689           "description": "Specifies distro rid for Unix OS.",
690           "settings": {
691             "__DistroRid": "default"
692           }
693         }
694       },
695       "defaultValues": {
696         "toolName": "msbuild",
697         "settings": {
698           "__BuildOS": "default",
699           "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
700           "MsBuildEventLogging": "default",
701           "PortableBuild": "true",
702           "Project": "src/.nuget/packages.builds"
703         }
704       }
705     }
706   },
707   "tools": {
708     "msbuild": {
709       "osSpecific": {
710         "windows": {
711           "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false",
712           "path": "Tools/msbuild.cmd"
713         },
714         "unix": {
715           "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount",
716           "path": "Tools/msbuild.sh"
717         }
718       },
719       "valueTypes": {
720         "property": "/p:{name}={value}",
721         "target": "/t:{name}",
722         "internal": "/{name}"
723       }
724     },
725     "terminal": {
726       "run": {
727         "windows": "cmd",
728         "unix": "sh"
729       },
730       "valueTypes": {}
731     }
732   }
733 }