summaryrefslogtreecommitdiff
path: root/lib/sbin/CreateImplementationBindings.pl
Commit message (Collapse)AuthorAge
* Introduce OPTIONAL_IFACTIVEeschnett2013-01-18
| | | | | | | | | | | Following up on a discussion on the Cactus developers mailing list, this patch introduces a third way of indicating a desired capability: in addition to REQUIRES and OPTIONAL there is OPTIONAL_IFACTIVE. This behaves like OPTIONAL, except that the capability relationship only exists if the thorn providing the capability is active. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4938 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
* Parse information in thorns' configuration.ccl files.tradke2003-09-04
| | | | | | | | | So far only the "REQUIRES THORNS: <list of thorns>" attribute is evaluated and checked that (1) all required thorns are in the ThornList to be compiled and (2) activated at runtime. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3393 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reworked treatment of CCTK_DECLARE macros. Now the C file preprocessortradke2002-03-27
| | | | | | | | | | | | | | | | | | | will put everything up to the closing bracket for a routine into a new block. Also, the USE_CCTK macro is now appended directly to the CCTK_DECLARE macro. There is no need anymore to use CCTK_NO_AUTOUSE_MACRO. Also changed the way how parameters and arguments are used within the USE_CCTK macros: now it's done by "(void) (parameter = 0);" which is better than assigning the address of it to some dummy pointer. This fixes problems where one had to parse for a possible return statement at the end of the routine. This fix closes PR Cactus/949. Also did some perl code optimization and added grdoc headers for files generated by the CST. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2676 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding prototype to fix compiler warningallen2001-08-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2306 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The Hitachi SR8000 compiler doesn't seem to like the way the thorngoodale2001-05-23
| | | | | | | | | | | attributes list was being assigned, so now have to declare the array with a fixed size and assign each member of the array manually 8-( Maybe one day they'll fix the compiler and things can be tidied up again... Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2208 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Only pass the list of friends this thorn declares, not the whole friendshipgoodale2001-05-22
| | | | | | | | | group, to the registration routines. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2206 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Several inter-twined changes: -goodale2001-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make system now looks in bindings/build/$(THORN)/make.code.defn for additional objects to be built and linked into a library. The CST puts a file cctk_ThornBindings.c into this directory. This should solve the empty library problem - PR 638. The interface to the internal routine CCTKi_RegisterThorn has changed. The new file created by the CST uses the correct new syntax, ands passes information about ancestors and friends into the flesh. Hence the commit of two separate things in one commit, as the both changes require a -rebuild. Please do a make <config>-rebuild or your code will not compile. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2199 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing compiler warningsallen2000-03-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1506 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed some things noticed by perl -w .goodale1999-10-25
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1102 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to use Perl5 stuff...goodale1999-10-24
| | | | | | | | | | | | | local -> my used perl 5 references for passing databases around in the CST. CST is now about a factor of 16 faster ! Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1101 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CST only writes files which have changed (still a couple more writesallen1999-10-20
| | | | | | | | | | to replace). Also a bug fix for Build Headers for when the file to be included is in the include directory of the thorn. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1068 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New parameter stuff.goodale1999-08-26
| | | | | | | | | | | Now a non-active thorn's extensions to parameters shouldn't be valid, range checking is now done, even for strings, which must conform to a regular expression. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@859 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@830 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing some routine names.allen1999-07-24
| | | | | | | | | Internal functions are CCTKi_ Utility functions are Util_ git-svn-id: http://svn.cactuscode.org/flesh/trunk@777 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Latest changes for the ActiveThorns.goodale1999-07-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@649 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for the ActiveThorns parameter.goodale1999-07-04
Now need to specify ActiveThorns before any other parameters to list those thorns which are active. No parameters or startup or rfr routines are available from inactive thorns. Note that this isn't quite working yet but I hope to track it down by morning. In the meantime either don't update or be prepared for things to be slightly broken. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@645 17b73243-c579-4c4c-a9d2-2d5706c11dac