summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorjashook <jashoo@microsoft.com>2019-06-13 03:59:50 +0000
committerjashook <jashoo@microsoft.com>2019-06-13 03:59:50 +0000
commit5ca07f5369c881b0b2fde1518675d0a120c00b7e (patch)
tree85da7b60ddfe2c009a447e0c52fb54f0bba5c061 /build.sh
parentff5f14a7c3440ab918beb3aa5b1b14ec1dbaad68 (diff)
downloadcoreclr-5ca07f5369c881b0b2fde1518675d0a120c00b7e.tar.gz
coreclr-5ca07f5369c881b0b2fde1518675d0a120c00b7e.tar.bz2
coreclr-5ca07f5369c881b0b2fde1518675d0a120c00b7e.zip
Add ${__CommonMSBuildArgs} to pass buildtype and arch
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 826ce97b3b..6738cf5e93 100755
--- a/build.sh
+++ b/build.sh
@@ -152,7 +152,7 @@ restore_optdata()
# Parse the optdata package versions out of msbuild so that we can pass them on to CMake
# Writes into ${__IntermediatesDir}/optdataversion.txt
- ${__ProjectDir}/dotnet.sh msbuild $OptDataProjectFilePath /t:DumpPgoDataPackageVersion /nologo 2>&1 >/dev/null
+ ${__ProjectDir}/dotnet.sh msbuild $OptDataProjectFilePath /t:DumpPgoDataPackageVersion ${__CommonMSBuildArgs} /nologo 2>&1 >/dev/null
if [ ! -f "${__IntermediatesDir}/optdataversion.txt" ]; then
echo "Failed to get PGO data package version."
exit $?
@@ -161,7 +161,7 @@ restore_optdata()
__PgoOptDataVersion=$(<"${__IntermediatesDir}/optdataversion.txt")
# Writes into ${__IntermediatesDir}/ibcoptdataversion.txt
- ${__ProjectDir}/dotnet.sh msbuild $OptDataProjectFilePath /t:DumpIbcDataPackageVersion /nologo 2>&1 >/dev/null
+ ${__ProjectDir}/dotnet.sh msbuild $OptDataProjectFilePath /t:DumpIbcDataPackageVersion ${__CommonMSBuildArgs} /nologo 2>&1 >/dev/null
if [ ! -f "${__IntermediatesDir}/ibcoptdataversion.txt" ]; then
echo "Failed to get IBC data package version."
exit $?