Skip to content

Parallel build is broken for STATIC_BUILD=ON #14

@rosik

Description

@rosik

How to reproduce

$ export MAKEFLAGS=j
$ tarantoolctl rocks install kafka STATIC_BUILD=ON
...
make[2]: *** No rule to make target 'librdkafka/lib/librdkafka.a', needed by 'kafka/tntkafka.so'. Stop.
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

How it affects others

In the other project (central) rocks install is called from the top-level cmake build. There we install multiple rocks so we want to do it in parallel (like cmake && make -j). Cmake sets the MAKEFLAGS environment variable thus building kafka fails.

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