Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I stumbled upon this due to a new setup.
Turns out CMake requires ASM to be the last parameter so it can try whether the C compiler can compile asm.
See https://gitlab.kitware.com/cmake/cmake/-/merge_requests/1560/diffs
How to reproduce
This might be not 100% accurate, it's from memory:
sudo apt update
sudo apt upgrade
sudo apt install clang-10
sudo ln -s /usr/local/bin/c++ /usr/bin/clang++-10
sudo ln -s /usr/local/bin/cc /usr/bin/clang-10
And out of desperation:
7.
sudo apt install build-essential
Actual behavior
A little later blake3 fails since it doesn't expect to have to ASM compiler.
We could fix blake3 to use C code in case there is no ASM compiler.
But I guess we do want the ASM version since they specifically offer it.