diff options
author | Michael Sloan <mgsloan@gmail.com> | 2018-08-06 19:19:47 +0200 |
---|---|---|
committer | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2018-08-06 19:19:48 +0200 |
commit | e94cc29ef65d27536a9430c4c84665b6f6b7d65b (patch) | |
tree | 7b5bbaa4e9ef3e7ed93f27e72e140b7cdea3ec5c /.gitignore | |
parent | f811685c3c1579333743da135c8cb80924aea4ce (diff) | |
download | haskell-e94cc29ef65d27536a9430c4c84665b6f6b7d65b.tar.gz |
Use -fobject-code in the GHCi script for loading GHC
Summary:
My very last commit to D4904 removed -fobject-code. I should have tested this
more thoroughly, because it is required to do a fresh ghci load, as some code
uses unboxed tuples.
One of my motivations for doing this was that if you run the script without
passing -odir / -hidir, it would pollute the source tree with .hi and .o files.
This also appeared to break subsequent builds. I've made it much less likely
that this will happen by instead specifying -odir and -hidir within the ghci
script rather than on the commandline.
I plan to open a separate diff which adds a test that these scripts work.
Until this patch is merged, the workaround is to do `./utils/ghc-in-ghci/run.sh -fobject-code`
Reviewers: bgamari, alpmestan, monoidal
Reviewed By: alpmestan, monoidal
Subscribers: alpmestan, rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D5015
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 7e2425c964..c72d044473 100644 --- a/.gitignore +++ b/.gitignore @@ -204,3 +204,8 @@ GIT_COMMIT_ID # Should be equal to testdir_suffix from testsuite/driver/testlib.py. *.run + +# ----------------------------------------------------------------------------- +# Output of ghc-in-ghci + +/.ghci-objects/
\ No newline at end of file |