update crossgen scripts
This commit is contained in:
parent
236fcd8f95
commit
19216b996b
3 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ set BIN_DIR=%CD%\bin
|
|||
popd
|
||||
|
||||
REM Replace with a robust method for finding the right crossgen.exe
|
||||
set CROSSGEN_UTIL=%NUGET_PACKAGES%\runtime.win7-x64.Microsoft.NETCore.Runtime.CoreCLR\1.0.1-rc2-23810\tools\crossgen.exe
|
||||
set CROSSGEN_UTIL=%NUGET_PACKAGES%\runtime.win7-x64.Microsoft.NETCore.Runtime.CoreCLR\1.0.1-rc2-23811\tools\crossgen.exe
|
||||
|
||||
REM Crossgen currently requires itself to be next to mscorlib
|
||||
copy %CROSSGEN_UTIL% /Y %BIN_DIR% > nul
|
||||
|
|
|
@ -44,7 +44,7 @@ fi
|
|||
READYTORUN=""
|
||||
|
||||
# Replace with a robust method for finding the right crossgen.exe
|
||||
CROSSGEN_UTIL=$NUGET_PACKAGES/runtime.$RID.Microsoft.NETCore.Runtime.CoreCLR/1.0.1-rc2-23810/tools/crossgen
|
||||
CROSSGEN_UTIL=$NUGET_PACKAGES/runtime.$RID.Microsoft.NETCore.Runtime.CoreCLR/1.0.1-rc2-23811/tools/crossgen
|
||||
|
||||
cd $BIN_DIR
|
||||
|
||||
|
@ -70,4 +70,4 @@ chmod +x crossgen
|
|||
./crossgen -nologo $READYTORUN -platform_assemblies_paths $BIN_DIR vbc.dll
|
||||
[ -e vbc.ni.exe ] && [ ! -e vbc.ni.dll ] && mv vbc.ni.exe vbc.ni.dll
|
||||
|
||||
info "CrossGen Roslyn Finished"
|
||||
info "CrossGen Roslyn Finished"
|
||||
|
|
|
@ -29,6 +29,6 @@ $REPOROOT/scripts/obtain/install.sh
|
|||
export PATH="$DOTNET_INSTALL_DIR/bin:$PATH"
|
||||
cd $REPOROOT/src/Microsoft.DotNet.Runtime
|
||||
dotnet restore
|
||||
dotnet publish -o "$DOTNET_INSTALL_DIR/share/dotnet/cli/runtime"
|
||||
dotnet publish -o "$DOTNET_INSTALL_DIR/share/dotnet/cli/runtime/coreclr"
|
||||
cp $DOTNET_INSTALL_DIR/share/dotnet/cli/runtime/coreclr/* $DOTNET_INSTALL_DIR/share/dotnet/cli/bin
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue