Getting # Physical CPUs
Don
nospam at nospam.com
Thu Jul 15 08:56:41 PDT 2010
dsimcha wrote:
> == Quote from Don (nospam at nospam.com)'s article
>> dsimcha wrote:
>>> == Quote from Don (nospam at nospam.com)'s article
>>>> [snip]
>>>> Thanks, that's definitely a bug. The code in core.cpuid has not been
>>>> tested on the most recent CPUs (Intel added a totally new method) and
>>>> their documentation is quite convoluted. It's hard to get it right
>>>> without an actual machine.
>>> Bug 4462. http://d.puremagic.com/issues/show_bug.cgi?id=4462
>> Please check if the latest druntime commit fixes this.
>
> Thanks. Unfortunately I can't test this because the Linux build script for Phobos
> is broken on my machine in some inscrutable way. Frankly, my success rate at
> building stuff from other people's make files is well under 50%. Make is just a
> horrible technology that needs to die a horrible death. We should be eating our
> own dogfood and using rdmd for build scripts.
I agree.
In this case, core.cpuid is completely stand-alone. So you could just
copy it into another directory and change the module statement.
More information about the Digitalmars-d
mailing list