- Nov 28, 2013
-
-
Simon Marlow authored
-
- Nov 15, 2013
-
-
Simon Peyton Jones authored
-
- Oct 27, 2013
-
-
Herbert Valerio Riedel authored
This is a follow-up to 0620241a which addressed only the `Prim.hs` output; this commit adds the missing `LANGUAGE` pragmas for the generated `PrimopWrappers.hs` output as well. While at it, the redundant `CPP` pragma is removed from the generated `Prim.hs` file. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- Oct 26, 2013
-
-
Austin Seipp authored
This reverts commit 2f5db98e.
-
- Oct 25, 2013
-
-
Simon Marlow authored
-
- Oct 17, 2013
-
-
Joachim Breitner authored
This fixes #8452.
-
- Oct 12, 2013
-
-
Darin Morrison authored
Mac OS X 10.9 mkdir is apparently stricter than the Mac OS X 10.8 mkdir about which paths are considered valid arguments. For example, in a typical build on Mac OS X 10.9, the first of the following invocations of mkdirhier.sh will succeed but the second will fail: "inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//. # WORKS "inplace/bin/mkdirhier" bootstrapping/. # FAILS Simply prefixing the path arguments with "./" causes both to succeed: "inplace/bin/mkdirhier" ./utils/ghc-cabal/dist/build/tmp//. # WORKS "inplace/bin/mkdirhier" ./bootstrapping/. # WORKS Testing indicates failure on paths satisfying all of these criteria: - path is suffixed with "/." - path is only 1 level deep (e.g., "foo/."; _not_ "foo/bar/.") - path is _not_ prefixed with "./" This workaround prefixes "./" to the path argument passed to mkdir. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Oct 11, 2013
-
-
Krzysztof Gogolewski authored
-
Herbert Valerio Riedel authored
Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- Oct 02, 2013
-
-
leroux authored
This fixes the fingerprint script on windows, since we can't rely on using '#!/usr/bin/perl' Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Oct 01, 2013
-
-
Simon Marlow authored
-
- Sep 23, 2013
-
-
Geoffrey Mainland authored
-
Geoffrey Mainland authored
-
Geoffrey Mainland authored
-
Geoffrey Mainland authored
-
Geoffrey Mainland authored
width and element type. SIMD primops are now polymorphic in vector size and element type, but only internally to the compiler. More specifically, utils/genprimopcode has been extended so that it "knows" about SIMD vectors. This allows us to, for example, write a single definition for the "add two vectors" primop in primops.txt.pp and have it instantiated at many vector types. This generates a primop in GHC.Prim for each vector type at which "add two vectors" is instantiated, but only one data constructor for the PrimOp data type, so the code generator is much, much simpler.
-
Geoffrey Mainland authored
GHC.PrimopWrappers is only used by GHCi, which cannot evaluate LLVM-only primops in any case.
-
- Sep 18, 2013
-
-
Richard Eisenberg authored
This fixes bugs #8185, #8234, and #8246. The new syntax is explained in the comments to #8185, appears in the "Roles" subsection of the manual, and on the [wiki:Roles] wiki page. This change also removes the ability for a role annotation on type synonyms, as noted in #8234.
-
- Sep 15, 2013
-
-
bos authored
Our special ghc-cabal command needs to be told that we are building with dynamic library support when it does its copying. We do so by passing an extra parameter from ghc.mk.
-
- Sep 13, 2013
-
-
Joachim Breitner authored
In preparation for the primitive class Coercible
-
- Sep 11, 2013
-
-
Austin Seipp authored
Authored-by:
David Luposchainsky <dluposchainsky@gmail.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- Sep 07, 2013
-
-
It was sorted by version number so far. I also added a sort to the normal output (without --simple-output) since the source it comes from does not guarantee sortedness. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- Sep 04, 2013
-
-
chak@cse.unsw.edu.au. authored
* This partially fixes #8148. However, --with-ghc-4.8 will still not work given the rather dubious m4 macros and the failures in the test suite due to '-nodefaultlibs' still need to be fixed.
-
- Aug 26, 2013
-
-
Herbert Valerio Riedel authored
Apart from bumping build-dep version bounds, `ghc-cabal` is adapted to some minor Cabal API changes, and `bin-package-db` is made aware of Cabal's recently added AGPL licence support.
-
- Aug 23, 2013
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
- Aug 22, 2013
-
-
Gabor Greif authored
-
- Aug 14, 2013
-
-
Jan Stolarek authored
This patch modifies all comparison primops for Char#, Int#, Word#, Double#, Float# and Addr# to return Int# instead of Bool. A value of 1# represents True and 0# represents False. For a more detailed description of motivation for this change, discussion of implementation details and benchmarking results please visit the wiki page: http://hackage.haskell.org/trac/ghc/wiki/PrimBool There's also some cleanup: whitespace fixes in files that were extensively edited in this patch and constant folding rules for Integer div and mod operators (which for some reason have been left out up till now).
-
- Aug 06, 2013
-
-
Geoffrey Mainland authored
We were using SSE is some places and XMM in others. Better to keep a consistent naming scheme.
-
- Jun 24, 2013
-
-
Geoffrey Mainland authored
I was seeing many "WARNING: cache is out of date" errors during validation claiming that my package cache was out of date. This patch eliminates those errors by ensuring that when we rebuild the package cache, the modification time of the directory containing the package database is set to be the same as the modification time of the cache.
-
- Jun 15, 2013
-
-
takano-akio authored
-
takano-akio authored
The commit replaces mkWeakForeignEnv# with addCFinalizerToWeak#. This new primop mutates an existing Weak# object and adds a new C finalizer to it. This change removes an invariant in MarkWeak.c, namely that the relative order of Weak# objects in the list needs to be preserved across GC. This makes it easier to split the list into per-generation structures. The patch also removes a race condition between two threads calling finalizeWeak# on the same WEAK object at that same time.
-
- Jun 13, 2013
-
-
As spotted by Julian Gilbey and reported at http://bugs.debian.org/710305
-
- May 30, 2013
-
-
Ian Lynagh authored
-
- May 14, 2013
-
-
Ian Lynagh authored
There's now an internal -dll-split flag, which we use to tell GHC how the GHC package is split into 2 separate DLLs. This is used by Packages.isDllName to determine whether a call is within the same DLL, or whether it is a call to another DLL.
-
Ian Lynagh authored
It now consistently takes directory and distDirectory as its first 2 arguments. Also, it only supports configuring 1 package at a time now (we weren't using the ability to configure more than one at once).
-
- May 12, 2013
-
-
Ian Lynagh authored
Dynamic GHC is now working in-place, but pathologically slow due to the DLL split. (GHC assumes that all intra-package calls are in the same DLL, but that isn't true when we split the GHC package into 2 DLLs. That means that GHC's startup time is around 22 seconds, as it is doing run-time linking). Also, ghci isn't actually working yet: $ inplace/bin/ghc-stage2 --interactive GHCi, version 7.7.20130512: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... <command line>: can't load .so/.DLL for: HSghc-prim-0.3.1.0.dll (addDLL: could not load DLL) ghc-stage2.exe: HSghc-prim-0.3.1.0: The specified module could not be found.
-
- Apr 28, 2013
-
-
Ian Lynagh authored
-
Ian Lynagh authored
It was marked as "backwards compatibility" in 2006, so I think can be removed now. It allowed using old field names when looking at fields with ghc-pkg.
-
Ian Lynagh authored
It used to just ignore the --simple-output flag
-