summaryrefslogtreecommitdiff
path: root/libraries/integer-gmp/gmp
Commit message (Collapse)AuthorAgeFilesLines
* Build system: delete half-baked Cygwin supportThomas Miedema2015-08-201-5/+0
| | | | | | | | | | | | | | | | | | | We only support building GHC on mys2 nowadays, see https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows. This (partially) reverts various commits from a few years ago, among which: * 5775d5142da227d65fb86994d363eb16841ee642 "Add OSTYPE build-system variable, and use it" * 3fb8c431824aa2f3bd979e35d1a283546fcfbe74 "Fix building libgmp on cygwin" * cdbb4720c424500adb57cbbef69721d0b039fa46 "Fix cmd invocation by libffi cuild system on Windows 7 cygwin" * e8121501ee3549a35e954726ccfd871ac9d51f83 "Fix dblatex and xml* tool detection on Windows" Reviewed by: austin, Phyx Differential Revision: https://phabricator.haskell.org/D1155
* Build: ./boot && ./configure && make sdist (#8723)Thomas Miedema2015-06-041-1/+4
| | | | | | | | | | | | | | | | | Make it possible to run `make sdist` right after configure, without completing a complete build first. Test Plan: I compared the contents of the created `.tar.bz2` files in the `sdistprep` directory, after running `make sdist` both before and after completing a full build, using `diff -r`. There weren't any differences (after applying the patches from D914). Note that the `.tar.bz2` files were not exactly the same size, but they aren't either when tarring and bzipping the same directory twice. It seems tarring and bzipping is not deterministic (on my system). Differential Revision: https://phabricator.haskell.org/D917
* Build system: prevent "--version: Command not found"Thomas Miedema2015-05-301-1/+4
| | | | | | | This would happen when running `make clean` before running `./configure`. [skip ci]
* Build system: check $CLEANING instead of $MAKECMDGOALSThomas Miedema2015-05-301-1/+1
| | | | | | | To check if we're cleaning, always check the $CLEANING variable, instead of sometimes $CLEANING, sometimes $MAKECMDGOALS. [skip ci]
* Drop old integer-gmp-0.5 from GHC source treeHerbert Valerio Riedel2015-03-313-75/+55
| | | | | | | | | | | | | | | | | | This completes what c774b28f76ee4c220f7c1c9fd81585e0e3af0e8a (#9281) started. `integer-gmp-1.0` was added as an additional `libraries/integer-gmp2` folder while retaining the ability to configure GHC w/ the old `integer-gmp-0.5` to have a way back, and or the ability to easily switch between old/new `integer-gmp` for benchmark/debugging purposes. This commit removes the old `libraries/integer-gmp` folder and moves `libraries/integer-gmp2` into its place, while removing any mentions of "gmp2" as well as the to support two different `integer-gmp` packages in GHC's source-tree. Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D769
* Update in-tree GMP to version 5.0.4Herbert Valerio Riedel2014-11-231-0/+1584
| | | | | | | This is mostly a proof of concept for updating the in-tree GMP via patch files (and therefore w/o introducing new blobs into the Git history). NOTE: The updated GMP 5.0.4 version is only used by the integer-gmp2 backend.
* integer-gmp: do not confuse ./configure (#8783)Christian Maeder2014-05-181-1/+1
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Normalize GHC Trac URLsHerbert Valerio Riedel2014-04-191-2/+2
| | | | | | | | | | | | | | Update several old http://hackage.haskell.org/trac/ghc URLs references to the current http://ghc.haskell.org/trac/ghc URLs. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Fix in-tree GMP build (#8497) on OS X MavericksKazu Yamamoto2014-01-141-1/+9
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Follow GHC build system changesIan Lynagh2013-07-031-1/+1
|
* Run "sh ./configure" rather than "sh configure"; part of #7992Ian Lynagh2013-06-221-2/+2
| | | | This fixes a bug with how configure re-execs itself.
* Handle dependencies for .cmm files properlyIan Lynagh2013-05-091-6/+2
|
* Build system refactoringIan Lynagh2013-04-201-12/+9
|
* Follow changes in GHC's build systemIan Lynagh2013-03-011-1/+1
|
* Fix GMP_PREFER_FRAMEWORKIan Lynagh2013-02-091-5/+5
| | | | It doesn't look like the old code could have worked
* Never try to use the system gmp on WindowsIan Lynagh2013-02-092-0/+6
| | | | | Apparently building on Windows failed when there is a system gmp available.
* Revert "integer-gmp: improve cross-compiling support GmpDerivedConstants.h"Simon Marlow2013-01-261-0/+8
| | | | | | | This reverts commit 860f2fa9a1f1ca4f8d94388723687f90d122ae81. People reported problems with it on the mailing list, so reverting until we can figure out the cause.
* integer-gmp: improve cross-compiling support GmpDerivedConstants.hSergei Trofimovich2013-01-241-8/+0
| | | | | | | | | | Before the patch GmpDerivedConstants.h was generated by running mkGmpDerivedConstants on target. Now it's generated only with help of autoconf macros. Tested on --target=ia64-unknown-linux-gnu. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Provide a way for OS X users to indicate a preference for the GMP frameworkIan Lynagh2013-01-011-0/+4
| | | | | | | | We used to always use the framework if it existed. Now the make variable GMP_PREFER_FRAMEWORK can be used to control whether the library or the framework is preferred. Fixes #7466.
* Fix building libgmp on cygwinIan Lynagh2012-03-161-0/+6
|
* Updated to a newer version of gmp; fixes #5810Ian Lynagh2012-02-031-0/+0
| | | | | | | | I didn't diagnose the problem, but with the newer GMP the problem seems fixed. There are a couple of things that look like candidates for the bug: * A few minor bugs related to portability fixed. * A bug in division code possibly causing incorrect computation was fixed.
* Use the mingw touch program on WindowsIan Lynagh2011-12-021-1/+1
|
* Follow GHC build system change to the way we call rmIan Lynagh2011-11-191-2/+2
|
* This should finally fix #5293 by fixing two bugs in GMP's configuration setupManuel M T Chakravarty2011-08-051-0/+33
| | | | | * GMP uses m4 scripts to pre-process hand coded assembly routines * These didn't properly account for OS X/i86_64 always using PIC
* Upgrade gmp, 4.2.4 -> 5.0.2Ian Lynagh2011-07-272-10/+63
|
* Follow CC var changes in makefilesIan Lynagh2011-04-231-3/+3
|
* Make and use AR_STAGE[0123] makefile varsIan Lynagh2011-04-231-2/+2
|
* Tweak build rulesIan Lynagh2011-04-221-4/+4
| | | | | | | | | We were doing echo $(HOSTPLATFORM) | sed 's/i[567]86/i486/g' but the only x86 value HOSTPLATFORM can have is i386. We now also tell GMP that its build platform is $(BUILDPLATFORM) rather than $(HOSTPLATFORM).
* Call the final build system phase "final" rather than ""Ian Lynagh2011-02-061-1/+1
|
* Update for changes in GHC's build systemIan Lynagh2011-01-221-1/+1
|
* Correct the gmp build phaseIan Lynagh2011-01-171-1/+1
|
* Tidy up gmp cleaningIan Lynagh2011-01-171-16/+23
|
* Use the stage-specific CONF_CC_OPTS variablesIan Lynagh2010-07-231-1/+1
|
* Follow variable name changesIan Lynagh2010-06-161-2/+2
|
* pass $(AR) to the GMP buildSimon Marlow2010-06-101-4/+2
|
* Fix the $(GMP_DIR) path that we removeIan Lynagh2010-04-191-1/+1
|
* Fix the buildIan Lynagh2010-02-151-1/+1
| | | | | A missing | meant that the build broke on machines that don't have libgmp available.
* Don't rely on tar supporting -j; trac #3841Ian Lynagh2010-02-141-1/+1
|
* MERGED: Pass GMP paths when compiling mkGmpDerivedConstants; fixes trac #3784Ian Lynagh2010-01-182-0/+7
| | | | Ian Lynagh <igloo@earth.li>**20100118191831
* Move .depend file dependency inside HaveLibGmp testSimon Marlow2009-12-171-2/+2
| | | | We were building GMP even if we didn't need to.
* Fix a makefile depIan Lynagh2009-12-161-1/+1
|
* Add a missing dependency on gmp.hIan Lynagh2009-12-151-0/+2
|
* Set the path to nm before configuring the C gmp libIan Lynagh2009-10-121-1/+1
|
* Use CONF_CC_OPTSManuel M T Chakravarty2009-09-171-1/+1
| | | | - Needed to get arch-dependent options, eg, on Snow Leopard
* fix conditionals (prevents GMP always being built)Simon Marlow2009-08-011-3/+2
|
* Add GmpDerivedConstants.h dependencies for all ways, not just vanillaIan Lynagh2009-07-181-2/+6
|
* fix mk/build.mk for HaveLibGmp/HaveFrameworkGMPAustin Seipp2009-07-061-2/+6
| | | | | | | | Previously if you were to set HaveFrameworkGMP/HaveLibGmp in mk/build.mk (e.g. on mac os) the settings would be ignored, as gmp/config.mk is included late in GHC's ghc.mk, meaning autoconf overrides your settings. Now they ignore the values picked up by configure if you set these variables.
* fix the dependencies on GmpDerivedConstants.h when HaveLibGmp==YESSimon Marlow2009-06-231-2/+3
|
* don't include config.mk if we're cleaningSimon Marlow2009-06-231-0/+2
|
* Patch GMP to always use the GHC allocation functionsIan Lynagh2009-06-212-1/+26
| | | | | | This works around a crash (only on OS X for some reason?) where the GHCi GMP uses the systems memory allocator. We should fix this properly, by making ghci run constructor functions.