| Commit message (Collapse) | Author | Age |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4870 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4860 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4835 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
If A requires B, and B requires C, then A also requires C. This is
necessary e.g. for include directories: If A includes a file from B,
which in turn includes a file from C, then C's include directory must
be in the search path of A.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4811 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4803 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
The mechanism in Cactus that handles configuration.ccl files currently
cannot handle a configuration.ccl for the flesh. This patch corrects
this.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4720 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I have discovered a bug in the CreateConfigurationBindings.pl script
that prevents one from declaring more than one definition via the
"BEGIN DEFINE" block in a configuration script. This is because the
perl script receives the entire block as a single string, prefixes it
with "#define" and then writes to the cctki_THORN.h file. I have
modified the script to split the string on newlines and then prefix
each line with "#define", which then provides the expected behavior.
[Patch from Eric L. Seidel]
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4629 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
capabilities. This prevents name clashes with e.g. system header
files.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4201 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
(e.g. if a thorn's configuration.ccl has changed).
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4200 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configuration bindings.
When reading the configuration settings from the output of the
configuration scripts (that provide capabilities), new lines were lost
in certain circumstances. This lead to makefile fragments like
PETSC_DIR = /usr/local/apps/petscPETSC_ARCH = linux
which are obviously incorrect (since these should be two lines, not
one), although this does not lead to errors or warnings.
This patch makes sure that all configuration settings have newline
characters appended or blanks prepended as they are concatenated into
the internal database (ConfigScriptParser.pl). When the database is
read out, the strings can just be printed to the file
(CreateConfigurationBindings.pl).
While doing this, this patch also removes some superfluous blanks and
newline characters from the output of the configuration settings.
This patch also removes a perl idiosyncracy when appending newline
characters to a string. It changes code like "#endif" . "\n" to
"#endif\n".
Tested on Mac OS and Red Hat Linux.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4199 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4109 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
make/make.configuration
sbin/CreateConfigurationBindings.pl
because it broke compiling of capability-requiring thorns (eg. CactusIO/IOSDF).
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3998 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
and reorganise directories.
Note the patch to CreateConfigurationBindings.pl is from 1.3 of that
file, and, hopefully, fixes the same problems that 1.4 did.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3997 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
requiring capabilities.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3993 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
Now should be consistent with docs (once I update those), plus
prints out messages output by scripts.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3845 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Error code of thorn-provided script is checked.
LIBS and LIBDIRS should end up in correct places on link line.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3650 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3602 17b73243-c579-4c4c-a9d2-2d5706c11dac
|