≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #2133

Bug #2133: Evaluation of PROCESSOR_COUNT during build time is wrong

Kind bug
Product Command-T
When Created 2013-12-19T13:53:13Z, updated 2014-01-03T09:37:53Z
Status closed
Reporter Vit Ondruch
Tags no tags

Description

You assume, that the Ruby extension is build on the same machine, where the code is executed. This assumption is invalid for Fedora. When I package command-t for use with Fedora, the extension is built on Koji builder. There might be powerful CPUs with plenty of cores, but it says nothing about my machine. Could you please consider to update this logic somehow?

Comments

  1. Greg Hurrell 2013-12-19T14:23:53Z

    My concern is that the logic is complicated, brittle, and potentially expensive, so I preferred to reduce the exposure by running it only once, at build time, rather than at run time.

    But I see your point. I'll see what I can do.

  2. Greg Hurrell 2013-12-19T16:01:33Z

    I am thinking of applying something like this patch.

  3. Greg Hurrell 2013-12-23T04:49:54Z

    I decided to run with the patch, and have released 1.6.1.

    Marking this ticket as closed.

  4. Greg Hurrell 2013-12-23T04:49:57Z

    Status changed:

    • From: new
    • To: closed
  5. Vit Ondruch 2014-01-03T09:37:53Z

    Thank you. I have not a chance to test the change yet, but it looks reasonable.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets