Last active
September 5, 2018 12:58
-
-
Save osa1/0ed1165915fb6f23a29787915944f7a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -x | |
git submodule update --init | |
make distclean | |
./boot | |
./configure | |
make -j | |
./inplace/bin/ghc-stage2 --interactive +RTS -t -RTS <<<'sequence_ (replicate 100000000 (return ()))' 2>&1 1>/dev/null | python bisect_script.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import re | |
r = re.compile(r'(\d+)M in use') | |
for line in sys.stdin: | |
assert int(r.findall(line)[0]) < 100 | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment