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