summaryrefslogtreecommitdiff
path: root/lib/make
Commit message (Collapse)AuthorAge
* Improve detection of Fortran/C calling interfaceschnetter2008-02-19
| | | | | | | | | A Fortran file is compiled to an object file, which is then searched for certain patterns. The detection can now handle multiple matches per "line", which is necessary for gcc 4.3. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4463 17b73243-c579-4c4c-a9d2-2d5706c11dac
* don't try to detect the Fortran77 compiler type if F77 is set to 'none'tradke2008-02-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4462 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Extended behaviour of LIBS and LIBDIRS: add -l and -L prefix only toschnetter2008-02-13
| | | | | | | library and directory names, respectively, but leave options alone. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4461 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Support Darwin 9.2.0schnetter2008-02-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4459 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use autoconf to look for system-dependent low-level timing functions.schnetter2008-01-25
| | | | | | | Such timing functions are e.g. used by Carpet. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4457 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use "rm -rf" instead of "rm" when removing temporary filesschnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4454 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CPPFLAGS as well for the final link stage, since the fileschnetter2008-01-25
| | | | | | | datestamp.c is actually compiled at that time. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4452 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Explicitly specify -qfree when compiling Fortran 90 filesschnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4451 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Erik Schnetter to work around an 'argument list too long' problemtradke2008-01-22
| | | | | | | | during the generation of libCactusBindings.a on an IBM SP5 machine (see http://www.cactuscode.org/old/pipermail/developers/2007-December/005479.html as the corresponding email discussion thread) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4446 17b73243-c579-4c4c-a9d2-2d5706c11dac
* change back from from '-std=c99' to using '-std=gnu99' for the Intel C compilertradke2008-01-21
| | | | | | | to also allow GNU extensions git-svn-id: http://svn.cactuscode.org/flesh/trunk@4445 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use '-std=c99' instead of '-std=gnu99' to enable C99 supporttradke2008-01-21
| | | | | | | for the Intel C compiler git-svn-id: http://svn.cactuscode.org/flesh/trunk@4444 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fixed Intel C/C++ compiler version check logictradke2008-01-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4443 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set F77 flags after F90 flags to keep order consistent (no semantic change)schnetter2008-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4442 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't optimise for a particular processor architecture by default.schnetter2008-01-19
| | | | | | | | | Instead use just "-O2 -ip", which should work on every platform. Enable C99 language support by default. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4441 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add known-architecture file for Darwin 8.11.1schnetter2007-11-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4439 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Jian Tao: fixed auto-detection of gfortran compilertradke2007-11-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4437 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Jian Tao: add gfortran to the list of known F77/F90 compilerstradke2007-11-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4436 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed error in linux config file.jshalf2007-10-26
| | | | | | | Linux file detects XT4 Linux systems and vectors to xt4-cray-linux config. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4435 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move setting of F90 and F77 to none earlier to prevent a buggoodale2007-10-18
| | | | | | | | when neither compiler has been found which left types undefined. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4433 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add known architecture file for Darwin 8.10.3schnetter2007-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4432 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce a new autoconf macro CCTK_CHECK_C_INLINE, which checks forschnetter2007-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | the inline keyword very similarly to AC_C_INLINE. CCTK_CHECK_C_INLINE works in the following way: Do nothing if the compiler accepts the inline keyword. Otherwise define inline to __inline__ or __inline if one of those work, otherwise define inline to be empty. The setting '__inline__ __attribute__((__gnu_inline__))' is for gcc 4.3 and later. By default this version of gcc follows the new ANSI standard for "static inline" and "extern inline", which is incompatible with many libraries (e.g. GSL), leading to linker errors about duplicate symbols. This is because "static inline" now generates an externally visible symbol. The setting above makes gcc fall back to the old meaning, which does not generate an externally visible symbol for "static inline". Use CCTK_CHECK_C_INLINE instead of AC_C_INLINE in configure.in. Re-generate configure. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4429 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow thorns to call make.configuration recursively from theirschnetter2007-08-22
| | | | | | | | | | | | make.configuration.deps. For this, thorns have to specify a make goal with a suffix ".custom". If the make goal has the suffix ".custom", then include the thorn list definition make.thornlist. This is identical to what happens for the "utils" and "build" make goals. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4427 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix LDFLAGS when using the Intel compiler for linkingtradke2007-08-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4426 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Steve White's patch to auto-configure with MPICH2tradke2007-08-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4425 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for Darwin 8.10.1schnetter2007-06-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4424 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New Solaris 10 options from Ankush Guptaschnetter2007-06-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4423 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add autoconf macros to detect the header file <malloc.h>, theschnetter2007-05-26
| | | | | | | | functions mallinfo() and mallopt(), and the constant M_MMAP_THRESHOLD. These are e.g. provided by glibc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4422 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix MPI_INCLUDES and MPI_LIBS when using OpenMPI v1.1tradke2007-05-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4421 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Build a configuration in two steps: First create make.thornlib, thenschnetter2007-05-21
| | | | | | | | build all thorns. This seems to make "make" honour the "-j" options when building the thorns. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4420 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use fewer warning flags for C and C++ compilers by default.schnetter2007-05-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4419 17b73243-c579-4c4c-a9d2-2d5706c11dac
* += support for OpenBSD 4.0jthorn2007-04-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4416 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added known architectures for xt3 and xt4.jshalf2007-04-04
| | | | | | | still fixing some some xt4/pgi compiler issues. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4415 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed config.guess and config.sub for Cray xt3 and xt4 targets.jshalf2007-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4414 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add known architecture file for Darwin 8.9.1schnetter2007-03-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4413 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct dependency generation for Fortran files:schnetter2007-02-27
| | | | | | | | | | | | | | | Do not set F90_DEPEND, as this variable is not used. Move definition of F77_DEPEND to where F_DEPEND is set. Set F_DEPEND to "$(FPP)", which is evaluated when make runs, not to the default value of FPP. This allows influencing F_DEPEND by setting FPP. Set AIX_[Ff]90_FLAGS to "-qfree", to be symmetric to AIX_[Ff]_FLAGS and AIX_[Ff]77_FLAGS, which are set to "-qfixed". git-svn-id: http://svn.cactuscode.org/flesh/trunk@4411 17b73243-c579-4c4c-a9d2-2d5706c11dac
* move liblammpi++ in front of all other LAM libstradke2007-02-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4410 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prefer bash over sh. sh on AIX has severe limitations and cannotschnetter2007-02-17
| | | | | | | | | | | handle long argument lists, which prevents calling ar or ld when there are many thorns. Add a comment describing why setting SHELL when configuring does not work. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4409 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
* Allow users to override FPP settingtradke2007-02-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4407 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Update darwin configuration script:schnetter2006-11-11
| | | | | | | | | | | | | Add support for the Intel compiler. Disable a test for a special version of gcc 3.3 modified by Apple installed in a special location. Do not try to use the Absoft compiler if all compiler auto-detection fails. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4385 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add known architecture file for Darwin 8.8.1.schnetter2006-09-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4377 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for lam_config.h in ${LAM_INC_DIR} if it is set.tradke2006-08-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4366 17b73243-c579-4c4c-a9d2-2d5706c11dac
* No significant change. Just increase the version number to what itschnetter2006-08-23
| | | | | | | | was before the CVS server was restored. This file has now effectively the same content as before the repository corruption. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4364 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Recommit patch from Erik Schnetter (see revision 1.148 of configure.in):tradke2006-08-23
| | | | | | | | | | | Set the F77 profile flags as well when setting the F77 flags. This somehow got lost in the previous change. This should bring the configure script back in sync with configure.in now that the CVS server problems have been solved. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4363 17b73243-c579-4c4c-a9d2-2d5706c11dac
* current version of OpenBSDjthorn2006-08-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4361 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add liblammpi++ to the library link list if it is found.swhite2006-07-29
| | | | | | | Needed by Carpet and GZPatchSystem git-svn-id: http://svn.cactuscode.org/flesh/trunk@4360 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When compiling src/datestamp.c, pass in as a preprocessor define the currenttradke2006-07-28
| | | | | | | | data/time as returned by /bin/date in possibly ISO 8601 compliant format. This datetime stamp will be used by the new flesh routine CCTK_CompileDateTime(). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4357 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set the F77 profile flags as well when setting the F77 flags. Thisschnetter2006-07-25
| | | | | | | somehow got lost in the previous change. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4356 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set the F77 compiler and flags from the F90 compiler and flags earlierschnetter2006-07-25
| | | | | | | | during configuring. This way they are set before they are used to determine the properties of the Fortran compiler. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4355 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus only enables support for CCTK_REALx if both C and Fortranschnetter2006-07-25
| | | | | | | | | | | support this type. This does not make sense if there is no Fortran compiler. Disable the check whether real*n is supported in Fortran when there is no Fortran compiler. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4354 17b73243-c579-4c4c-a9d2-2d5706c11dac