summaryrefslogtreecommitdiff
path: root/lib/make
Commit message (Collapse)AuthorAge
* Delete large "lib" directories without exceeding command line length limitationseschnett2011-01-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4661 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Force a rebuild of all Cactus configurations sinceeschnett2010-12-23
| | | | | | | cctki_Capabilities.h was renamed to cctk_Capabilities.h. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4660 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve optional requirement of capabilitieseschnett2010-12-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Thorns can specify that they can make use of a particular capability (for example HDF5), but that it is not absolutely required. It is currently not possible to detect a capability in the source code or make system of a thorn because there is no preprocessor macro and no make variable defined to indicate that the capability is available. Additionally, the preprocessor definitions which are explicitly provided by a capability are written to an include file which is malformed and hence these definitions cannot be read. This commit: * Introduces makefile and preprocessor variables HAVE_CAPABILITY_<cap> for each provided capability * Removes the incorrect definition line causing the include file to be malformed * Renames cctki_Capabilities.h to cctk_Capabilities.h and causes cctk_Capabilities.h to be included from cctk.h by all thorns * Excludes cctk_Capabilities.h from dependency checking (dependencies of the files included from this one will be sufficient) [Patch from Ian Hinder] git-svn-id: http://svn.cactuscode.org/flesh/trunk@4659 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Autoconf CCTK_ATTRIBUTE_NOINLINE, which expands toeschnett2010-12-23
| | | | | | | __attribute__((noinline)) if that is supported by the compiler. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4658 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add new configuration flags CPP_DEBUG_FLAGS etc., which allow passingeschnett2010-12-22
| | | | | | | | | | | | | | | | | | | | | | | special CPP flags for debugging. These complement the existing C_DEBUG_FLAGS and CPPFLAGS. In particular, the following flags are added: CPP_DEBUG_FLAGS FPP_DEBUG_FLAGS CPP_OPTIMISE_FLAGS FPP_OPTIMISE_FLAGS CPP_PROFILE_FLAGS FPP_PROFILE_FLAGS CPP_OPENMP_FLAGS FPP_OPENMP_FLAGS CPP_WARN_FLAGS FPP_WARN_FLAGS Applications are e.g. adding -Wall to CPP_WARN_FLAGS, or -fopenmp to CPP_OPENMP_FLAGS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4656 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use define OPENMPI_BIN_LIB_DIR to specify library directories which have to ↵knarf2010-12-01
| | | | | | be searched when the openmpi binaries are executed. This can happen e.g. when using openmpi which was compiled with the intel compiler, but the corresponding intel module wasn't loaded git-svn-id: http://svn.cactuscode.org/flesh/trunk@4655 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Force people to reconfigure their buildseschnett2010-11-24
| | | | | | | | Modify force-reconfigure to force people to reconfigure their builds because the way unsued variables are handles changed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4653 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
* support __unused__ where known. This let's e.g. gcc know that especially the ↵knarf2010-11-23
| | | | | | Cactus variables might be unused and should not be reported as such. This closes ET ticket #1 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4651 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 10.5.0eschnett2010-11-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4650 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Enforce reconfiguring Cactus configurations sinceeschnett2010-10-13
| | | | | | | | ExternalLibraries/HDF5 has changed. This may otherwise lead to build failures in thorns that use HDF5. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4642 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove default option -std=gnu++0x for the Darwin gcc C++ compiler,eschnett2010-10-01
| | | | | | | | since the default compiler on some Darwin systems doesn't understand it git-svn-id: http://svn.cactuscode.org/flesh/trunk@4640 17b73243-c579-4c4c-a9d2-2d5706c11dac
* only use $intel_dir/lib/icrt.link when it exists, which it does not for ↵knarf2010-09-08
| | | | | | newer versions of the intel compiler - only applies when the intel compiler is not used for linking git-svn-id: http://svn.cactuscode.org/flesh/trunk@4633 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use --version instead of --dumpversion for gfortran because of changes in ↵knarf2010-09-08
| | | | | | the output of the --version option, and to easily support old and new versions of gfortran git-svn-id: http://svn.cactuscode.org/flesh/trunk@4632 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
* Don't overwrite PTHREAD_LIBS if set in option listknarf2010-09-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4630 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 10.4.0eschnett2010-07-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4624 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tell Cactus to call the configuration scripts of Cactus thorns as 'make' ↵knarf2010-06-02
| | | | | | scripts, which especially enables those to use parallel make-builds themselfes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4617 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 10.3.1eschnett2010-05-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4615 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The architecture file xt4-cray-linux misdetects the GNU Fortranschnetter2010-04-17
| | | | | | | | | | | | | | compiler gfortran as the Portland compiler when gfortran is called through the ftn wrapper that Kraken provides. The fix is to do what the linux architecture file does and to remove the faulty test for Portland, and also fix the test for GNU Fortran to not require '95' in the version string. (Patch by Roland Haas) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4605 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Update default options for Darwin (Mac OS)schnetter2010-03-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4603 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 10.3.0schnetter2010-03-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4602 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add the names that gcc has on Mac OS when installed from the Mac Portsschnetter2010-03-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4601 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Enforce reconfiguring after introducing RUNDIR_PREFIXschnetter2010-03-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4600 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce new configuration variables LIBDIR_PREFIX, RUNDIR_PREFIX,schnetter2010-03-26
| | | | | | | | | | | | | | | | and LIBLINK_PREFIX. Expand them in makefiles. LIBDIR_PREFIX and LIBLINK_PREFIX existed before, but were not explicit configuration variables. RUNDIR_PREFIX is used to remember the path to a shared library in an executable. Keep the default value for LIBDIR_PREFIX at "-L" and LIBLINK_PREFIX at "-l". Set the default for RUNDIR_PREFIX to "-Wl,-rpath,". Use these variables when building the executable. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4599 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for AIX 6.1.3.0schnetter2010-03-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4598 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for "new" operating systemschnetter2010-02-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4597 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Detect HP-UX 11.11schnetter2010-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4596 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not include CVS headers in new thorns. Not only are they not universaly ↵knarf2010-01-26
| | | | | | liked, but cvs is also not that common anymore git-svn-id: http://svn.cactuscode.org/flesh/trunk@4595 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not overwrite the user's MPI settingsschnetter2009-12-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4592 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct error in export declarationsschnetter2009-12-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4587 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Accept both lower and upper case arguments for the PTHREADSschnetter2009-12-05
| | | | | | | configuration variable git-svn-id: http://svn.cactuscode.org/flesh/trunk@4586 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use : instead of touch to create a fileschnetter2009-12-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4585 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Export all make variables to sub-processes. This is necessary toschnetter2009-12-05
| | | | | | | | access e.g. CC and CFLAGS when building external libraries via the configuration.ccl mechanism. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4584 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Update configureschnetter2009-11-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4580 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Detect whether the compiler supports the attributesschnetter2009-11-11
| | | | | | | | | | | | | | | | | | | | | | const pure unused cold hot These attributes can be used to annotate declarations of variables, functions, and member functions to avoid warnings or enable additional optimisations. Detect whether the _Pragma directive is recognised. _Pragma can be used instead of #pragma, but works also inside macros. Update the detection of the static, inline, and restrict qualifiers to catch certain compiler errors, and avoids using these attributes with these compilers. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4578 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 10.2.0schnetter2009-11-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4575 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 10.0.0 (Snow Leopard)schnetter2009-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4572 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Especially with the widespread use of Carpet this can catch the eye ofknarf2009-09-10
| | | | | | | an user early and point to the right place to fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@4567 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 9.8.0schnetter2009-08-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4565 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for AIX 6.1.2.0schnetter2009-07-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4564 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 9.7.1schnetter2009-07-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4563 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct error in commentschnetter2009-05-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4559 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 9.7.0schnetter2009-05-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4558 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix from Maciej Brodowicz to properly detect the major/minor version of gfortrantradke2009-03-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4556 17b73243-c579-4c4c-a9d2-2d5706c11dac
* changes '-std=gnu99' to '-std=c99 -U__STRICT_ANSI__' for the intel C ↵knarf2009-02-17
| | | | | | compiler versions > 8 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4555 17b73243-c579-4c4c-a9d2-2d5706c11dac
* auto-detect IBM C/C++/Fortran compilers for Linux and set appropriate defaultstradke2009-02-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4551 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix warning message when an unknown F90 compiler was detectedtradke2009-02-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4550 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use new unified README format for 'make newthorn'knarf2009-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4526 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Handle PETSc installations in /usr, /usr/local, or other standardschnetter2009-01-27
| | | | | | | directories. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4525 17b73243-c579-4c4c-a9d2-2d5706c11dac