Skip to content

Clustering not compiling right #32

Closed

Description

@chrisgraham

I enabled cpp clustering on my build but it did not include references to the cpp directory in my cmake stuff, so I had to add it in manually.
I am compiling on latest Kubuntu.

Activity

  1. chrisgraham commented on Feb 22, 2010

    @chrisgraham
    Author

    Also, no errors are shown about this, just 'program' never appears. The only way I could see the linker errors was to go in any run 'make' manually -- I think the normal build process needs to detect linker errors and show them.

  2. scottmac commented on Feb 22, 2010

    @scottmac
    Contributor

    Can you provide a test script please.

  3. chrisgraham commented on Feb 22, 2010

    @chrisgraham
    Author

    I was compiling with this command:

    $HPHP_HOME/src/hphp/hphp --input-list=hphp.files.list --log=3 -v "AllDynamic=true" -k 0 --force=1 --cluster-count=10

    and I don't think it's related to my code, as the whole 'cpp' directory was missed out, and I would guess due to the nature of the clustering it must be pretty code agnostic outside that set of cpp files. I don't have my build environment here to check right now, but I fixed the problem by editing one of the top level CMake definition files to tell it to scan the cpp dir.

  4. chrisgraham commented on Feb 28, 2010

    @chrisgraham
    Author

    I just thought I'd note that I haven't seen this problem recently, so I suppose either it's fixed, or it only happens in weird circumstances.

  5. chrisgraham commented on Jul 13, 2010

    @chrisgraham
    Author

    I think this can be closed, didn't see it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions