Skip to content

compiler configuration option ignored #66

@frainfreeze

Description

@frainfreeze

On fresh Debian 12 install with uv managed venv following tries to use clang:

[build.targets.wheel.hooks.cython.options]
src = "...."
compiler = "gcc"
compile_args = [
  "-O3",
  { platforms = [
    "darwin",...
      /tmp/tmp15_ln98e/tmp/src/....o -I/usr/local/include -O3
      error: command 'clang' failed: No such file or directory

I have also tried following

compiler = [
  { platforms = ["darwin"], value = "clang" },
  { platforms = ["linux"], value = "gcc" }
]

TLDR; I want gcc to be used if clang is not available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions