Fix ConfigureOnly option in build.sh
authorMichelle McDaniel <adiaaida@gmail.com>
Mon, 22 Aug 2016 18:01:41 +0000 (11:01 -0700)
committerMichelle McDaniel <adiaaida@gmail.com>
Tue, 23 Aug 2016 16:08:32 +0000 (09:08 -0700)
commit78b246f4babe6ee1cc6235c4c9b04e00f668cb93
tree6178fa30e8735c8654b524929f81e6d4ee459406
parent942b9eca0e5659967ed848d54445c434bfb76e27
Fix ConfigureOnly option in build.sh

ConfigureOnly is intended to run the CMake to configure the build, but
nothing else. However, when you passed configureonly to build.sh, it set
__SkipConfigure=1, which made it skip the configure step of the build.
This change fixes that by removing that option from the options set my
configureonly, and adds a check right after configure and right before
running the build to exit if we are only configuring.

Commit migrated from https://github.com/dotnet/coreclr/commit/a69d5a89a1c018f9179c0f02eca1e995cd52cf9b
src/coreclr/build.sh