[mythtv] [mythtv-commits] Ticket #1563: Patch for configure to autodetect CPU on MacOS X (PPC and Intel)

MythTV mythtv at taoyama.com
Wed Apr 5 18:07:28 UTC 2006


On Apr 5, 2006, at 8:18 AM, Asher wrote:

> On 3/22/06, MythTV <mythtv at cvs.mythtv.org> wrote:
>> #1563: Patch for configure to autodetect CPU on MacOS X (PPC and  
>> Intel)
>> ------------------------------ 
>> +---------------------------------------------
>>  Reporter:  mino at taoyama.com  |        Owner:  nigel
>>      Type:  enhancement       |       Status:  assigned
>>  Priority:  minor             |    Milestone:  0.20
>> Component:  mythtv            |      Version:  head
>>  Severity:  low               |   Resolution:
>> ------------------------------ 
>> +---------------------------------------------
>> Changes (by nigel):
>>
>>   * owner:  ijr => nigel
>>   * status:  new => assigned
>>
>> Comment:
>>
>>  I have applied this, mostly as given. I suspect there will be some
>>  negotiation of what P6 actually means, and what ARCHFLAGS should  
>> actually
>>  be for an Intel Core chip, though.
>>  [[BR]]
>>  ''e.g.'' -march=pentium-m -sse -sse2 -sse3 -mmx
>>
>> --
>> Ticket URL: <http://cvs.mythtv.org/trac/ticket/1563>
>
> Hmm, this isn't detecting my cpu on my MacBook Pro Dual Core 1.8:
> ./configure --disable-distcc
> Firewire being disabled. /Developer/FireWireSDK* missing
> # Basic Settings
> Compile type     release
> Compiler cache   no
> DistCC           no
> Install prefix   /usr/local
> CPU              x86 (Unknown Intel P6 Family)
> Big Endian       no
> MMX enabled      yes
> Vector Builtins  yes
>
> # Input Support
> Joystick menu    no
> lirc support     no
>
> # Sound Output Support
> OSS support      no
> ALSA support     no
> aRts support     no
> JACK support     no
> DTS passthrough  no
>
> # Video Output Support
> x11 support      no
> xrandr support   no
> xv support       no
> XvMC support     no
> XvMC VLD support no
> XvMC pro support no
> Mac accel.       no
> OpenGL vsync     no
> DirectFB         no
>
> # Misc Features
> Frontend         yes
> Backend          no
>
> Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak
>
> WARNING: --disable-backend is only intended to aid porting.
> WARNING: You are on your own now.
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>

Asher,

Why do you think it is not working?  This is exactly what I get and  
the compile does the right thing by selecting a P4 with MMX.  The CPU  
field is accurate.  That is the string that is reported by the OSX  
sysctl call.  While seeing "Unknown" may be alarming it does not  
impact how the build will proceed.  If anything this is a bug with  
OSX since it is providing the string.

Mino


More information about the mythtv-dev mailing list