[ET Trac] [Einstein Toolkit] #1173: ExternalLibraries build environment problems
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Nov 12 14:08:21 CST 2012
#1173: ExternalLibraries build environment problems
------------------------------------+---------------------------------------
Reporter: hinder | Owner:
Type: defect | Status: review
Priority: major | Milestone:
Component: EinsteinToolkit thorn | Version:
Resolution: | Keywords: zlib hwloc
------------------------------------+---------------------------------------
Comment (by hinder):
I think this is two separate issues, but I also don't agree with your last
statement. In all cases, setting ZLIB_DIR = NO_BUILD would cause zlib to
not be built, as far as I can tell. Have I misunderstood? The second
patch corrects the issue that the search code isn't run for ZLIB_DIR =
NO_BUILD and the first patch corrects the issue that ZLIB_INC_DIRS and
ZLIB_LIB_DIRS are set to nonsensical values if ZLIB_DIR = NO_BUILD. In
any case, the search code isn't going to find this particular
installation, so the second patch won't going to solve the original issue
of this ticket. I think both patches should be applied.
There is much duplicated code/logic, much of which is incorrect,
incomplete or inconsistent in the ExternalLibraries configuration scripts.
This is not a surprising, since this was our first attempt at modularising
the treatment of external libraries in Cactus. At some point, we should
factor out what is common, determine the best way of achieving it, and add
it to the flesh, perhaps in the form of bash utility functions which can
be called by configuration scripts. But in the short term, for this
specific issue, the above patches would be a useful stop-gap measure.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1173#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list