From bbd32c484f2d00a566217e52bddb6960c2ec0b22 Mon Sep 17 00:00:00 2001 From: Sean Gillespie Date: Mon, 23 Jan 2017 19:44:10 -0800 Subject: [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. --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build.sh') 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" ;; -- cgit v1.2.3