summaryrefslogtreecommitdiff
path: root/utils/hsc2hs
Commit message (Collapse)AuthorAgeFilesLines
* Bump hsc2hs submoduleMoritz Angermann2018-03-041-0/+0
| | | | This should have been part of 5f6fcf78.
* Revert accidental hsc2hs submodule downgradeHerbert Valerio Riedel2017-12-071-0/+0
| | | | | This submodule update was committed unintentionally in fa29df02a1b0b926afb2525a258172dcbf0ea460
* Refactor ConDecl: Trac #14529Simon Peyton Jones2017-12-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch refactors HsDecls.ConDecl. Specifically * ConDeclGADT was horrible, with all the information hidden inside con_res_ty. Now it's kept separate, as it should be. * ConDeclH98: use [LHsTyVarBndr] instead of LHsQTyVars for the existentials. There is no implicit binding here. * Add a field con_forall to both ConDeclGADT and ConDeclH98 which says if there is an explicit user-written forall. * Field renamings in ConDecl con_cxt to con_mb_cxt con_details to con_args There is an accompanying submodule update to Haddock. Also the following change turned out to remove a lot of clutter: * add a smart constructor for HsAppsTy, namely mkHsAppsTy, and use it consistently. This avoids a lot of painful pattern matching for the common singleton case. Two api-annotation tests (T10278, and T10399) are broken, hence marking them as expect_broken(14529). Alan is going to fix them, probably by changing the con_forall field to con_forall :: Maybe SrcSpan instead of Bool
* utils/hsc2hs: update submoduleSergei Trofimovich2017-12-051-0/+0
| | | | | | | | | | | | | | | This pulls single change to fix building of cross-compilers: * ghc.mk: Use the same conditional install logic from unlit Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Reviewers: bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4248
* Bump hsc2hs submoduleBen Gamari2017-11-201-0/+0
|
* Update hsc2hs submodule to 0.68.2Ben Gamari2017-04-261-0/+0
|
* Bump hsc2hs submoduleBen Gamari2017-03-151-0/+0
|
* Bump hsc2hs submoduleBen Gamari2017-03-151-0/+0
| | | | | Fixes #13388. Also updates the expected output for T12504, which previously contained a redundant LINE pragma.
* Bump hsc2hs submoduleBen Gamari2017-01-261-0/+0
|
* base: Bump version to 4.10.0.0Ben Gamari2016-12-151-0/+0
| | | | Updates a number of submodules.
* Fixes #12504: Double-escape paths used to build call to hsc_lineRichard Cook2016-08-311-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | In outHsLine, paths passed to construct invocations of hsc_line must be escaped twice in order to generate a properly escaped string literal that will end up in the eventual LINE pragma emitted by this code. This is especially important on Windows paths, where backslashes would otherwise be treated as C escape sequences and result in the incorrect Windows paths. Adds test case to verify that hsc2hs properly escapes file paths in LINE pragmas Updates the hsc2hs submodule. See https://ghc.haskell.org/trac/ghc/ticket/12504 Reviewers: erikd, hvr, austin, bgamari, Phyx Reviewed By: erikd, Phyx Subscribers: thomie, Phyx, mpickering Differential Revision: https://phabricator.haskell.org/D2478 GHC Trac Issues: #12504
* Update hsc2hs submoduleHerbert Valerio Riedel2016-04-191-0/+0
| | | | This bumps the hsc2hs version to 0.68
* Bump hsc2hs submoduleBen Gamari2015-12-191-0/+0
| | | | Fixes #4340
* Update process submodule to process-1.4 releaseHerbert Valerio Riedel2015-11-021-0/+0
| | | | | We already used a process-1.4 snapshot with non-bumped version, so this commit is mostly a `.cabal` file upper-bound relaxation change.
* Update process submoduleHerbert Valerio Riedel2015-11-011-0/+0
| | | | | | | | | | This is needed to prepare for #11026 as this update relaxes the upper bounds on `base` to allow for `base-4.9.0.0` This also needs to relax a few upper bounds on process in some cabal files (there will be another process submodule update soon, as a major version bump of process' version is still pending)
* Build system: simplify install.mk.inThomas Miedema2015-08-211-0/+0
| | | | | | | | | | This will allow fixing #1851 more easily ("make install-strip" should work). This reverts 57e2a81c589103b50da80a9e378b1a11285bd521: "On Cygwin, use a Cygwin-style path for /bin/install's destination" Update submodule haddock and hsc2hs.
* Update hsc2hs submoduleReid Barton2015-04-051-0/+0
|
* Update filepath submodule to filepath-1.4 snapshotHerbert Valerio Riedel2015-03-111-0/+0
| | | | | | This also needs to update a couple of other submodules to update the upper bound on filepath to allow this major version bump to 1.4.0.0
* hsc2hs: update submoduleAustin Seipp2015-03-091-0/+0
| | | | | | This includes the fix for #9524. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Update hsc2hs submodule for de-tabbingHerbert Valerio Riedel2014-12-271-0/+0
|
* hsc2hs: Update submoduleAustin Seipp2014-10-291-0/+0
| | | | | | | | | This makes sure the --cross-compile mode can handle negative enum values. Differential Revision: https://phabricator.haskell.org/D301 Signed-off-by: Austin Seipp <austin@well-typed.com>
* Update hsc2hs submoduleJoachim Breitner2014-10-011-0/+0
| | | | to get David’s code improvements (#9654).
* Make Applicative a superclass of MonadAustin Seipp2014-09-091-0/+0
| | | | | | | | | | | | | | | | | | | | | Summary: This includes pretty much all the changes needed to make `Applicative` a superclass of `Monad` finally. There's mostly reshuffling in the interests of avoid orphans and boot files, but luckily we can resolve all of them, pretty much. The only catch was that Alternative/MonadPlus also had to go into Prelude to avoid this. As a result, we must update the hsc2hs and haddock submodules. Signed-off-by: Austin Seipp <austin@well-typed.com> Test Plan: Build things, they might not explode horribly. Reviewers: hvr, simonmar Subscribers: simonmar Differential Revision: https://phabricator.haskell.org/D13
* Convert loose sub-repos into proper submodules (re #8545)Herbert Valerio Riedel2014-06-251-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, the following sub-repos/modules are converted: - libffi-tarballs - libraries/array - libraries/deepseq - libraries/directory - libraries/dph - libraries/filepath - libraries/haskell2010 - libraries/haskell98 - libraries/hoopl - libraries/hpc - libraries/old-locale - libraries/old-time - libraries/parallel - libraries/process - libraries/stm - libraries/unix - nofib - utils/hsc2hs N.B. ghc-tarballs is not converted as it will probably be handled differently in the future. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Use the upstream hsc2hs repoIan Lynagh2008-07-239-1169/+0
|
* Sync hsc2hs's Main.hs with the Cabal repoIan Lynagh2008-07-221-86/+70
|
* More build system changes; hasktags is now built with CabalIan Lynagh2008-07-181-50/+3
|
* Tweak the hsc2hs wrapper scriptIan Lynagh2008-07-171-1/+1
|
* Do the building and installing of hsc2hs with the stage1 compilerIan Lynagh2008-07-171-14/+19
|
* Split up Cabal configure flag variables for more flexibilityIan Lynagh2008-07-111-2/+8
|
* Define CABAL in mk/cabal-flags.mk, rather than everywhere we use itIan Lynagh2008-07-101-3/+0
|
* Typo fixedIan Lynagh2008-07-101-1/+1
|
* Add hsc2hs.wrapperIan Lynagh2008-07-051-0/+13
|
* Fix hsc2hs finding its template file on WindowsIan Lynagh2008-07-053-6/+13
|
* Build hsc2hs with CabalIan Lynagh2008-07-053-112/+45
| | | | This is very rough around teh edges at the moment.
* Use the last compiler if more than one is specifiedIan Lynagh2008-07-051-2/+1
|
* In utils/hsc2hs, add LICENSE and hsc2hs.cabal from the standalone repoIan Lynagh2008-07-042-0/+59
|
* Fix the build with GHC 6.4Ian Lynagh2008-06-231-0/+4
|
* More commandline flag improvementsIan Lynagh2008-06-161-1/+1
| | | | | | | * Allow -ffoo flags to be deprecated * Mark some -ffoo flags as deprecated * Avoid using deprecated flags in error messages, in the build system, etc * Add a flag to en/disable the deprecated flag warning
* Use MD5 checksums for recompilation checking (fixes #1372, #1959)Simon Marlow2008-05-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | This is a much more robust way to do recompilation checking. The idea is to create a fingerprint of the ABI of an interface, and track dependencies by recording the fingerprints of ABIs that a module depends on. If any of those ABIs have changed, then we need to recompile. In bug #1372 we weren't recording dependencies on package modules, this patch fixes that by recording fingerprints of package modules that we depend on. Within a package there is still fine-grained recompilation avoidance as before. We currently use MD5 for fingerprints, being a good compromise between efficiency and security. We're not worried about attackers, but we are worried about accidental collisions. All the MD5 sums do make interface files a bit bigger, but compile times on the whole are about the same as before. Recompilation avoidance should be a bit more accurate than in 6.8.2 due to fixing #1959, especially when using -O.
* Mac OS X deployment target: piping opts through MakefilesManuel M T Chakravarty2008-02-211-0/+9
|
* All installed Haskell prgms have an inplace and an installed versionManuel M T Chakravarty2008-02-181-1/+8
| | | | | | | | | | | | | | | | | | | | | | | - GHC installs a range of compiled Haskell programs in addition to the actual compiler. To ensure that they all run on the platform targeted by the build (which may have different libraries installed than the build host), we need to make sure that all compiled Haskell code going into an install is build with the stage 1 compiler, not the bootstrap compiler. Getting this right is especially important on the Mac to enable builds that work on Mac OS X versions that are older than the one performing the build. - For all installed utils implemented in Haskell (i.e., ghc-pkg, hasktags, hsc2hs, runghc, hpc, and pwd) we compile two versions, an inplace version and a version for installation. The former is build by the bootstrap compiler during the stage 1 build and the latter is build by the stage 1 compiler during the stage 2 build. - This is really very much as the setup for ghc itself, only that we don't use separate stage1/ and stage2/ build directories. Instead, we clean before each build. CAVEAT: This only works properly if invoked from the toplevel Makefile. - Instead of UseStage1=YES (as used by the previous binary-dist-specific recompilation), we now use the same $(stage) variables as used for the compiler proper - to increase uniformity and to avoid extra conditionals for the install target.
* Remove some of the old compat stuff now that we assume GHC 6.4Simon Marlow2008-02-081-4/+0
|
* Add GMP_INCLUDE_DIRS in a couple of placesIan Lynagh2008-01-121-1/+9
| | | | Fixes the build on OpenBSD (trac #2009). Based on a patch from kili.
* default to installing runhaskell and hsc2hs again, but provide knobs to turn ↵Simon Marlow2007-10-251-1/+6
| | | | them off
* Remove hardtop_plat/FPTOOLS_TOP_ABS_PLATFORMIan Lynagh2007-09-061-5/+1
| | | | | | | They are now the same as hardtop/FPTOOLS_TOP_ABS, so use those instead. Also removed some substitutions of / for \, as we now use a Haskell program to find the top path, and it only makes paths with /s in.
* Use DESTDIR when installingIan Lynagh2007-08-281-1/+1
|
* compile the -inplace programs using $(HC), not $(GHC)Simon Marlow2007-07-311-1/+1
| | | | $(UseStage1) modifies $(HC) rather than $(GHC)
* Update the in-tree GMP; fixes trac #832Ian Lynagh2007-07-051-1/+1
| | | | | gmp is now in a top-level directory and we only have the tarball in the darcs repo. It gets untarred if it is needed.
* make inplace scripts less sensitive to /bin/sh quoting by avoiding \Simon Marlow2007-06-231-1/+1
|