summaryrefslogtreecommitdiff
path: root/glafp-utils
Commit message (Collapse)AuthorAgeFilesLines
* Reorganisation of the source treeSimon Marlow2006-04-0729-3611/+0
| | | | | | | | | | | | | | | Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.
* Update Cachegrind support for changes to the Valgrind CLISimon Marlow2006-01-241-1/+1
|
* [project @ 2006-01-09 14:31:37 by simonmar]simonmar2006-01-091-0/+1
| | | | Include stdlib in lndir, fixing gcc "implicit declaration" warnings
* [project @ 2005-12-15 10:36:03 by simonmar]simonmar2005-12-151-0/+2
| | | | ignore _darcs
* [project @ 2005-07-27 10:32:49 by simonmar]simonmar2005-07-271-1/+2
| | | | update for changes in stats output
* [project @ 2005-06-07 10:58:31 by simonmar]simonmar2005-06-074-45/+121
| | | | Various updates and improvements.
* [project @ 2005-06-02 16:52:58 by sof]sof2005-06-021-12/+13
| | | | add .svn/ to list of ignorable dirs
* [project @ 2005-06-01 13:17:12 by simonmar]simonmar2005-06-011-5/+7
| | | | Fix a regex bug
* [project @ 2004-09-20 07:27:15 by mthomas]mthomas2004-09-201-0/+7
| | | | Make tests run on Cygwin hosted MinGW32 build.
* [project @ 2004-08-26 20:08:39 by panne]panne2004-08-2632-467/+1
| | | | | | | | SGML is dead, long live DocBook XML! Note: The BuildRequires tags in the spec files are still incomplete and the documentation about the DocBook tools needs to be updated, too. Stay tuned...
* [project @ 2004-08-25 17:38:36 by sof]sof2004-08-251-4/+13
| | | | tidy up EOL termination handling under mingw; as was, C-related dependencies were being accumulated in existing dependency files, not replaced
* [project @ 2004-08-02 18:23:25 by panne]panne2004-08-021-1/+1
| | | | | | Fixed dvips commandline MERGE TO STABLE
* [project @ 2004-04-02 14:28:57 by simonmar]simonmar2004-04-023-134/+286
| | | | | | | | | | Some updates I've had sitting in my tree for a while: - when there are two logs only, print a summary table at the beginning of the output with columns for allocs, runtime, memory reads/writes, instrs. - handle multiple runs of each program, and average the results. (changes to nofib build system to follow).
* [project @ 2004-04-02 14:22:30 by simonmar]simonmar2004-04-021-1/+1
| | | | cachegrind: update command line syntax for recent versions of valgrind
* [project @ 2003-08-18 15:45:07 by panne]panne2003-08-184-16/+1
| | | | | | | | | Don't build ltx and sgmlverb, they are unused. With this change, the test for flex/lex can be removed from the configuration process. The make rules for flex/lex files are still in mk, but they could be moved to glafp-utils/mk if someone feels the need for this. Nuked ancient "msub" stuff and a CVS keyword on the way.
* [project @ 2003-06-27 16:21:10 by stolz]stolz2003-06-273-0/+74
| | | | | | | | | | | | | | | | | From genargs.pl: # This program generates a partial Haskell list of Strings from # words passed via stdin suitable for use in package.conf, e.g.: # # foo bar --> "foo", "bar" # "foo bar" --> "foo bar" # foo\"bar --> "foo\"bar" # # Invoking genargs.pl with -comma will print an initial comma if # there's anything to print at all. # # Sample application in a Makefile: # HSIFIED_EXTRA_LD_OPTS= `echo "$(EXTRA_LD_OPTS)" | $(PERL) genargs.pl` # PACKAGE_CPP_OPTS += -DHSIFIED_EXTRA_LD_OPTS="$(HSIFIED_EXTRA_LD_OPTS)"
* [project @ 2003-05-22 10:27:52 by ross]ross2003-05-221-0/+1
| | | | | Make it work with newer versions of flex, which produce an extern declaration for yywrap() unless YY_SKIP_YYWRAP is defined.
* [project @ 2003-04-27 10:37:01 by qrczak]qrczak2003-04-271-1/+1
| | | | | Strings in perl are compared by eq, not ==. Fixes creating "nul" files on Unix.
* [project @ 2003-01-17 16:05:09 by sof]sof2003-01-172-8/+12
| | | | for mingw builds, redirect to NUL
* [project @ 2003-01-09 15:49:25 by simonmar]simonmar2003-01-091-1/+1
| | | | small fix: 'if ($x)' is not the same as 'if ($x ne "")'
* [project @ 2002-11-18 17:01:01 by simonpj]simonpj2002-11-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | ----------------------------- Perl and control-M's on Win32 ----------------------------- If the Cygwin 'perl' processes a file produced by a Mingw program (such as ghc -M), so that the latter has DOS-style line termination, the Cygwin 'perl' gets confused and adds extra control-M's. This affects a) mkdependC, which processes the .depend file produced by ghc -M b) the perl post-procssing step in ghc/compiler/Makefile, which makes .depend-1 etc from .depend-BASE The solution is to sprinkle few binmode( HANDLE ); statements around in the perl scripts. I think they don't affect the Unix version.
* [project @ 2002-10-05 23:54:53 by panne]panne2002-10-052-2/+18
| | | | | | The never-ending docbook tragedy: Adapt the catalogs once more... >:-P NOTE: I don't really have a clue what I'm doing here, but at least it works with the current SuSE Linux distribution 8.1.
* [project @ 2002-09-18 12:36:39 by simonmar]simonmar2002-09-182-5/+12
| | | | | | Add support for slurping in nofib dumps created with EXTRA_RUNTEST_OPTS=-cachegrind, and output tables for number of instructions, memory reads/writes, and cache misses.
* [project @ 2002-09-18 12:35:36 by simonmar]simonmar2002-09-181-52/+35
| | | | | remove old heimdall and cacheprof support, and add cachegrind support (-cachegrind option).
* [project @ 2002-08-21 12:58:56 by simonmar]simonmar2002-08-211-3/+3
| | | | fromInt ==> fromIntegral
* [project @ 2002-07-09 18:02:48 by sof]sof2002-07-091-3/+11
| | | | | | | | | | | gcc versionitis wrt gcc -E -MM .. usage: 2.95.<wurble> is silent on stdout if -MM is used, 2.96 ain't (even when -o is used..hmm.) 2.95 (on mingw32) even fails if you try to redirect the output. So, be more accepting in first trying to run CPP with a redirect, and if that fails, try without.
* [project @ 2002-05-07 09:47:27 by simonmar]simonmar2002-05-071-1/+1
| | | | | | Mystery at least partially solved: it appears that in the FreeBSD catalog we must list the iso8859 catalog *before* the docbook catalog, otherwise things don't work properly.
* [project @ 2002-03-14 17:10:14 by simonmar]simonmar2002-03-141-3/+1
| | | | No need to compile Printf.lhs with -fvia-c now.
* [project @ 2002-03-14 17:09:46 by simonmar]simonmar2002-03-141-5/+7
| | | | | | | The foreign declaration for snprintf was wrong, because we need to give the type of the C function after applying C's type promotion rules. Hence the Float argument should be a Double, because it occurs in the vararg section of the function type.
* [project @ 2002-02-28 18:50:40 by keithw]keithw2002-02-283-7/+29
| | | | | | | | | | | | Un-rot nofib-analyse, so it compiles with ghc-5.02.2. * add a regexp for GNU time 1.7 * import Html hiding ((!)) now hides Html.! as well as !, so add an import qualified Html ((!)) as well. * compile Printf with -fvia-c to work around bug in foreign import of snprintf (was always printing "0.00" no matter what input given).
* [project @ 2002-02-17 08:48:23 by panne]panne2002-02-173-3/+3
| | | | | Ooops, forgot to commit yesterday's quoting fix for db2dvi to the other db2FOO stuff...
* [project @ 2002-02-16 17:07:07 by panne]panne2002-02-161-1/+1
| | | | | | | | | | Welcome to the amazing world of shell syntax! :-) The line CATALOG_OPTION=-c $DOCBOOK_CATALOG sets the environment variable CATALOG_OPTION to "-c" and executes $DOCBOOK_CATALOG, which is probably not what was intended. Double quotes to the rescue!
* [project @ 2002-02-15 08:11:42 by sof]sof2002-02-151-1/+1
| | | | drop -mwin32 filtering
* [project @ 2002-02-13 19:43:46 by sof]sof2002-02-134-9/+25
| | | | Use SGML_CATALOG_FILES, if defined
* [project @ 2002-02-12 15:17:13 by simonmar]simonmar2002-02-121-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch over to the new hierarchical libraries --------------------------------------------- This commit reorganises our libraries to use the new hierarchical module namespace extension. The basic story is this: - fptools/libraries contains the new hierarchical libraries. Everything in here is "clean", i.e. most deprecated stuff has been removed. - fptools/libraries/base is the new base package (replacing "std") and contains roughly what was previously in std, lang, and concurrent, minus deprecated stuff. Things that are *not allowed* in libraries/base include: Addr, ForeignObj, ByteArray, MutableByteArray, _casm_, _ccall_, ``'', PrimIO For ByteArrays and MutableByteArrays we use UArray and STUArray/IOUArray respectively now. Modules previously called PrelFoo are now under fptools/libraries/GHC. eg. PrelBase is now GHC.Base. - fptools/libraries/haskell98 provides the Haskell 98 std. libraries (Char, IO, Numeric etc.) as a package. This package is enabled by default. - fptools/libraries/network is a rearranged version of the existing net package (the old package net is still available; see below). - Other packages will migrate to fptools/libraries in due course. NB. you need to checkout fptools/libraries as well as fptools/hslibs now. The nightly build scripts will need to be tweaked. - fptools/hslibs still contains (almost) the same stuff as before. Where libraries have moved into the new hierarchy, the hslibs version contains a "stub" that just re-exports the new version. The idea is that code will gradually migrate from fptools/hslibs into fptools/libraries as it gets cleaned up, and in a version or two we can remove the old packages altogether. - I've taken the opportunity to make some changes to the build system, ripping out the old hslibs Makefile stuff from mk/target.mk; the new package building Makefile code is in mk/package.mk (auto-included from mk/target.mk). The main improvement is that packages now register themselves at make boot time using ghc-pkg, and the monolithic package.conf in ghc/driver is gone. I've updated the standard packages but haven't tested win32, graphics, xlib, object-io, or OpenGL yet. The Makefiles in these packages may need some further tweaks, and they'll need pkg.conf.in files added. - Unfortunately all this rearrangement meant I had to bump the interface-file version and create a bunch of .hi-boot-6 files :-(
* [project @ 2002-01-09 10:29:32 by simonmar]simonmar2002-01-091-9/+2
| | | | | Back out previous fix, I've hacked it in a different place which is at least closer to the source of the problem.
* [project @ 2002-01-07 22:39:20 by ken]ken2002-01-071-2/+9
| | | | | Ignore -package-name <package-name> on the command line. MERGE TO STABLE
* [project @ 2001-10-30 19:01:43 by rrt]rrt2001-10-301-4/+7
| | | | | | | | | | | | | Made db2pdf use jadetex|dvips|ps2pfd, not pdfjadetex. Two benefits: 1. Smaller PDF files. 2. jadetex is a little less exotic, and more likely to be on a given system. The actual motivation is only knowing of a working version of jadetex for Windows and not of pdfjadetex (at least, not one that works on the gargantuan tome that is the combined User's Guide and Libraries Guide).
* [project @ 2001-10-25 14:50:00 by rrt]rrt2001-10-251-6/+3
| | | | Tidy up after my assumption-busting.
* [project @ 2001-10-25 14:48:26 by rrt]rrt2001-10-251-2/+2
| | | | | Why should pdfjadetex be in the same directory as Jade? Make the much less silly assumption that it's on the PATH.
* [project @ 2001-10-13 20:44:52 by sof]sof2001-10-131-1/+4
| | | | | Add explanatory comment as to why a pair of win32-specific options are filtered out of CC_OPTS.
* [project @ 2001-10-01 13:13:38 by rrt]rrt2001-10-011-0/+2
| | | | | Get rid of \rs at the end of lines in prescripts and postscripts to work around Windows dodginess.
* [project @ 2001-08-13 10:27:27 by simonmar]simonmar2001-08-131-7/+7
| | | | Don't use packString for GHC > 5.00
* [project @ 2001-08-07 17:05:35 by ken]ken2001-08-071-4/+4
| | | | | | | Allow (and ignore, i.e., strip away) "-optc" prefix in command-line options. This is for mkdependC-ing and compiling C code under ghc/rts, where we use ghc-inplace as CC and give -optc-Dxxx options in CC_OPTS. We used to generate inaccurate (insufficient) dependencies.
* [project @ 2001-08-07 11:13:46 by simonmar]simonmar2001-08-071-5/+23
| | | | Make this compile with newer GHCs.
* [project @ 2001-05-29 11:39:00 by rrt]rrt2001-05-291-1/+4
| | | | Don't build lndir on mingwin, which doesn't have symlinks.
* [project @ 2001-05-16 09:57:02 by rrt]rrt2001-05-161-1/+1
| | | | Filter -mwin32 from CC_OPTS.
* [project @ 2001-05-10 22:55:27 by sof]sof2001-05-101-1/+24
| | | | Make lndir work with (current) cygwin impls + support the use of DOS-like paths (e.g, 'f:/oo')
* [project @ 2001-05-07 16:19:36 by sof]sof2001-05-071-7/+14
| | | | couple of bugfixes to make the script do its thing
* [project @ 2001-05-03 21:07:21 by sof]sof2001-05-031-1/+1
| | | | win32 tweak