Skip to content

Commit

Permalink
[mycpp/examples] Run with old library, not gc_heap for now.
Browse files Browse the repository at this point in the history
Needs NewDict().
  • Loading branch information
Andy Chu committed Jan 7, 2021
1 parent eb035e8 commit d5a31dc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mycpp/setup.sh
Expand Up @@ -46,11 +46,13 @@ build() {
# Hooks needs because mycpp/run.sh needs to be in the mycpp/ dir.
#

# TODO: Restore GC=1 after d = {} is translated to NewDict().

build-examples() {
### Build all mycpp/examples

# TODO: examples/parse expr.asdl needs NewStr instead of new Str()
export GC=1
# export GC=1

export MYPY_REPO

Expand All @@ -65,7 +67,7 @@ test-examples() {
### Test all mycpp/examples

# This works!
export GC=1
# export GC=1

cd $THIS_DIR
./run.sh test-all
Expand All @@ -75,7 +77,7 @@ benchmark-examples() {
### Benchmark all mycpp/examples

# 'files' has a different result?
export GC=1
# export GC=1

cd $THIS_DIR
./run.sh benchmark-all
Expand Down

0 comments on commit d5a31dc

Please sign in to comment.