Update ILLink build scripts
authorSwaroop Sridhar <swaroops@microsoft.com>
Wed, 5 Apr 2017 01:38:17 +0000 (18:38 -0700)
committerSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Fri, 7 Apr 2017 00:13:43 +0000 (17:13 -0700)
Update ILLINK build commands to reflect current CoreBuild of ILLinker.
Also remove the line that sets DoNotEmbedDescriptors,
since it is no longer necessary.

tests/scripts/build_illink.cmd
tests/scripts/build_illink.sh

index 67b7076..726bd44 100644 (file)
@@ -20,8 +20,7 @@ if defined doCLone (
 )
 
 pushd linker\corebuild
-call restore.cmd -RuntimeIdentifier=%rid%
-set DoNotEmbedDescriptors=1
+call restore.cmd -r %rid%
 cd ..\linker
 ..\corebuild\Tools\dotnetcli\dotnet.exe publish -r %rid% -c netcore_Release
 popd
index 1bc7670..73bbd1a 100755 (executable)
@@ -53,8 +53,7 @@ if [ ! -z "$clone" ]; then
 fi
 
 pushd linker/corebuild
-./restore.sh -RuntimeIdentifier=$rid
-export DoNotEmbedDescriptors=1
+./restore.sh -r $rid
 cd ../linker
 ../corebuild/Tools/dotnetcli/dotnet publish -r $rid -c netcore_Release
 popd