[ET Trac] [Einstein Toolkit] #342: Add CCTK_POINTER_SIZE make variable
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Mar 14 11:34:41 CDT 2011
#342: Add CCTK_POINTER_SIZE make variable
-------------------------+--------------------------------------------------
Reporter: hinder | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Cactus | Version:
Keywords: flesh |
-------------------------+--------------------------------------------------
It is sometimes necessary to know in a thorn's configuration script
whether 32 bit or 64 bit code is to be generated. See the discussion in
ticket #339.
The attached patch adds a CCTK_POINTER_SIZE make variable to
make.config.defn which is accessible as a shell variable to configuration
scripts. This will be 4 when compiling for 32 bit, and 8 when compiling
for 64 bit.
I am not very expert in autoconf, so the patch might have to be modified.
It seems to work, however.
I have not included the generated configure script - this should be
generated by the person who commits the final patch.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/342>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list