未验证 提交 0aff5652 编写于 作者: A Ashley Hauck

Move stopping VBCSCompiler to build.sh

上级 7ba634ac
......@@ -32,6 +32,7 @@ build=false
test_=false
build_bootstrap=false
use_bootstrap=false
stop_vbcscompiler=false
# LTTNG is the logging infrastructure used by coreclr. Need this variable set
# so it doesn't output warnings to the console.
......@@ -78,6 +79,10 @@ do
use_bootstrap=true
shift 1
;;
--stop-vbcscompiler)
stop_vbcscompiler=true
shift 1
;;
*)
usage
exit 1
......@@ -115,6 +120,12 @@ then
dotnet build "${root_path}"/Compilers.sln ${build_args} "/bl:${binaries_path}/Build.binlog"
fi
if [[ "${stop_vbcscompiler}" == true ]]
then
echo "Stopping VBCSCompiler"
dotnet "${bootstrap_path}"/bincore/VBCSCompiler.dll -shutdown
fi
if [[ "${test_}" == true ]]
then
"${root_path}"/build/scripts/tests.sh "${build_configuration}"
......
......@@ -24,7 +24,4 @@ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
echo "Building this commit:"
git show --no-patch --pretty=raw HEAD
"${root_path}"/build.sh --restore --bootstrap --build --test "$@"
echo "Killing VBCSCompiler"
dotnet "${root_path}"/Binaries/Bootstrap/bincore/VBCSCompiler.dll -shutdown
"${root_path}"/build.sh --restore --bootstrap --build --stop-vbcscompiler --test "$@"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册