Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2021-03-19 17:53:10 +0300
committerGitHub <noreply@github.com>2021-03-19 17:53:10 +0300
commit9cdfa3e85c944631642469875ac9e798f7ae5cdf (patch)
treec895b5c931a948ec2968850263781f015368db75 /src/coreclr/build-runtime.sh
parentc37395208c35770a0203785b886f990ee5c12fcd (diff)
Add clr.iltools subset (#49545)
* Add new subset to build only the IL tools (ilasm/ildasm) (enabled by default) * New -skipiltools argument to src/coreclr/build-runtime.{cmd,sh} (skips building the IL tools if present) * Actually make -skipjit argument work to not build the JIT & VM
Diffstat (limited to 'src/coreclr/build-runtime.sh')
-rwxr-xr-xsrc/coreclr/build-runtime.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/coreclr/build-runtime.sh b/src/coreclr/build-runtime.sh
index 25cf3e06ea6..3f16c82c323 100755
--- a/src/coreclr/build-runtime.sh
+++ b/src/coreclr/build-runtime.sh
@@ -25,6 +25,7 @@ usage_list+=("-staticanalyzer: skip native image generation.")
usage_list+=("-skipjit: skip building jit.")
usage_list+=("-skipalljits: skip building crosstargetting jits.")
usage_list+=("-skipruntime: skip building runtime.")
+usage_list+=("-skipiltools: skip building IL tools.")
usage_list+=("-paltests: build the pal tests.")
setup_dirs_local()
@@ -137,6 +138,10 @@ handle_arguments_local() {
__BuildRuntime=0
;;
+ skipiltools|-skipiltools)
+ __BuildILTools=0
+ ;;
+
paltests|-paltests)
__BuildPALTests=1
;;
@@ -192,9 +197,11 @@ __UseNinja=0
__VerboseBuild=0
__ValidateCrossArg=1
__CMakeArgs=""
+__BuildJit=1
__BuildPALTests=0
__BuildAllJits=1
__BuildRuntime=1
+__BuildILTools=1
source "$__ProjectRoot"/_build-commons.sh
@@ -247,7 +254,7 @@ restore_optdata
# Build the coreclr (native) components.
__CMakeArgs="-DCLR_CMAKE_PGO_INSTRUMENT=$__PgoInstrument -DCLR_CMAKE_OPTDATA_PATH=$__PgoOptDataPath -DCLR_CMAKE_PGO_OPTIMIZE=$__PgoOptimize $__CMakeArgs"
-__CMakeArgs="-DCLR_CMAKE_BUILD_SUBSET_JIT=$__BuildJit -DCLR_CMAKE_BUILD_SUBSET_ALLJITS=$__BuildAllJits -DCLR_CMAKE_BUILD_SUBSET_RUNTIME=$__BuildRuntime $__CMakeArgs"
+__CMakeArgs="-DCLR_CMAKE_BUILD_SUBSET_JIT=$__BuildJit -DCLR_CMAKE_BUILD_SUBSET_ALLJITS=$__BuildAllJits -DCLR_CMAKE_BUILD_SUBSET_RUNTIME=$__BuildRuntime $__CMakeArgs -DCLR_CMAKE_BUILD_SUBSET_ILTOOLS=$__BuildILTools"
__CMakeArgs="-DCLR_CMAKE_BUILD_TESTS=$__BuildPALTests $__CMakeArgs"
if [[ "$__SkipConfigure" == 0 && "$__CodeCoverage" == 1 ]]; then