Skip to content

Configure conda-forge OpenMP paths on macOS - #235

Closed
lesteve with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-openmp-compilation-failure
Closed

Configure conda-forge OpenMP paths on macOS#235
lesteve with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-openmp-compilation-failure

Conversation

Copilot AI commented Sep 4, 2026

Copy link
Copy Markdown

Conda-forge’s minimally activated Clang 21 environment installs llvm-openmp without automatically exposing its headers and libraries. macOS OpenMP extension builds therefore fail with unsupported option '-fopenmp'.

  • Conda-forge OpenMP setup
    • After conda activate testenv, export include and library search paths from $CONDA_PREFIX when INSTALL_LIBOMP=conda-forge.
export CPPFLAGS="$CPPFLAGS -I$CONDA_PREFIX/include"
export LDFLAGS="$LDFLAGS -L$CONDA_PREFIX/lib"

Co-authored-by: lesteve <1680079+lesteve@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix OpenMP compilation failure with conda-forge's clang 21 Configure conda-forge OpenMP paths on macOS Sep 4, 2026
Copilot AI requested a review from lesteve September 4, 2026 14:29
@lesteve

lesteve commented Sep 6, 2026

Copy link
Copy Markdown
Member

Closing in favour of #237

@lesteve lesteve closed this Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants