Merge pull request #6577 from lukasztomczyk/threadpool-spinwaitconfig
[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     "BuildNumberMajor": {
16       "description": "Product build major number.",
17       "valueType": "property",
18       "values": [],
19       "defaultValue": ""
20     },
21     "BuildNumberMinor": {
22       "description": "Product build minor number.",
23       "valueType": "property",
24       "values": [],
25       "defaultValue": ""
26     },
27     "MsBuildParameters": {
28       "description": "MsBuild building options.",
29       "valueType": "passThrough",
30       "values": [],
31       "defaultValue": "/nologo /verbosity:minimal /clp:Summary"
32     },
33     "MsBuildFileLogging": {
34       "description": "MsBuild logging options.",
35       "valueType": "passThrough",
36       "values": [],
37       "defaultValue": "/flp:v=normal"
38     },
39     "MsBuildEventLogging": {
40       "description": "MsBuild logging options.",
41       "valueType": "passThrough",
42       "values": [],
43       "defaultValue": "/l:BinClashLogger,Tools/net45/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log"
44     },
45     "FilterToOSGroup": {
46       "description": "Specifies the OSGroup.",
47       "valueType": "property",
48       "values": [ "Windows_NT", "Linux", "Unix", "OSX" ],
49       "defaultValue": "${OSName}"
50     },
51     "RestoreNETCorePlatforms": {
52       "description": "MsBuild target that restores the NETCore packages.",
53       "valueType": "target",
54       "values": [],
55       "defaultValue": ""
56     },
57     "RestoreDuringBuild": {
58       "description": "Enables/disables package restore.",
59       "valueType": "property",
60       "values": [ true, false ],
61       "defaultValue": true
62     },
63     "Project": {
64       "description": "Project where the commands are going to be applied.",
65       "valueType": "passThrough",
66       "values": [],
67       "defaultValue": ""
68     },
69     "__BuildType": {
70       "description": "Specifies the configuration to publish packages",
71       "valueType": "property",
72       "values": [ "release", "debug", "checked" ],
73       "defaultValue": "debug"
74     },
75     "__BuildArch": {
76       "description": "Specifies the architecture to publish packages",
77       "valueType": "property",
78       "values": [ "x64", "x86", "arm", "arm64" ],
79       "defaultValue": "${CPUArch}"
80     },
81     "__BuildOS": {
82       "description": "Specifies the OS to publish packages.",
83       "valueType": "property",
84       "values": [ "Linux", "OSX", "FreeBSD", "OpenBSD", "NetBSD", "SunOS", "Windows_NT" ],
85       "defaultValue": "${OSName}"
86     },
87     "__DistroRid": {
88       "description": "Specifies the distro rid for Unix OS.",
89       "valueType": "property",
90       "values": [],
91       "defaultValue": "${OSRid}"
92     },
93     "__VSVersion": {
94       "description": "Sets the Visual Studio version to use.",
95       "valueType": "property",
96       "values": [],
97       "defaultValue": "vs2015"
98     },
99     "__ProjectDir": {
100       "description": "Directory of the dir.props file.",
101       "valueType": "property",
102       "values": [],
103       "defaultValue": ""
104     },
105     "__SourceDir": {
106       "description": "Source directory.",
107       "valueType": "property",
108       "values": [],
109       "defaultValue": ""
110     },
111     "__PackagesDir": {
112       "description": "Packages directory.",
113       "valueType": "property",
114       "values": [],
115       "defaultValue": ""
116     },
117     "__RootBinDir": {
118       "description": "Root bin directory.",
119       "valueType": "property",
120       "values": [],
121       "defaultValue": ""
122     },
123     "__BinDir": {
124       "description": "Bin directory of specific OS, Arch and Type being built.",
125       "valueType": "property",
126       "values": [],
127       "defaultValue": ""
128     },
129     "__IntermediatesDir": {
130       "description": "Intermediates bin directory.",
131       "valueType": "property",
132       "values": [],
133       "defaultValue": ""
134     },
135     "__PackagesBinDir": {
136       "description": "Packages bin directory.",
137       "valueType": "property",
138       "values": [],
139       "defaultValue": ""
140     },
141     "__TestWorkingDir": {
142       "description": "Test working directory.",
143       "valueType": "property",
144       "values": [],
145       "defaultValue": ""
146     },
147     "GenerateVersionHeader": {
148       "description": "Generates _version.h",
149       "valueType": "passThrough",
150       "values": [],
151       "defaultValue": "/t:GenerateVersionHeader /p:GenerateVersionHeader=true"
152     },
153     "GenerateVersionSourceFile": {
154       "description": "Generate version.cpp",
155       "valueType": "passThrough",
156       "values": [],
157       "defaultValue": "/t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
158     },
159     "NativeVersionSourceFile": {
160       "description": "Provides location for version.cpp",
161       "valueType": "property",
162       "values": [],
163       "defaultValue": ""
164     },
165     "NativeVersionHeaderFile": {
166       "description": "Provides location for _version.h",
167       "valueType": "property",
168       "values": [],
169       "defaultValue": ""
170     },
171     "OfficialBuildId": {
172       "description": "Official Build Id.",
173       "valueType": "property",
174       "values": [],
175       "defaultValue": ""
176     },
177     "Configuration": {
178       "description": "Specifies the build type for native build.",
179       "valueType": "property",
180       "values": [ "debug", "release", "checked" ],
181       "defaultValue": "debug"
182     },
183     "UseEnv": {
184       "description": "Set when building for arm64.",
185       "valueType": "property",
186       "values": [ true, false ],
187       "defaultValue": true
188     },
189     "Platform": {
190       "description": "Sets the build arch for native build.",
191       "valueType": "property",
192       "values": [ "x86", "x64", "arm", "arm64" ],
193       "defaultValue": "${CPUArch}"
194     },
195     "Rebuild": {
196       "description": "Specifies rebuild target.",
197       "valueType": "target",
198       "values": [],
199       "defaultValue": ""
200     },
201     "MsBuildLog": {
202       "description": "Specifies build logs for build alias.",
203       "valueType": "passThrough",
204       "values": [],
205       "defaultValue": ""
206     },
207     "MsBuildWrn": {
208       "description": "Specifies build logs for build alias.",
209       "valueType": "passThrough",
210       "values": [],
211       "defaultValue": ""
212     },
213     "MsBuildErr": {
214       "description": "Specifies build logs for build alias.",
215       "valueType": "passThrough",
216       "values": [],
217       "defaultValue": ""
218     },
219     "BuildNugetPackage": {
220       "description": "Specifies to build nuget packages.",
221       "valueType": "property",
222       "values": [ true, false ],
223       "defaultValue": true
224     },
225     "SignType": {
226       "description": "Sets the SignType.",
227       "valueType": "property",
228       "values": [ "real" ],
229       "defaultValue": ""
230     },
231     "maxcpucount": {
232       "description": "Msbuild internal command.",
233       "valueType": "internal",
234       "values": [],
235       "defaultValue": ""
236     },
237     "CLRTestPriorityToBuild": {
238       "description": "Sets priority to build test.",
239       "valueType": "property",
240       "values": [],
241       "defaultValue": ""
242     },
243     "IlasmRoundTrip": {
244       "description": "Sets ilasm round trip property.",
245       "valueType": "property",
246       "values": [ true, false ],
247       "defaultValue": true
248     },
249     "CreateTestOverlay": {
250       "description": "Runs CreateTestOverlay target.",
251       "valueType": "target",
252       "values": [],
253       "defaultValue": ""
254     },
255     "Verbosity": {
256       "description": "Sets build verbosity.",
257       "valueType": "passThrough",
258       "values": [],
259       "defaultValue": "/v:normal"
260     },
261     "Build": {
262       "description": "Runs the build target.",
263       "valueType": "target",
264       "values": [],
265       "defaultValue": ""
266     },
267     "UseSharedCompilation": {
268       "description": "Sets the use shared compilation property.",
269       "valueType": "property",
270       "values": [ true, false ],
271       "defaultValue": true
272     },
273     "UpdateInvalidPackageVersions": {
274       "description": "Runs the target to update package versions.",
275       "valueType": "target",
276       "values": [],
277       "defaultValue": ""
278     },
279     "ExtraParameters": {
280       "description": "Extra parameters will be passed to the selected command.",
281       "valueType": "passThrough",
282       "values": [],
283       "defaultValue": ""
284     }
285   },
286   "commands": {
287     "build": {
288       "alias": {
289         "generateHeaderWindows": {
290           "description": "Generates _version.h",
291           "settings": {
292             "GenerateVersionHeader": "default",
293             "NativeVersionHeaderFile": "default"
294           }
295         },
296         "generateHeaderUnix": {
297           "description": "Generates version.cpp",
298           "settings": {
299             "GenerateVersionSourceFile": "default",
300             "NativeVersionSourceFile": "default"
301           }
302         },
303         "verbose": {
304           "description": "Sets the verbosity",
305           "settings": {
306             "Verbosity": "/v:detailed"
307           }
308         },
309         "disableoss": {
310           "description": "Sets the sign type.",
311           "settings": {
312             "SignType": "real"
313           }
314         },
315         "buildType": {
316           "description": "Sets buildtype.",
317           "settings": {
318             "__BuildType": "default"
319           }
320         },
321         "buildArch": {
322           "description": "Sets buildarch.",
323           "settings": {
324             "__BuildArch": "default"
325           }
326         },
327         "buildOS": {
328           "description": "Sets the OS to build.",
329           "settings": {
330             "__BuildOS": "default"
331           }
332         },
333         "testOverlay": {
334           "description": "Runs test overlay target.",
335           "settings": {
336             "CreateTestOverlay": "default"
337           }
338         },
339         "priority": {
340           "description": "Sets CLRTestPriorityToBuild property.",
341           "settings": {
342             "CLRTestPriorityToBuild": "default"
343           }
344         },
345         "sequential": {
346           "description": "Sets sequential build",
347           "settings": {
348             "maxcpucount": "default"
349           }
350         },
351         "skipRestore": {
352           "description": "Skips restoring packages during build.",
353           "settings": {
354             "RestoreDuringBuild": false
355           }
356         },
357         "BuildTarget": {
358           "description": "Runs the build target.",
359           "settings": {
360             "Build": "default"
361           }
362         }
363       },
364       "defaultValues": {
365         "toolName": "msbuild",
366         "settings": {
367           "maxcpucount": "default",
368           "MsBuildParameters": "default",
369           "MsBuildLog": "default",
370           "MsBuildWrn": "default",
371           "MsBuildErr": "default"
372         }
373       }
374     },
375     "sync": {
376       "alias": {
377         "p": {
378           "description": "Restores all NuGet packages for repository.",
379           "settings": {
380             "Project": "./build.proj",
381             "RestoreDuringBuild": true,
382             "RestoreNETCorePlatforms": "default"
383           }
384         },
385         "ab": {
386           "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
387           "settings": {
388             "Project": "./src/syncAzure.proj"
389           }
390         },
391         "azureToken": {
392           "description": "Account token to connect to Azure Blob storage.",
393           "settings": {
394             "CloudDropAccessToken": "default"
395           }
396         },
397         "azureAccount": {
398           "description": "Account name to connect to Azure Blob storage.",
399           "settings": {
400             "CloudDropAccountName": "default"
401           }
402         },
403         "verbose": {
404           "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
405           "settings": {
406             "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
407           }
408         },
409         "buildMajor": {
410           "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
411           "settings": {
412             "BuildNumberMajor": "default"
413           }
414         },
415         "buildMinor": {
416           "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
417           "settings": {
418             "BuildNumberMinor": "default"
419           }
420         }
421       },
422       "defaultValues": {
423         "toolName": "msbuild",
424         "settings": {
425           "MsBuildParameters": "default",
426           "maxcpucount": "default",
427           "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
428         }
429       }
430     },
431     "publish-packages": {
432       "alias": {
433         "azureToken": {
434           "description": "Account token to connect to Azure Blob storage.",
435           "settings": {
436             "CloudDropAccessToken": "default"
437           }
438         },
439         "azureAccount": {
440           "description": "Account name to connect to Azure Blob storage.",
441           "settings": {
442             "CloudDropAccountName": "default"
443           }
444         },
445         "buildArch": {
446           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
447           "settings": {
448             "__BuildArch": "default"
449           }
450         },
451         "buildType": {
452           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
453           "settings": {
454             "__BuildType": "default"
455           }
456         },
457         "buildOS": {
458           "description": "Specifies the OS to publish packages.",
459           "settings": {
460             "__BuildOS": "default"
461           }
462         }
463       },
464       "defaultValues": {
465         "toolName": "msbuild",
466         "settings": {
467           "Project": "./src/publish.proj",
468           "MsBuildParameters": "default",
469           "maxcpucount": "default",
470           "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log"
471         }
472       }
473     },
474     "build-packages": {
475       "alias": {
476         "buildArch": {
477           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
478           "settings": {
479             "__BuildArch": "default"
480           }
481         },
482         "buildType": {
483           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
484           "settings": {
485             "__BuildType": "default"
486           }
487         },
488         "distroRid": {
489           "description": "Specifies distro rid for Unix OS.",
490           "settings": {
491             "__DistroRid": "default"
492           }
493         }
494       },
495       "defaultValues": {
496         "toolName": "msbuild",
497         "settings": {
498           "MsBuildParameters": "default",
499           "__BuildOS": "default",
500           "maxcpucount": "default",
501           "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
502           "MsBuildEventLogging": "default"
503         }
504       }
505     }
506   },
507   "tools": {
508     "msbuild": {
509       "run": {
510         "windows": "Tools\\msbuild.cmd",
511         "unix": "Tools/msbuild.sh"
512       },
513       "valueTypes": {
514         "property": "/p:{name}={value}",
515         "target": "/t:{name}",
516         "internal": "/{name}"
517       }
518     },
519     "terminal": {
520       "run": {
521         "windows": "cmd",
522         "unix": "sh"
523       },
524       "valueTypes": {}
525     }
526   }
527 }