summaryrefslogtreecommitdiff
path: root/distrib
Commit message (Collapse)AuthorAgeFilesLines
* Control CPP through settings file (#8683)Carter Tazio Schonwald2014-07-021-0/+59
| | | | | | | | | | | | | | | | Summary: Allow the CPP program and flag choices for GHC be configured via the the ghc settings file Test Plan: ran validate yesterday Reviewers: hvr, austin, mzero, simonmar Reviewed By: austin, mzero, simonmar Subscribers: mzero, simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D26
* Remove LANGUAGE pragrams implied by Haskell2010Herbert Valerio Riedel2014-05-142-3/+1
| | | | | | | | | Haskell2010 implies (at least) EmptyDataDecls, ForeignFunctionInterface, PatternGuards, DoAndIfThenElse, and RelaxedPolyRec. This is a follow-up to dd92e2179e3171a0630834b773c08d416101980d Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Replace all #!/usr/bin/perl with #!/usr/bin/env perlJoachim Breitner2014-04-301-1/+2
| | | | As suggested in #9057.
* Fix typoGabor Greif2014-03-231-1/+1
|
* add omitted FP_PROG_AR_SUPPORTS_ATFILE into the distribution configure.ac ↵Karel Gardas2014-02-191-0/+1
| | | | | | (fixes #8794) Signed-off-by: Austin Seipp <austin@well-typed.com>
* Globally replace "hackage.haskell.org" with "ghc.haskell.org"Simon Marlow2013-10-012-3/+3
|
* Detect linker information at runtime. Fixes Trac #6063Austin Seipp2013-06-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we did ./configure time checks to see if 'GNU ld' supported certain options. If it does, we bake those options into the link step. See Trac #5240. Unfortunately, the linker we use at runtime can change for several reasons. One is that the user specifies -pgml 'foo'. The other is if /usr/bin/ld or whatnot changes from when GHC was built. Those options mentioned earlier are specific to GNU ld, but many systems support GNU gold too. This is Trac #6063. So we need to check at runtime what linker we're using. This is actually a little bit complicated because we normally use the C compiler as our linker. Windows and OS X are also special here. Finally, this patch also unconditionally gives '--hash-size=31' and '--reduce-memory-overheads' to the system linker if it's GNU ld. These options have been supported for 8+ years from what I can see, and there are probably a lot of other reasons why GHC would not work with such an ancient binutils, all things considered. See Note [Run-time linker info] in SysTools for details. There are plenty of comments as well in the surrounding code. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Tweak the bindist comparison toolIan Lynagh2013-04-202-1/+6
| | | | | | It now just warns about files it doesn't recognise, rather than giving an error. This means that random text files etc in the same directory as the bindists don't make it fall over.
* Remove the Windows installerIan Lynagh2013-04-202-801/+0
| | | | We now leave making installers to the Haskell Platform.
* Add support for OSX ld's -filelist flagIan Lynagh2013-03-181-0/+1
| | | | | Without it, when linking the split objects for Language.Haskell.TH.Syntax, the commandline was too long when listing all the files directly.
* Finish removing BootingFromHcIan Lynagh2013-02-171-3/+0
|
* remove old cross-compilation stuffSimon Marlow2013-01-301-5/+2
|
* Tweak the mkDocs scriptIan Lynagh2013-01-291-7/+20
|
* Add a "Done." line to compareIan Lynagh2013-01-271-1/+2
| | | | Makes it clearer whether it succeeded when redirecting output
* Add a kludge to the compare tool for unicode filenamesIan Lynagh2013-01-271-1/+6
| | | | | It thought that something impossible was happening when they were involved.
* Use Test.Regex.PCRE instead of .Posix in compareIan Lynagh2013-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This program: main :: IO () main = do re "[^ ]" "\207" re "[ ]" "\207" re " " "\207" re :: String -> String -> IO () re r str = let r' = makeRegex r :: Regex res = matchM r' str :: Maybe (String, String, String, [String]) in print res prints Nothing Nothing Nothing for me with Posix, but Just ("","\207","",[]) Nothing Nothing with PCRE. This was causing compare to fail with Tar line doesn't parse: "drwxrwxr-x simonmar/GHC 0 2012-12-08 21:35 ghc-7.6.1.20121207/libraries/haskeline/tests/dummy-\206\188\206\177\207\\302\\203/" on the GHC source tarball.
* Add support to compare for comparing whole directoriesIan Lynagh2013-01-272-12/+62
|
* Remove unused FPTOOLS_SHEBANG_PERLIan Lynagh2012-11-131-1/+0
|
* Remove fake-happy; it's no longer usefulIan Lynagh2012-10-111-20/+0
|
* Remove cvs-build; it's no longer usedIan Lynagh2012-10-111-137/+0
|
* Remove the distrib/prep-bin-* scriptsIan Lynagh2012-10-117-401/+0
| | | | They are no longer used
* Remove distrib/Mac*; fixes #7136Ian Lynagh2012-10-1118-1040/+0
| | | | | We no longer produce installers fo OS X; we leave that to the Haskell Platform team.
* Build the dynamic way by default on Linux/amd64Ian Lynagh2012-10-031-1/+1
| | | | | | | | | | | | | This required various build system changes to get the build to go through. In the inplace shell wrappers, we set LD_LIBRARY_PATH to allow programs to find their libraries. In the future, we might change the inplace tree to be the same shape as an installed tree instead. However, this would mean changing the way we do installation, as currently we use cabal's installation methods to install the libraries, but that only works if the libraries are under libraries/foo/dist-install/build/..., rather than in inplace/lib/...
* Set the value of Unregisterised in the bindist configure.acIan Lynagh2012-08-081-0/+3
| | | | | Now that it's included in settings, the bindist configure script needs to know it.
* Define LdCmd in the bindist configure.acIan Lynagh2012-08-061-0/+6
|
* More more ld-related settings into the settings fileIan Lynagh2012-08-051-0/+3
| | | | Related to #4862
* Improve the size-change detection heuristics in the compare toolIan Lynagh2012-05-301-10/+13
|
* Add script for sending bug remilestoning e-mailsIan Lynagh2012-02-101-0/+118
|
* Don't include Cabal in mkDocsIan Lynagh2012-02-021-1/+1
| | | | | Cabal no longer has a userguide that we know how to build, so we can't include it in our docs.
* Validate fix: no cross compilation for bindistsSimon Marlow2012-01-301-1/+15
| | | | | | Maybe we could revisit whether we want to allow building bindists of cross-compilers later, but for now I'm fixing validate by setting all the cross-compilation settings to NO.
* Define "ar command" correctly in settings file on WindowsIan Lynagh2012-01-141-2/+2
| | | | | We want to use the inplace ar, rather than whichever ar the machine that we build on happens to have.
* Use /usr/bin/gcc when making the OS X installerIan Lynagh2012-01-111-1/+1
| | | | | | | On XCode 4.1, we use /usr/bin/gcc-4.2 as it makes better code than /usr/bin/gcc for us. However, gcc-4.2 doesn't exist in XCode 4.2, so we need to use /usr/bin/gcc there. As the installer can be used on either, we make it always use /usr/bin/gcc.
* Store the word size as determined by configure, in the settings file (#5735)Simon Marlow2012-01-041-0/+5
| | | | | Now target32bit works for all targets without any manual intervention, as it should do. #5735 was a portability regression.
* Test whether ld flags exist before using themIan Lynagh2011-11-271-0/+3
| | | | | Some platforms use linkers that don't support the --hash-size=31 and --reduce-memory-overheads flags.
* Put the target platform in the settings fileIan Lynagh2011-10-191-0/+5
|
* Refactor configure.ac's: Define FIND_GCC() in aclocal.m4Ian Lynagh2011-08-031-12/+1
|
* Refactor configure.ac's: Put XCODE_VERSION() in aclocal.m4Ian Lynagh2011-08-031-21/+1
|
* Os X: With Xcode 4, check for gcc-4.2 also in the setup for binary distributionsManuel M T Chakravarty2011-08-011-1/+30
|
* Fix typoIan Lynagh2011-07-141-1/+1
|
* Mark mkinstaller executableMax Bolingbroke2011-06-291-0/+0
|
* Share more code between configure.ac and distrib/configure.ac.inIan Lynagh2011-06-221-0/+2
|
* Rename FP_HAVE_GCC to FP_GCC_VERSIONIan Lynagh2011-04-221-1/+1
|
* Rename "extra-gcc-opts" to "settings", and start generalising itIan Lynagh2011-04-212-2/+2
|
* Add a script for library mergingIan Lynagh2011-03-271-0/+34
|
* bindist comparison tool: Some logic improvements, and testsuite supportIan Lynagh2011-03-273-62/+59
|
* Bindist comparison tool: Recognise OS X .dylib files tooIan Lynagh2011-03-251-3/+3
|
* bindist checker improvementsIan Lynagh2011-03-226-122/+204
| | | | | | | * Some refactoring * Support for Windows filenames * Some support for installed trees (as Windows "bindists" are really install trees)
* Hack to get the compare tool to work on Windows "bindists"Ian Lynagh2011-03-211-3/+8
|
* bindist comparison tool: Improve way-difference behaviourIan Lynagh2011-03-161-0/+2
|
* Bindist comparison tool: add --ignore-size-changes flagIan Lynagh2011-03-162-4/+12
|