Skip to content

Compile with OpenCilk for parallelism, ./gbbs/bridge.h:79:3: error: no template named 'alloc_holder' #2

@IamwhatIamSY

Description

@IamwhatIamSY

Hello!

When I compile BYO with OpenCilk using the Bazel configuration --config=cilk, there comes an error: "./gbbs/bridge.h:79:3: error: no template named 'alloc_holder' ". The following is my bazel build configurations about OpenCilk in file /BYO/.bazelrc:

# Build using OpenCilk for parallelism.
build:cilk --repo_env=CC=clang++
build:cilk --cxxopt=-UHOMEGROWN
build:cilk --cxxopt=-gdwarf-4
build:cilk --cxxopt=-std=c++20
build:cilk --cxxopt=-DCILK
build:cilk --cxxopt=-DPARLAY_OPENCILK
build:cilk --cxxopt=-fopencilk
build:cilk --cxxopt=--gcc-toolchain=/path to gcc11.4/
build:cilk --linkopt=-fopencilk

Could you please give me some suggestions to solve this problem?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions