Skip to content

[macOS CI] 'tbb/parallel_for.h' file not found #1808

@kadyb

Description

@kadyb

I tried to fix the problem with the incorrect path to tbb on macOS on CI, but unfortunately without success. tbb is definitely installed.

brew --prefix tbb
#> /opt/homebrew/opt/tbb

find /opt/homebrew -name "parallel_for.h"
#> /opt/homebrew/Cellar/tbb/2022.1.0/include/tbb/parallel_for.h

What I tried:

  1. Exporting an environment variable in the terminal:
export PKG_CONFIG_PATH="/opt/homebrew/opt/tbb:$PKG_CONFIG_PATH"
export PKG_CONFIG_PATH="/opt/homebrew/Cellar/tbb/2022.1.0/include/tbb:$PKG_CONFIG_PATH"
  1. Setting an environment variable in GH:
- uses: r-lib/actions/check-r-package@v2
  env:
    PKG_CONFIG_PATH: /opt/homebrew/Cellar/tbb/2022.1.0/include/tbb
- uses: r-lib/actions/check-r-package@v2
  env:
    PKG_CONFIG_PATH: /opt/homebrew/Cellar/tbb/2022.1.0/include/tbb/lib/pkgconfig

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