<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git, branch wip/fragile-CPUTime001</title>
<subtitle>gitlab.haskell.org: ghc/ghc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/'/>
<entry>
<title>base: Mark CPUTime001 as fragile</title>
<updated>2019-05-30T13:31:17+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2019-05-30T13:29:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=4b25f21bf7d49984d4dcd6a459b26ad3b5abc91a'/>
<id>4b25f21bf7d49984d4dcd6a459b26ad3b5abc91a</id>
<content type='text'>
As noted in #16224, CPUTime001 has been quite problematic, reporting
non-monotonic timestamps in CI. Unfortunately I've been unable to
reproduce this locally.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As noted in #16224, CPUTime001 has been quite problematic, reporting
non-monotonic timestamps in CI. Unfortunately I've been unable to
reproduce this locally.
</pre>
</div>
</content>
</entry>
<entry>
<title>Hadrian: Add note about Libffi's Indicating Inputs #16653</title>
<updated>2019-05-29T20:07:24+00:00</updated>
<author>
<name>David Eichmann</name>
<email>EichmannD@gmail.com</email>
</author>
<published>2019-05-24T17:16:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=a1bf3413f850d0e8a68ecab6ee7f18f18b67ea56'/>
<id>a1bf3413f850d0e8a68ecab6ee7f18f18b67ea56</id>
<content type='text'>
[skip ci]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[skip ci]
</pre>
</div>
</content>
</entry>
<entry>
<title>Inline `Settings` into `DynFlags`</title>
<updated>2019-05-29T20:06:45+00:00</updated>
<author>
<name>John Ericson</name>
<email>git@JohnEricson.me</email>
</author>
<published>2019-05-22T03:00:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=bfccd832782353a000b430870a6602cc591c8b7a'/>
<id>bfccd832782353a000b430870a6602cc591c8b7a</id>
<content type='text'>
After the previous commit, `Settings` is just a thin wrapper around
other groups of settings. While `Settings` is used by GHC-the-executable
to initalize `DynFlags`, in principle another consumer of
GHC-the-library could initialize `DynFlags` a different way. It
therefore doesn't make sense for `DynFlags` itself (library code) to
separate the settings that typically come from `Settings` from the
settings that typically don't.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the previous commit, `Settings` is just a thin wrapper around
other groups of settings. While `Settings` is used by GHC-the-executable
to initalize `DynFlags`, in principle another consumer of
GHC-the-library could initialize `DynFlags` a different way. It
therefore doesn't make sense for `DynFlags` itself (library code) to
separate the settings that typically come from `Settings` from the
settings that typically don't.
</pre>
</div>
</content>
</entry>
<entry>
<title>Break up `Settings` into smaller structs</title>
<updated>2019-05-29T20:06:45+00:00</updated>
<author>
<name>John Ericson</name>
<email>git@JohnEricson.me</email>
</author>
<published>2019-05-22T03:00:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=ace2e3350fa7da1f7ebcdb882f1241da10a90c26'/>
<id>ace2e3350fa7da1f7ebcdb882f1241da10a90c26</id>
<content type='text'>
As far as I can tell, the fields within `Settings` aren't *intrinsicly*
related. They just happen to be initialized the same way (in particular
prior to the rest of `DynFlags`), and that is why they are grouped
together.

Within `Settings`, however, there are groups of settings that clearly do
share something in common, regardless of how they anything is
initialized.

In the spirit of GHC being a library, where the end cosumer may choose
to initialize this configuration in arbitrary ways, I made some new data
types for thoses groups internal to `Settings`, and used them to define
`Settings` instead. Hopefully this is a baby step towards a general
decoupling of the stateful and stateless parts of GHC.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As far as I can tell, the fields within `Settings` aren't *intrinsicly*
related. They just happen to be initialized the same way (in particular
prior to the rest of `DynFlags`), and that is why they are grouped
together.

Within `Settings`, however, there are groups of settings that clearly do
share something in common, regardless of how they anything is
initialized.

In the spirit of GHC being a library, where the end cosumer may choose
to initialize this configuration in arbitrary ways, I made some new data
types for thoses groups internal to `Settings`, and used them to define
`Settings` instead. Hopefully this is a baby step towards a general
decoupling of the stateful and stateless parts of GHC.
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide details in `plusSimplCount` errors</title>
<updated>2019-05-29T14:43:03+00:00</updated>
<author>
<name>Josh Meredith</name>
<email>joshmeredith2008@gmail.com</email>
</author>
<published>2019-05-28T11:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=2d2aa2031b9abc3bff7b5585ab4201948c8bba7d'/>
<id>2d2aa2031b9abc3bff7b5585ab4201948c8bba7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tcMatchesFun s/rho/sigma #16692</title>
<updated>2019-05-29T14:42:20+00:00</updated>
<author>
<name>Vladislav Zavialov</name>
<email>vlad.z.4096@gmail.com</email>
</author>
<published>2019-05-26T11:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=ae968d419d861dcc01cd5d45e96dc86e16c363c5'/>
<id>ae968d419d861dcc01cd5d45e96dc86e16c363c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CNF.c: Move debug functions behind ifdef</title>
<updated>2019-05-29T14:41:44+00:00</updated>
<author>
<name>Ömer Sinan Ağacan</name>
<email>omeragacan@gmail.com</email>
</author>
<published>2019-05-28T07:46:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=4d51e0d80f02483e86f4ad3bae47dcb3311def6b'/>
<id>4d51e0d80f02483e86f4ad3bae47dcb3311def6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>downsweep: Allow TargetFile not to exist when a buffer is given</title>
<updated>2019-05-29T14:41:02+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2019-05-20T10:17:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=fb26d46754564bfacda98618d86d3ee4eda1fcf2'/>
<id>fb26d46754564bfacda98618d86d3ee4eda1fcf2</id>
<content type='text'>
Currently 'getRootSummary' will fail with an exception if a 'TargetFile' is
given but it does not exist even if an input buffer is passed along for
this target.

In this case it is not necessary for the file to exist since the buffer
will be used as input for the compilation pipeline instead of the file
anyways.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently 'getRootSummary' will fail with an exception if a 'TargetFile' is
given but it does not exist even if an input buffer is passed along for
this target.

In this case it is not necessary for the file to exist since the buffer
will be used as input for the compilation pipeline instead of the file
anyways.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow using tagetContents for modules needing preprocessing</title>
<updated>2019-05-29T14:41:02+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2019-05-20T09:58:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=5b90e0a173f69c9babb3201f62cd5096798c5240'/>
<id>5b90e0a173f69c9babb3201f62cd5096798c5240</id>
<content type='text'>
This allows GHC API clients, most notably tooling such as
Haskell-IDE-Engine, to pass unsaved files to GHC more easily.

Currently when targetContents is used but the module requires preprocessing
'preprocessFile' simply throws an error because the pipeline does not
support passing a buffer.

This change extends `runPipeline` to allow passing the input buffer into
the pipeline. Before proceeding with the actual pipeline loop the input
buffer is immediately written out to a new tempfile.

I briefly considered refactoring the pipeline at large to pass around
in-memory buffers instead of files, but this seems needlessly complicated
since no pipeline stages other than Hsc could really support this at the
moment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows GHC API clients, most notably tooling such as
Haskell-IDE-Engine, to pass unsaved files to GHC more easily.

Currently when targetContents is used but the module requires preprocessing
'preprocessFile' simply throws an error because the pipeline does not
support passing a buffer.

This change extends `runPipeline` to allow passing the input buffer into
the pipeline. Before proceeding with the actual pipeline loop the input
buffer is immediately written out to a new tempfile.

I briefly considered refactoring the pipeline at large to pass around
in-memory buffers instead of files, but this seems needlessly complicated
since no pipeline stages other than Hsc could really support this at the
moment.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add hPutStringBuffer utility</title>
<updated>2019-05-29T14:41:02+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2019-05-20T04:03:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=cc0d05a78c3c731c771aaadd29c2c5c8d772d619'/>
<id>cc0d05a78c3c731c771aaadd29c2c5c8d772d619</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
