On 5/13/14, 1:08 AM, Sébastien Maret wrote:
>
> Le 9 mai 2014 à 17:09, Alexander Hansen <[email protected]> a écrit
> :
>
>> On 5/9/14, 1:56 AM, bruenken wrote:
>>>
>>> I suspect that not the 32/64 bits of the kernel, but rather the processor
>>> are the problem, since the gildas installation checks for the architecture
>>> like this:
>>>
>>> "if [ `sysctl -n hw.optional.x86_64 2> /dev/null` = 1 ]; then
>>> export arch="x86_64-darwin-gfortran-32bits"
>>> else
>>> export arch="pc-darwin-gfortran-32bits"
>>> "
>>
>> Right, that test seems like it's not doing the right thing for Fink's
>> purposes. We normally don't do hardware tuning.
>
> Alexander: Do you have a suggestion on how to test the distribution (i386 vs
> x86_64) rather than the CPU capabilities?
>
> Sébastien
>
The easiest option might be to patch the above to something like
if [ "@ARCHITECTURE@" = "x86_64" ]; then
export arch="x86_64-darwin-gfortran-32bits"
else
export arch="pc-darwin-gfortran-32bits"
and then use sed or perl to change @ARCHITECTURE@ to %m in the PatchScript.
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users