summaryrefslogtreecommitdiff
path: root/lib/make/setup_configuration.pl
Commit message (Collapse)AuthorAge
* Replace the SILENT option with a VERBOSE option (of opposite meaning). Defaultknarf2011-09-27
| | | | | | | | | is still VERBOSE=no, but this now actually produces a lot less output: almost no "cosmetic" lines (only ---), and no messages for pre- and postprocessing anymore. Add VERBOSE=yes to get the old beavior of SILENT=no. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4737 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove whitespace from option values passed on the "make" command linehinder2011-01-26
| | | | | | | | | | | The regular expression used to match variable settings was absorbing whitespace into the variable value. Changing to a non-greedy RE fixes this. This problem caused GSL to not find its directory, as it didn't expect a space on the end of GSL_DIR. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4667 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Give more information about the location of the user defaults fileknarf2010-09-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4631 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Create the scratch directories in the configurations when theschnetter2005-09-26
| | | | | | | | | configuration is created, not when it is built. This allows make to examine this directory for dependencies. (Make refuses to examine non-existing directories.) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4148 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Read Cactus configuration options from files listed in an environment variabletradke2005-01-31
| | | | | | | | | ${CACTUS_CONFIG_FILES}. If no such variable is set, the default options file ${HOME}/.cactus/config will be read. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3976 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't enclose option settings with single quotes; they break config-info beingtradke2004-06-22
| | | | | | | | | used as an options file. This closes PR Cactus 975: "Cannot pass options with spaces on the command line". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3786 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Slightly change layout for the 'config-info' file so that it can be usedtradke2004-06-22
| | | | | | | | | as an options file for a reconfigure. This closes PR Cactus 1087: "Please remember configuration options". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3785 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub to fix a spelling mistake.goodale2004-06-21
| | | | | | | Fixes PR 1724. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3781 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a regular expression in the configuration options file parsertradke2003-09-26
| | | | | | | | so that it works now with the perl version from RH9 also. Cleaned up some code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3410 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for storing command-line arguments to config-info. Now correctly dealsgoodale2003-03-24
| | | | | | | | | | with nasty things like CPP='$${PERL} ...'. May have problems if there are '=' signs in an argument, 'though. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3189 17b73243-c579-4c4c-a9d2-2d5706c11dac
* type in variable name, fixed thislanfer2003-03-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3186 17b73243-c579-4c4c-a9d2-2d5706c11dac
* match for ~ was negated, fixed thislanfer2003-03-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3185 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow options=~/whatever.goodale2003-03-21
| | | | | | | | | Note that ~anotheruser will give you very confused results at the moment. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3184 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix problems from my last commit which didn't let you overwrite settings fromtradke2003-01-10
| | | | | | | the config files anymore. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3087 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't set makefile environment variables again when they were given on thetradke2003-01-10
| | | | | | | | command line. This fixes problems with variables containing spaces in their value. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3086 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 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