summaryrefslogtreecommitdiff
path: root/lib/make/make.config.rules.in
Commit message (Collapse)AuthorAge
* reintroduce dependency fixup to avoid full compile when thornlist changesrhaas2012-08-11
| | | | | | | | | | this fixes an issue introduced in r4839 where the original patch removed special treatment for three (or so) files, assuming that these files are not generated any more. This was wrong, and this patch reverts special treatment for one of these files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4862 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct dependency calculation for CUDAeschnett2012-07-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4850 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct error in determining dependencieseschnett2012-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4843 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes for ticket #768sbrandt2012-06-18
| | | | | | | | Change per thorn -DTHORN_IS_xxx to a per thorn -I bindings/include/xxx git-svn-id: http://svn.cactuscode.org/flesh/trunk@4839 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support OpenCL source code (.cl files)eschnett2012-05-02
| | | | | | | | | | | | | | | | | | OpenCL source code needs to be compiled at run time, and thus needs to be passed as string to the OpenCL run-time library. This makes writing OpenCL source code inconvenient. This patch adds *.cl as supported file type to Cactus. *.cl files are transformed into globally visible strings, with a name consisting of the thorn name and file name. These strings can then be easily used at run time to build and run OpenCL code. Since *.cl files are converted to strings (and are not OpenCL-compiled at build time), there are no CL* options specifying compiler type, compiler flags etc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4808 17b73243-c579-4c4c-a9d2-2d5706c11dac
* - fix several issues with recent VERBOSE changeknarf2011-10-04
| | | | | | | - re-introduce SILENT=no to set VERBOSE=yes, for some time git-svn-id: http://svn.cactuscode.org/flesh/trunk@4740 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix issue #586: bashisms, and uppercase VERBOSE=YES, as well as a couple of ↵knarf2011-09-28
| | | | | | minor cosmetics issues git-svn-id: http://svn.cactuscode.org/flesh/trunk@4739 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove bashisms and unnecessary curly bracesknarf2011-09-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4738 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 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
* Reorder CUDA makefile ruleseschnett2011-04-22
| | | | | | | | | The rules to build CUDA source files are very similar to those for C and C++, and different from those for the Fortran. Reorder reorder these makefile rules to make the code easier to understand. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4700 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Jian Tao: The configuration option to specify the CUDA C compiler ↵knarf2011-02-26
| | | | | | should be called CUCC, not NVCC. nvcc is only NVidia's CUDA C compiler. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4685 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add CUDA support to the fleshknarf2011-02-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4684 17b73243-c579-4c4c-a9d2-2d5706c11dac
* make Cactus add include paths to the compiler options such that fortran ↵knarf2010-11-23
| | | | | | module files outside of scratch can be found, closes ET ticket #99 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4652 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Take F90_SUFFIX into account when "preprocessing" .f90 files. This isschnetter2007-02-16
| | | | | | | | necessary on AIX, where the compiler requires free-form Fortran 90 files to have a .f suffix. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4408 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change a regex to work around a bug in the perl on RHEL. Also transferredgoodale2004-08-12
| | | | | | | | the full perl expression to the other place it should have been used, which may sort out excessive rebuilding on windows. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3830 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CPPFLAGS in addition to CFLAGS and CXXFLAGS when compiling.schnetter2004-06-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3801 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to using the cygwin version of Perl under cygwin. This hasgoodale2004-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | the translation of CCTK_HOME to a windows format from the master Makefile, and forced the addition of a new Make macro TRANSLATE_DIRS which is used in various places in Make to translate things like /cygwin/f/... into f:\... This is a 'call'able macro in Make, and defaults to $(1). There is a new subroutine in RunTestUtils which serves the same purpose. This change should not affect anyone not using Cactus on Windows. If you are using Windows you will need to reconfigure, making sure that the Perl you use is the cygwin one and not the ActiveState one. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3742 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Catch the case where a Fortran compiler has been set to "none",schnetter2004-04-14
| | | | | | | | indicating none has been found. Print a legible error message instead of gibberish. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3663 17b73243-c579-4c4c-a9d2-2d5706c11dac
* #define F90CODE when preprocessing Fortran 90 code.schnetter2004-03-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3623 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing to use perl rather than sed, as under irix sed has line-sizegoodale2004-02-20
| | | | | | | | | | limits which was leading to truncated expressions in processing Fortran files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3577 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed equals operator in string comparisons.tradke2004-01-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3549 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix file name extensions for Fortran source file module dependencyschnetter2004-01-21
| | | | | | | calculation git-svn-id: http://svn.cactuscode.org/flesh/trunk@3548 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Look for Fortran inter-module dependencies also in files that are notschnetter2004-01-21
| | | | | | | preprocessed git-svn-id: http://svn.cactuscode.org/flesh/trunk@3547 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Provide line number information not only from compilers, but also fromschnetter2004-01-21
| | | | | | | preprocessors git-svn-id: http://svn.cactuscode.org/flesh/trunk@3546 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make error messages and debug information point to the real sourceschnetter2004-01-19
| | | | | | | | file instead of the preprocessed file. The options C_LINE_DIRECTIVES and F_LINE_DIRECTIVES control this behaviour. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3527 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add (incomplete) Fortran 90 bindings for the flesh functions.schnetter2004-01-19
| | | | | | | Also, detect Fortran 90 inter-module dependencies automatically. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3524 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Protect the // concatenation operator in Fortran againschnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3523 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add FPP and FPPFLAGS configuration variables. These are used forschnetter2004-01-19
| | | | | | | preprocessing Fortran files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3522 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set the preprocessor flag F90CODE for Fortran 90 source files.schnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3521 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
* Use echo "" > file to create files rather than touch file.allen2002-08-20
| | | | | | | Fixes NFS problem described in Cactus/994 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2971 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Spelling correction.goodale2001-06-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2244 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing name used to replace __FORTRANFILE__ to F77 for F77 files.goodale2001-04-16
| | | | | | | | | Should fix PR582. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2117 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus/569allen2001-04-14
| | | | | | | | Don't use C preprocessor to find dependencies of fortran files with .f, .f90, .f77 extensions. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2111 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Activate output of source file name preprocessor directive to preprocessedgoodale2001-01-14
| | | | | | | | | | | | | | | c and c++ source files, as per c_file_processor 1.15. This allows __FILE__ directives to work, and also allows the compiler to point to the c source file for warning/error messages. If this gives problems on any architecture it will need to be removed. You need to do a make <config>-config to activate this. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1992 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add F90_SUFFIX make variable for freeformat f90 suffix. This shouldgoodale2000-12-17
| | | | | | | | | help with PR 224. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1962 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed Cactus/302allen2000-04-16
| | | | | | | (Treatment of free format fortran) git-svn-id: http://svn.cactuscode.org/flesh/trunk@1543 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Addedgoodale2000-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | C_POSTPROCESSING CXX_POSTPROCESSING F77_POSTPROCESSING F_POSTPROCESSING F90_POSTPROCESSING as things a known-architecture can set. This allows object files to be moved and things like that. Also added the ability of the architecture files to write to a file calles make.arch.defn which is included at the bottom of make.code.defn. Thus, for example, an architecture requiring mpicc and its ilk for compiling with MPI can replace the compilers at this point, but still allow the rest of the configuration to use the normal compiler. Use with caution. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1438 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added yet another thing which can be set by the known-architecture stuff:goodale2000-03-06
| | | | | | | | | | | | | | | | | | | | | | | | CXX_WORKING_NAME this defaults to the working name being the filename without the directory info, but can be used to give the file generated after preprocessing a different name. E.g. if your machine requires C++ files to end with .C you should be able to do CXX_WORKING_NAME='$(notdir $<).C to solve the problem. At some point we're going to have to go through all these obscure flags and decide on nice names and what functionality they really should have. For instance the above could also have been done by introducing CXX_SUFFIX which would of course be easier for the end-user, but might in some circumstances be less useful. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1420 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing flags which were repeated for OPTIMISE and DEBUGallen2000-03-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1412 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
* Merged in Erik's free-format f90 stuff. Until we have a standardgoodale1999-11-24
| | | | | | | | | | | | | | thorn with free-format f90 in it this is not guaranteed to work on all platforms. Thanks for doing this Erik. Tidied up the f_file_processor to some extent added grdoc stuff to it, and made the formatting consistent with the rest of the perl in the CCTK. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1168 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Attempt to exclude certain files from the dependency lists to preventgoodale1999-11-04
| | | | | | | | | | | excessive recompilation when the thornlist is changed. Tested under Linux. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1134 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Escape double quotes around filenameallen1999-11-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1124 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use Perl rather than sed to do some substitutions for Fortran files.goodale1999-10-26
| | | | | | | | | Fixes Compiler/140. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1108 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The dependency fixer uses perl inline editing. This doesn't workgoodale1999-10-20
| | | | | | | | | under NT, so need to create a backup file and then delete it. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1072 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support for .cpp and .cxx extensions for C++ . This hasn't been tested.goodale1999-10-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1069 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for PR 118 - dependencies should (I hope) work properly now.goodale1999-10-07
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1011 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix to the dependencies. These were broken when we went togoodale1999-10-07
| | | | | | | | | names of the form bae.lang.o, etc. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1010 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change to allow files with the same basename but differnt languages to begoodale1999-09-10
| | | | | | | | | | | | | | | | | | | | | | allowed in a thorn. This also makes the names of the dependency files unique, so should also solve PR CCTK/75. You will need to do a <config>-config after this, or do cp lib/make/make.config.rules.in configs/<config>/config-data/make.config.rules in order for everything to work again. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@894 17b73243-c579-4c4c-a9d2-2d5706c11dac