summaryrefslogtreecommitdiff
path: root/rts/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Update Wiki URLs to point to GitLabTakenobu Tani2019-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This moves all URL references to Trac Wiki to their corresponding GitLab counterparts. This substitution is classified as follows: 1. Automated substitution using sed with Ben's mapping rule [1] Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy... New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy... 2. Manual substitution for URLs containing `#` index Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz 3. Manual substitution for strings starting with `Commentary` Old: Commentary/XxxYyy... New: commentary/xxx-yyy... See also !539 [1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
* Globally replace "hackage.haskell.org" with "ghc.haskell.org"Simon Marlow2013-10-011-2/+2
|
* fast make omits all GHC stagesSimon Marlow2009-08-021-0/+1
|
* Add a header to all build system files:Simon Marlow2009-04-281-0/+12
| | | | | | | | | | | | | | # ----------------------------------------------------------------------------- # # (c) 2009 The University of Glasgow # # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # -----------------------------------------------------------------------------
* GHC new build system megapatchIan Lynagh2009-04-261-496/+3
|
* add -funroll-loops when compiling the parallel version of Evac.c tooSimon Marlow2009-04-021-0/+2
|
* PACKAGE_CPP_OPTS += -DPAPI_INCLUDE_DIR=""Simon Marlow2009-04-021-0/+1
| | | | unbreaks ghc-pkg check in an installed GHC
* Add fast event loggingSimon Marlow2009-03-171-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Generate binary log files from the RTS containing a log of runtime events with timestamps. The log file can be visualised in various ways, for investigating runtime behaviour and debugging performance problems. See for example the forthcoming ThreadScope viewer. New GHC option: -eventlog (link-time option) Enables event logging. +RTS -l (runtime option) Generates <prog>.eventlog with the binary event information. This replaces some of the tracing machinery we already had in the RTS: e.g. +RTS -vg for GC tracing (we should do this using the new event logging instead). Event logging has almost no runtime cost when it isn't enabled, though in the future we might add more fine-grained events and this might change; hence having a link-time option and compiling a separate version of the RTS for event logging. There's a small runtime cost for enabling event-logging, for most programs it shouldn't make much difference. (Todo: docs)
* NCG: Validate fixesBen.Lippmeier@anu.edu.au2009-02-051-2/+1
|
* NCG: Move the graph allocator into its own dirBen.Lippmeier@anu.edu.au2009-02-031-1/+2
|
* Add some more fields to +RTS --infoIan Lynagh2009-01-081-0/+13
|
* Build fixes for DLLized rtsClemens Fruhwirth2008-10-131-2/+4
|
* Fix bindist creation: Only the main RTS was being put in the bindistsIan Lynagh2008-10-091-2/+6
|
* clean sm/Evac_thr.c and sm/Scav_thr.cSimon Marlow2008-09-221-0/+1
|
* On Linux use libffi for allocating executable memory (fixed #738)Simon Marlow2008-09-191-0/+1
|
* un-disable warnings in some modulesSimon Marlow2008-09-091-3/+0
|
* bindists are now some way towards workingIan Lynagh2008-08-101-10/+5
|
* move an inline function to keep older versions of gcc happySimon Marlow2008-07-251-0/+6
| | | | no idea why this only just showed up...
* set PAPI_LIB_DIR="" when we don't have PAPI (clean up package.conf)Simon Marlow2008-07-221-1/+5
|
* remove -fvia-C that I apparrently accidentally added recentlySimon Marlow2008-07-221-2/+0
|
* Put the contents of Evac.c-inc back in Evac.c, and just compile the file twiceSimon Marlow2008-06-031-0/+14
| | | | Similarly for Scav.c/Scav.c-inc.
* use SRC_CC_OPTS rather than SRC_HC_OPTS for C optionssimonmar@microsoft.com2007-11-191-1/+1
|
* allow PAPI to be installed somewhere non-standardSimon Marlow2007-11-011-0/+14
|
* Refactoring of the GC in preparation for parallel GCSimon Marlow2007-10-311-1/+1
| | | | | | | | | | | | This patch localises the state of the GC into a gc_thread structure, and reorganises the inner loop of the GC to scavenge one block at a time from global work lists in each "step". The gc_thread structure has a "workspace" for each step, in which it collects evacuated objects until it has a full block to push out to the step's global list. Details of the algorithm will be on the wiki in due course. At the moment, THREADED_RTS does not compile, but the single-threaded GC works (and is 10-20% slower than before).
* avoid warnings from ffi.h when UseLibFFIForAdjustors=YESSimon Marlow2008-04-091-0/+1
|
* Import libffi-3.0.4, and use it to provide FFI support in GHCiSimon Marlow2008-04-081-10/+13
| | | | | | | | | | | | | | | | | | | | This replaces the hand-rolled architecture-specific FFI support in GHCi with the standard libffi as used in GCJ, Python and other projects. I've bundled the complete libffi-3.0.4 tarball in the source tree in the same way as we do for GMP, the difference being that we always build and install our own libffi regardless of whether there's one on the system (it's small, and we don't want dependency/versioning headaches). In particular this means that unregisterised builds will now have a fully working GHCi including FFI out of the box, provided libffi supports the platform. There is also code in the RTS to use libffi in place of rts/Adjustor.c, but it is currently not enabled if we already have support in Adjustor.c for the current platform. We need to assess the performance impact before using libffi here too (in GHCi we don't care too much about performance).
* Do not #include external header files when compiling via CSimon Marlow2008-04-021-7/+3
| | | | | | | | | | | | | | | | | | | | | | | This has several advantages: - -fvia-C is consistent with -fasm with respect to FFI declarations: both bind to the ABI, not the API. - foreign calls can now be inlined freely across module boundaries, since a header file is not required when compiling the call. - bootstrapping via C will be more reliable, because this difference in behavour between the two backends has been removed. There is one disadvantage: - we get no checking by the C compiler that the FFI declaration is correct. So now, the c-includes field in a .cabal file is always ignored by GHC, as are header files specified in an FFI declaration. This was previously the case only for -fasm compilations, now it is also the case for -fvia-C too.
* When concatenating variables in Makefile, strip spaces in case one is emptyIan Lynagh2008-03-151-1/+1
| | | | | Otherwise "$(A) $(B)" will not be equal to "" even if A and B are empty. Trac #856.
* Mac OS X deployment target: piping opts through MakefilesManuel M T Chakravarty2008-02-211-0/+5
|
* Windows now doesn't need different values for DQ in the build systemIan Lynagh2008-01-231-6/+1
|
* Add dyn-wrapper.c used as cross-plattform launch wrapper for executables ↵Clemens Fruhwirth2008-01-161-0/+9
| | | | using dynamic libraries in non-standard places
* Optionally use libffi to implement 'foreign import "wrapper"' (#793)Simon Marlow2008-01-031-0/+5
| | | | | | | | | | | | | | To enable this, set UseLibFFI=YES in mk/build.mk. The main advantage here is that this reduces the porting effort for new platforms: libffi works on more architectures than our current adjustor code, and it is probably more heavily tested. We could potentially replace our existing code, but since it is probably faster than libffi (just a guess, I'll measure later) and is already working, it doesn't seem worthwhile. Right now, you must have libffi installed on your system. I used the one supplied by Debian/Ubuntu.
* Fix building libHSrts.dll by using ghc-pkg instead of grepping in base.cabalClemens Fruhwirth2007-12-301-12/+11
|
* We need to set _way=* in rts/ both when making and installing bindistsIan Lynagh2007-10-271-0/+8
| | | | | This is a hack, but it means we get libHSrts*.a etc rather than just libHSrts.a.
* Add STANDARD_OPTS to SRC_HC_OPTS in rts/Makefile so we get -I../includes for ↵Ian Lynagh2007-09-261-1/+1
| | | | | | .cmm files Patch from Clemens Fruhwirth
* Add a BeConservative setting to the make systemIan Lynagh2007-09-101-0/+4
| | | | If it is set, we don't try to use clock_gettime
* The RTS is Haddock-less, tell make about itsven.panne@aedion.de2007-09-101-0/+5
| | | | MERGE TO STABLE
* Suppress some warnings on WindowsIan Lynagh2007-09-021-0/+7
|
* Fix and supress some warnings, and turn on -Werror when validatingIan Lynagh2007-09-021-0/+10
|
* Jump through some hoops to make the Windows SEH exception stuff happyIan Lynagh2007-08-241-0/+6
|
* Fix passing double quotes to GHC on WindowsIan Lynagh2007-08-181-8/+16
|
* Document +RTS --info, and make it a Read'able Haskell valueIan Lynagh2007-08-161-7/+7
|
* Build RTS as dynamic libraryClemens Fruhwirth2007-08-081-38/+35
|
* Add unreg/tables-next-code output to +RTS --infoIan Lynagh2007-07-231-0/+2
|
* Add a +RTS --info flag print various info; partially fixes trac #1517Ian Lynagh2007-07-221-0/+5
|
* oops, revert part of the +RTS -V0 patch which was accidentally includedSimon Marlow2007-07-101-1/+1
|
* Fix the +RTS -V0 option introduced recently; it didn't work at all, now it does.Simon Marlow2007-07-081-1/+1
| | | | | Also, I documented it. +RTS -V0 disables the internal RTS timer completely, which is useful for repeatable debugginng.
* Update the in-tree GMP; fixes trac #832Ian Lynagh2007-07-051-43/+5
| | | | | 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.
* Fix a problem with package.mk being included too earlySimon Marlow2007-06-201-4/+2
|
* Fix the ghc package in bindistsIan Lynagh2007-06-091-0/+4
|