summaryrefslogtreecommitdiff
path: root/lib/make/make.configuration
Commit message (Collapse)AuthorAge
* Print a warning message if the user specified a configuration option attradke2004-05-06
| | | | | | | | compile time. This closes PR Compiler/1669: "Should deal with inappropriate make command-line options". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3695 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check whether thorn names clash with system library names.schnetter2004-04-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3651 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use correct perl interpreter when running c_file_processor from the CSTgoodale2004-03-27
| | | | | | | | | to generate the parameter structure names. In the future we should be able to do this without forking off another interpreter, but this is necessary for now. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3609 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implementation of configuration.ccl spec from Yaakoub Y El-Khamra.goodale2004-03-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3602 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not abort making a thorn when the scratch or build directories hadschnetter2004-01-20
| | | | | | | to be created git-svn-id: http://svn.cactuscode.org/flesh/trunk@3545 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Abort the build when there is an errorschnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3537 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix dependency generationschnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3535 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cosmetic change.schnetter2004-01-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3496 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Output the dividers during the build stage after each step instead before,schnetter2003-10-13
| | | | | | | | so that they are printed before make checks the dependencies, which can take quite some time. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3429 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implemented Cactus/1413allen2003-02-27
| | | | | | | | | Erik Schnetters suggestion to have a file which can be updated to force rebuilds when e.g. the CST perl scripts are changed. Unfortunately, this now means that everyones configurations need to be rebuilt. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3156 17b73243-c579-4c4c-a9d2-2d5706c11dac
* cleandeps only removes dependency files in the configuration build directoryallen2002-08-21
| | | | | | | Closes Cactus/1138 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2984 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed obselete method of setting THORN_LINKLIST.rideout2002-07-11
| | | | | | | Clarified make.thornlist comment. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2928 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added make target '-build' to be used astradke2002-01-03
| | | | | | | | | | | | | | | make <configuration>-build BUILDLIST=<space-separated list of thorns, without arrangements prefixes> This would only build all libs for BUILDLIST which must be a subset of the thorns of the given configuration. This new target is only experimental so far (and thus won't be documented). It might be removed again if the functionality can be provided by the default build rules. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2568 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Protect 'mkdir $(BUILD_DIR)' against race conditions during a parallel make.tradke2001-12-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2483 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed an unneccessary 'sleep 3' when creating the scratch dir.tradke2001-12-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2479 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Protect 'mkdir scratchdir' against concurrent invocations from parallel makes.tradke2001-12-03
| | | | | | | This closes Cactus/441. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2476 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tidying output with dividersallen2001-09-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2362 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Report the Cactus version at the top of the output of every gmake command ↵allen2001-09-14
| | | | | | | | | where it makes sense. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2359 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use the new thornlib linklist for the Cactus linker commandline.tradke2001-07-11
| | | | | | | | You need to also update lib/sbin/CST and then rebuild your configuration in order to use the new liblist. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2284 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed so that make.subdir is used for building all user-supplied files.goodale2001-05-09
| | | | | | | | | | Optimised a bit so libs and executable are only rebuilt if a source file/header has really changed. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2158 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed space between '-I' option and the following include path.tradke2001-01-17
| | | | | | | Now the native compiler on OSF5 can compile datestamp.c. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1997 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove contents of scratch directory for gmake realclean, clean, and cleanobjsallen2001-01-12
| | | | | | | Fixes Cactus/510 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1986 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tidied up the versioning stuff a bit.goodale2000-12-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1954 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added LIBNAME_PREFIX and LIBNAME_SUFFIX to allow libraries to be namedgoodale2000-10-31
| | | | | | | | | | | | | differently on some architectures (e.g. NT). Removed fallback definition for GENERAL_LIBRARIES in make.configuration, and added fallback definitions for LIBNAME_PREFIX and LIBNAME_SUFFIX so old configurations should still work. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1872 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Checks for configuration.ccl files.goodale2000-08-31
| | | | | | | | | | | Tries to give a sensible error action when a thorn which has previously been compiled in has been removed from its arrangement on disk. This fixes PR 349. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1805 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change a -e to a -r in testallen2000-07-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1785 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use override to reset the UTILS make variable.tradke2000-05-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1672 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Experimental support for agoodale2000-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <config>-utils compile option. Thorns can add targets of the form $(UTIL_DIR)$(DIRSEP)<utility> : deps commands to build and then in their make.configuration.defn put ALL_UTILS += <utility> then when someone does gmake <config>-utils that utility will be built. Or people can do gmake <config>-utils UTILS="util1 util2 util3" to get just a subset of utilities. Currently $(UTIL_DIR) is set to be exe/<config>, and utility building targets should have somewhere in them if ! -d $(UTIL_DIR) ; then $(MKDIR) $(MKDIRFLAGS) $(UTIL_DIR) ; fi to make sure it exists. Util building should also attempt to be in the appropriate thorn's build directory $(BUILD_DIR)$(DIRSEP)<thorn> so the target commands should probably be of the form cd $(BUILD_DIR)$(DIRSEP)<thorn> ; make -f <utility-makefile> $@ SRCDIR=<utility src dir> ... to keep the object files in one place. Or of course they could make a subdir of the thorn's build directory. As I said before this is experimental, so some features may change as we experiment with it. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1669 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing the -j flag from calls to sub-makes unless the TJOBS orgoodale2000-05-15
| | | | | | | | | | | FJOBS has been set. This resolves PR 351. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1664 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New option for gmakeallen2000-03-10
| | | | | | | | | | | | | | | | | | | | PROMPT=no using this at either configuration or compile time will run gmake until an executable is produced without giving further prompts. The default is PROMPT=yes This means that you can do gmake <config> THORNLIST=MyFavList PROMPT=no to get an executable. This is experimental at the moment, since I might change it so that PROMPT=no still requires you to do a separate configuation and compile step, and add a new option to run them together. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1454 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added configuration-time optionallen2000-02-19
| | | | | | | | | | | | | | | OPTIMISE=no to switch off optimisation flags for quicker compiling. The known architectures files can now contain C_OPTIMISE_FLAGS CXX_OPTIMISE_FLAGS F77_OPTIMISE_FLAGS F90_OPTIMISE_FLAGS git-svn-id: http://svn.cactuscode.org/flesh/trunk@1395 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added -editthorns to allow you to edit your thornlist.goodale1999-10-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1104 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cosmetic output change.goodale1999-09-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@953 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding a couple of MKDIRFLAGS that I had missedallen1999-09-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@891 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding $MKDIRFLAGS needed for NTallen1999-09-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@883 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added yet another make variable.goodale1999-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | Now the make stuff required for the final linking of libraries is bundled up into GENERAL_LIBRARIES which defaults to $(LIBDIRS:%=-L%) $(LIBS:%=-l%) which should work on all unices. For NT I have made it $(LIBS) and LIBDIRS has no use. NT stuff needs to specify the full path and name of each library in the LIBS variable. Maybe one day we'll find a neater way ! Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@874 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now "packages" are called "arrangements"allen1999-07-30
| | | | | | | Everything should work again (!) git-svn-id: http://svn.cactuscode.org/flesh/trunk@839 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added simple support for compiling with DEBUG.jmasso1999-07-29
| | | | | | | | | | | | | | | It follows the way MPI was added with "extras". So, to make a configuration be compiled with debug, say make DEBUG=ALL <configname> if fact, now you could say DEBUG=whatevershiticomeup and it's going to work the same... but we will add DEBUG=FORTRAN,C,ALL etc... support in the future. - Joan git-svn-id: http://svn.cactuscode.org/flesh/trunk@810 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make a EXEDIR directory and put EXE thereallen1999-07-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@805 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added some verion number stuff.goodale1999-07-23
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@769 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tom's fix for the path names for compiling datestamp.c on the NTallen1999-07-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@737 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change ActiveThorns to ThornListallen1999-07-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@642 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added method to change the way libraries are linked in, this should help undergoodale1999-06-28
| | | | | | | | | | | NT. Fixed the default OPTIONSEP so that it is a space. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@591 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Lots more changes to get things working under NT.goodale1999-06-25
| | | | | | | | | | Almost there. Everything seems to compile, modulo a problem I just spotted, with only the final linking remaining. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@589 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A few more changes to help supprt NT.goodale1999-06-25
| | | | | | | | | NOTE: you will need to do a reconfig after this. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@578 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes for making in parellel.goodale1999-04-15
| | | | | | | | | | | | | | There are now two parameters TJOBS - the number of thorns to make in parallel FJOBS - the number of files within a thorn to make in parallel so the maximum number of processes started will be TJOBS*FJOBS. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@477 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Protected a ? with a \ in an echo statement.goodale1999-04-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@476 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CFLAGS to compilation of datestamp.goodale1999-02-22
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@330 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed major bug in statement which only include make.thornlist if nogoodale1999-02-22
| | | | | | | | | | | make target specified. make realclean now deletes the make.thornlist file. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@328 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Modified clean target to delete dependencies too.goodale1999-02-21
| | | | | | | | | | | | | | | | | | ----- To clean a configuration run gmake followed by the name of a configuration suffixed by -clean e.g. Linux-clean. This deletes all object and dependency files in the configuration. ----- Added some more targets ----- To clean a configuration's dependency files run gmake followed by the name of a configuration suffixed by -cleandeps e.g. Linux-cleandeps. To clean a configuration's object files run gmake followed by the name of a configuration suffixed by -cleanobjs e.g. Linux-cleanobjs. To restore a configuration to almost a new state run gmake followed by the name of a configuration suffixed by -realclean e.g. Linux-realclean. This deletes all but the config-data directory and the ActiveThorns file. ----- Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@326 17b73243-c579-4c4c-a9d2-2d5706c11dac