summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorSean Gillespie <sean@swgillespie.me>2017-01-23 19:44:10 -0800
committerJan Kotas <jkotas@microsoft.com>2017-01-23 19:44:10 -0800
commitbbd32c484f2d00a566217e52bddb6960c2ec0b22 (patch)
tree2e993c5409feea679563ac18fd5f7600e1412642 /build.sh
parentd8b995b42714f4e83e0ee35a8ff481143cd62994 (diff)
downloadcoreclr-bbd32c484f2d00a566217e52bddb6960c2ec0b22.tar.gz
coreclr-bbd32c484f2d00a566217e52bddb6960c2ec0b22.tar.bz2
coreclr-bbd32c484f2d00a566217e52bddb6960c2ec0b22.zip
[Local GC] Provide an implementation of GCToOSInterface for Unix-like platforms (#8976)
* Add way to build with FEATURE_STANDALONE_GC from build.sh * Make CMake changes to build the GC 'PAL' as its own build target (to avoid -nostdinc). In addition, introduce a "GC PAL" that provides an implementation of GCToOSInterface on Unix-like platforms, for use with FEATURE_STANDALONE_GC.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 4302407292..8d03121479 100755
--- a/build.sh
+++ b/build.sh
@@ -47,6 +47,7 @@ usage()
echo "skipgenerateversion - disable version generation even if MSBuild is supported."
echo "cmakeargs - user-settable additional arguments passed to CMake."
echo "bindir - output directory (defaults to $__ProjectRoot/bin)"
+ echo "buildstandalonegc - builds the GC in a standalone mode. Can't be used with \"cmakeargs\"."
exit 1
}
@@ -724,7 +725,9 @@ while :; do
exit 1
fi
;;
-
+ buildstandalonegc)
+ __cmakeargs="-DFEATURE_STANDALONE_GC=1"
+ ;;
*)
__UnprocessedBuildArgs="$__UnprocessedBuildArgs $1"
;;