dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19358
Re: [Branch ~dolfin-core/dolfin/main] Rev 5094: Remove HINTS and stanard paths from CHOLMOD test.
-
To:
Johannes Ring <johannr@xxxxxxxxx>
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Tue, 24 Aug 2010 13:22:02 +0100
-
Cc:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<AANLkTi=oEG+n0TNRJKewxW9gQ8GdUwuVeyqS2t_qcOdp@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6
On 24/08/10 13:21, Johannes Ring wrote:
> On Tue, Aug 24, 2010 at 2:19 PM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
>>
>>
>> On 24/08/10 13:19, Johannes Ring wrote:
>>> On Tue, Aug 24, 2010 at 2:14 PM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
>>>>
>>>>
>>>> On 24/08/10 13:09, Johannes Ring wrote:
>>>>> On Tue, Aug 24, 2010 at 1:52 PM, <noreply@xxxxxxxxxxxxx> wrote:
>>>>>> ------------------------------------------------------------
>>>>>> revno: 5094
>>>>>> committer: Garth N. Wells <gnw20@xxxxxxxxx>
>>>>>> branch nick: dolfin-cmake
>>>>>> timestamp: Tue 2010-08-24 12:48:37 +0100
>>>>>> message:
>>>>>> Remove HINTS and stanard paths from CHOLMOD test.
>>>>>
>>>>> This doesn't allow me to do
>>>>>
>>>>> cmake -DCHOLMOD_DIR=/path/to/cholmod ..
>>>>>
>>>>> which I like better than defining environment variables before running
>>>>> cmake. Can't we allow both?
>>>>>
>>>>
>>>> I removed 'HINTS' because the CMake docs advise against this type of
>>>> usage (they say HINTS should be used as a helper based on something else
>>>> which has been discovered, e.g. an include dir).
>>>
>>> Ok.
>>>
>>>> I expect that there's another way to point CMake in the right direction.
>>>
>>> Yes, ${CHOLMOD_DIR} (in addition to $ENV{CHOLMOD_DIR}) can be added to
>>> PATH in find_library (or find_path). Is it okay to do that?
>>>
>>
>> Looks good to me. We should to it for all the packages.
>
> Ok, I'll do that.
>
I guess ${CHOLMOD_DIR} should come before $ENV{CHOLMOD_DIR} (priority
for the command line argument)?
Garth
> Johannes
>
>> Garth
>>
>>> Johannes
>>>
>>>> Garth
>>>>
Follow ups
References