← All tasks
pythonexplosion/cython-blis #61Not a task: already works

Build fails with multi-token CC env. variable

envgap__explosion__cython-blis-61

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
e70e64989ca0aae55742bf1ee4b5ad3c212c1dfb
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

explosion/cython-blis #61 · read the original issue
Hi!



It appears that trying to build blis with a CC consisting of multiple tokens, e.g. `CC="ccache clang"`, fails. This is a pretty common way to set the compiler executable AFAIK, I have this exact variable in my profile and rarely encountered problems with other software.



Here is a short proof of concept

```bash

#!/bin/bash



cat << END > .cc

#!/bin/bash

eval \$@

END

chmod +x .cc



CC="$(pwd)/.cc clang" pip wheel --no-binary :all: numpy



# Does not work

CC="$(pwd)/.cc clang" pip wheel --no-binary :all: blis



rm .cc

```



It thought you might want to look into it.



Cheers!
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]