summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorJose Perez Rodriguez <joperezr@microsoft.com>2016-03-08 16:51:35 -0800
committerJose Perez Rodriguez <joperezr@microsoft.com>2016-03-09 17:19:25 -0800
commit227e648d5b2d605e81498ab0b9a06d5e2998590b (patch)
tree0c0306c63af4eb7e5399dc1b57515e20f87c1a16 /build.sh
parente22d5d34d1b32b32443880338e7e9a2a92a16487 (diff)
downloadcoreclr-227e648d5b2d605e81498ab0b9a06d5e2998590b.tar.gz
coreclr-227e648d5b2d605e81498ab0b9a06d5e2998590b.tar.bz2
coreclr-227e648d5b2d605e81498ab0b9a06d5e2998590b.zip
Disable OpenSourceSign and update Build Tools
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 0c1271a9ba..1fc26c450b 100755
--- a/build.sh
+++ b/build.sh
@@ -19,6 +19,7 @@ usage()
echo "skipnative - do not build native components."
echo "skipmscorlib - do not build mscorlib.dll."
echo "skiptests - skip the tests in the 'tests' subdirectory."
+ echo "disableoss - Disable Open Source Signing for mscorlib."
echo "cmakeargs - user-settable additional arguments passed to CMake."
exit 1
@@ -238,7 +239,7 @@ build_mscorlib()
echo "Commencing build of mscorlib components for $__BuildOS.$__BuildArch.$__BuildType"
# Invoke MSBuild
- $__ProjectRoot/Tools/corerun "$__MSBuildPath" /nologo "$__ProjectRoot/build.proj" /verbosity:minimal "/fileloggerparameters:Verbosity=normal;LogFile=$__LogsDir/MSCorLib_$__BuildOS__$__BuildArch__$__BuildType.log" /t:Build /p:__BuildOS=$__BuildOS /p:__BuildArch=$__BuildArch /p:__BuildType=$__BuildType /p:__IntermediatesDir=$__IntermediatesDir /p:UseRoslynCompiler=true /p:BuildNugetPackage=false /p:UseSharedCompilation=false
+ $__ProjectRoot/Tools/corerun "$__MSBuildPath" /nologo "$__ProjectRoot/build.proj" /verbosity:minimal "/fileloggerparameters:Verbosity=normal;LogFile=$__LogsDir/MSCorLib_$__BuildOS__$__BuildArch__$__BuildType.log" /t:Build /p:__BuildOS=$__BuildOS /p:__BuildArch=$__BuildArch /p:__BuildType=$__BuildType /p:__IntermediatesDir=$__IntermediatesDir /p:UseRoslynCompiler=true /p:BuildNugetPackage=false /p:UseSharedCompilation=false ${__SignTypeReal}
if [ $? -ne 0 ]; then
echo "Failed to build mscorlib."
@@ -384,6 +385,7 @@ __SkipCoreCLR=0
__SkipMSCorLib=0
__CleanBuild=0
__VerboseBuild=0
+__SignTypeReal=""
__CrossBuild=0
__ClangMajorVersion=3
__ClangMinorVersion=5
@@ -499,6 +501,10 @@ while :; do
__IncludeTests=
;;
+ disableoss)
+ __SignTypeReal="/p:SignType=real"
+ ;;
+
cmakeargs)
if [ -n "$2" ]; then
__cmakeargs="$2"