summaryrefslogtreecommitdiff
path: root/lib/make/setup_configuration.pl
Commit message (Collapse)AuthorAge
* Fixed bug in parsing for gmake <config>-configinfoallen2002-01-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2572 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove a pre-existing config.cache file before running configure.tradke2002-01-03
| | | | | | | | This lets you (re)configure from a clean state. Closes PR Compiler-373. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2569 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Better parsing of make command line options for reporting in the config-infoallen2001-12-29
| | | | | | | file git-svn-id: http://svn.cactuscode.org/flesh/trunk@2546 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed pathnames being ignored when parsing commandline configurationallen2001-10-13
| | | | | | | arguements for configinfo git-svn-id: http://svn.cactuscode.org/flesh/trunk@2405 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implemented default users, option file and command line options forallen2001-09-23
| | | | | | | | | | | | | | | | | configurations as described in the Spec http://www.cactuscode.org/Development/Specs/UserCustom.txt Also, the configuration flags line in configs/<config>/config-info now contains the exact resulting options used from these three sources (These options can now be seen with a new make target gmake <config>-configinfo) This changes previous behaviour in that the COMMAND LINE OPTIONS override all OPTIONS FILE options git-svn-id: http://svn.cactuscode.org/flesh/trunk@2381 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use configuration options in CACTUSRC directory if it existsallen2001-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2377 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for allowing absolute paths for options filesallen2001-01-08
| | | | | | | Cactus/504 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1985 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove spaces from ends of lines in options fileallen2000-11-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1892 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change to syntax for cross-compilation.goodale2000-05-12
| | | | | | | | | | | | | | | Now need BUILD_MACHINE= TARGET_MACHINE= HOST_MACHINE= as $HOST is sometimes set with the host name. Votes for better names for these options welcome. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1653 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Preliminary support for cross-compilation.goodale2000-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting BUILD=, or HOST=, or TARGET= will pass --build=, ... to the configure process. If cross compiling you need to set ENDIAN - either big or little SIZEOF_LONG_INT SIZEOF_INT SIZEOF_SHORT_INT SIZEOF_LONG_DOUBLE SIZEOF_DOUBLE SIZEOF_SHORT SIZEOF_POINTER otherwise you'll get an error. You may also set NULL_DEVICE to tell it the location of the null device. If you don't set this you'll just get a warning, and it will default to /dev/null. This is weakly tested, as I am limited in what I can cross compile for. Fixed semantics for DEBUG to be as in previous commit, except DEBUG=DEFINES define CCTK_DEBUG and not DEBUG in the header files. Partially dealt with PR 340 -- -g -O2 no longer automatically appear as the compilation flags. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1652 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tidied a bit.goodale2000-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added creation of a new file configs/<config>/config-info which stores info about the configuration. Currently it stores the name of the configuration, the flags passed to make, the date of the configuration, the host the configuration was created on, and the error return code of the configure script. Note that the flags are in the form <actual make flags> -- <other flags> and normally will just be s which is from the implicit -s when SILENT=yes (the default). Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1570 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Pass back the return code from the configure script.goodale2000-04-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1556 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a bug I committed the other day.goodale1999-07-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@747 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added an environment variable CACTUS_CONFIGS_DIR which tells cactus wheregoodale1999-07-18
| | | | | | | | | | | | | | | | | you want your configurations - a sodt link is still probably better but this is here if anyone wants it. Made it so that things like gmake clean tells you to specify a configuaration rather than asking to setup a configuration called clean. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@738 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now seems to configure out of the box under NT. Note that cpp.exe needsgoodale1999-06-25
| | | | | | | | | | | | to be on your path under NT, and in a directory with no spaces in the path name. By configure I mean that the configure script runs to completion, making is another matter 8-) Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@581 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Can now pass options to the configure scriptgoodale1999-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | use make <config> options=<option-file-name> when making a new configuration. <option-file-name> has the format of keyword value or keyword = value Note that even though it will allow a vlue to be blank, the configure script itself will ignore this, so it's not so easy to tell it to ignore, say, your f90 compiler. The configure script now uses the f90 compiler for f77, or the f77 compiler if there is no f90 compiler. The configure.pl script will produce a dummy fortran_name perl script if there is no fortran compiler. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@319 17b73243-c579-4c4c-a9d2-2d5706c11dac
* config_parser -> CSTallen1999-02-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@270 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved setup out of the top level into the lib/make directory, and renamed itgoodale1999-02-03
setyp_configuration.pl . Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@197 17b73243-c579-4c4c-a9d2-2d5706c11dac