| Commit message (Collapse) | Author | Age |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3131 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
'restrict', further down in the configure process, namely after checking
for the availability of C++ header files 'vector, vector.h'.
This is to at least bypass a problem with a broken AC_C_INLINE macro which
doesn't protect its '#define inline <...>' with '#ifndef __cplusplus' in the
autoconf-temporary confdefs.h header file. Which would then cause following
tests for C++ headers to fail (as happened on the IBM Regatta with xlC).
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3023 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
CCTK_BUILD_OS, CCTK_BUILD_CPU, CCTK_BUILD_VENDOR
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3003 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
being recognized by the C compiler as the restrict qualifier.
This closes PR Cactus 1112.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2990 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/1103.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2915 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2883 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2882 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
way as the const keyword - i.e. if it exists we do
#define restrict restrict
and if it doesn't exist we do
#define restrict
so it is safe to start using the restrict keyword in your C files, they will
still compile with compilers which don't support restrict.
Note that if you had a local variable called 'restrict' in C you will get an
error message, however you would have received one anyway when compiling with
a C99 compliant compiler.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2796 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2675 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Check for OPTIMIZE in addition to OPTIMISE.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2666 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2657 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2574 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2527 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
only overwrites if the new version is genuinely new. Now CCTK_CreateFile
saves a list of files it has created.
Changed the stuff in configure.in to use CCTK_CreateFile to create the
architecture and extras files and to always use CCTK_WriteLine to write to
a file.
Now if you reconfigure with precisely the same config options you don't
end up rebuilding the whole configuration if you have MPI or HDF5.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2248 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2237 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
if the C/C++ compiler is gcc/[cg]++.
Since this is set by configure now it will be used for all architectures
(not just Linux).
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2236 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
from the configure script. Of course, these are still used by the
make system.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2229 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
aren't used anymore in the code.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2225 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2189 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
necessary on Darwin.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2181 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2180 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
A known-architecture file or the config line can now set USE_RANLIB=yes to
have the make system use ranlib.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2174 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2135 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Removed check for mkdir(2) since this information isn't used anywhere
in the code.
Moved the 'extras/*/setup.sh' stuff to the end of configuration
so that it can use information from the main configure script.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2092 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hopefully configuring with and without the different fortran compilers
now works. You can (hopefully) say
F90=none
and/or
F77=none
and get no complaints about unknown compilers and get all the underscores sorted out.
In doing this I removed for now the F90_NOT_SET that I had put in before
so that you get a semi decent line if you try and compile a fortran file
with no fortran compiler since it was stretching my logic capabilities. Now
you will get a less decent line, but it will still say "none" for the
compiler rather than saying nothing. I'll try and remember to put it
back.
I'm think we can easily add the ability to have different F77 and F90
compilers as well, so long as they have the same underscore behaviour,
but probably noone needs that.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2074 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
if no compilers are found. This fix stops the perl script trying to compile
a test program to look for C-Fortran name translation if there is no compiler.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1988 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
during configuration to prevent bizarre errors when compiling fortran code
without a compiler set.
Fixes Cactus/497
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1987 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1967 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
help with PR 224.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1962 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
commit.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1919 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
with cygwin 1.1.6 on my virtual machine.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1916 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Now this function gets detected properly on Solaris machines.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1883 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1882 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In CCTK_Functions.sh:
CCTK_AddPrefix(prefix, list)
CCTK_AddSuffix(suffix, list)
CCTK_Wrap(prefix, suffix, list)
which manipulate the list in the obvious way.
In aclocal.m4:
CCTK_CHECK_FUNCS
CCTK_CHECK_LIB
with same functionality as the equivalent AC ones, except they use LIBS and LIBDIRS
as used in the rest of the cactus make system.
CCTK_CHECK_LIB_FUNC
which checks for a function in a particular library, and defined both HAVE_LIB[LIB]
and HAVE_FUNC.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1881 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1877 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1875 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1873 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1869 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
This has added another thing which needs to be set when cross-compiling.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1850 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1820 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1819 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
be placed before #include <...> in the test program. E.g. to make sure something
else is included first.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1818 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Preliminary check for crypt(3). Only tries the standard library
so far.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1817 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now defines HAVE_SOCKLEN_T if socklen_t exists.
Have modified so CCTK_SOCKLEN_T gets set depending on the value
of the HAVE_SOCKLEN_T, but, if this new config stuff works, would
like to lose the CCTK_SOCKLEN_T stuff.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1815 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
bypassed in the configure script, and flesh.cc is compiled as C rather
than C++.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1807 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
not, eg.). Set CCTK_SOCKLEN_T to socklen_t or int otherwise
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1799 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
This is needed, for example, for xlC.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1758 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
PR 354.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1665 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
if they don't exist it sets the make variables BUILD_REGEX and BUILD_GETOPT
to no, otherwise they are yes.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1659 17b73243-c579-4c4c-a9d2-2d5706c11dac
|