diff options
author | Sean Gillespie <sean@swgillespie.me> | 2017-01-23 19:44:10 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-01-23 19:44:10 -0800 |
commit | bbd32c484f2d00a566217e52bddb6960c2ec0b22 (patch) | |
tree | 2e993c5409feea679563ac18fd5f7600e1412642 /build.sh | |
parent | d8b995b42714f4e83e0ee35a8ff481143cd62994 (diff) | |
download | coreclr-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-x | build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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" ;; |