conda-forge / ctng-compiler-activation-feedstock

A conda-smithy repository for ctng-compiler-activation.
BSD 3-Clause "New" or "Revised" License
13 stars 22 forks source link

Add clang compilers #100

Closed isuruf closed 4 months ago

isuruf commented 8 months ago

Checklist

conda-forge-webservices[bot] commented 8 months ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

beckermr commented 8 months ago

Random question - why is this not in the clang-compiler-activation feedstock?

isuruf commented 8 months ago

Random question - why is this not in the clang-compiler-activation feedstock?

I think of this feedstock as Linux compilers and the other as macOS compilers. This feedstock has much more in common with clang_linux-64 than clang-compiler-activation-feedstock does.

isuruf commented 7 months ago

cc @h-vetinari

h-vetinari commented 7 months ago

The failures here don't seem to have much rhyme or reason, only the following 3 fail, where lots of other combinations pass:

The most interesting one is the s390x one, because clang is skipped there, and it still fails with the same kind of error:

+ $PREFIX/bin/x86_64-conda-linux-gnu-cc -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$TEST_DIR=/usr/local/src/conda/gcc_linux-64-12.3.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -Wall tests/aligned_alloc.c -c -o c_aligned.o -v
$TEST_DIR/run_test.sh: line 8: $PREFIX/bin/x86_64-conda-linux-gnu-cc: cannot execute binary file

On ppc with clang:

+ $PREFIX/bin/x86_64-conda-linux-gnu-clang -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$TEST_DIR=/usr/local/src/conda/clang_linux-64-16 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -Wall tests/aligned_alloc.c -c -o c_aligned.o -v
$TEST_DIR/run_test.sh: line 8: $PREFIX/bin/x86_64-conda-linux-gnu-clang: cannot execute binary file

So it looks... possibly unrelated?

isuruf commented 4 months ago

@conda-forge-admin, rerender