wasm-mutator-fuzz: make compilers overridable#3578
wasm-mutator-fuzz: make compilers overridable#3578wenyongh merged 1 commit intobytecodealliance:mainfrom
Conversation
eg. ```shell cmake .. \ -DCMAKE_C_COMPILER=/usr/local/opt/llvm@15/bin/clang \ -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@15/bin/clang++ ```
|
✋ there will be a problem if both After the PR, it requires
Anyway, the previous, simplest command |
do you mean environment variables CC and CXX are set system-wide by default? |
|
Maybe "usually" is a strong word(depends on how to setup the machine. Personal habits). But I found two available machines around me sharing the same problem because using the GCC as default compiler and |
|
if a user sets CC explicitly and it broke things, i feel it's his problem. |
|
I am thinking about following the original intention, forcing Clang compiler. It may like: |
it doesn't work if your clang doesn't ship with libfuzzer. |
|
The problem is if not defined values(of It means the modification actually won't be executed. It's not make options overridable. It requires users always give compiler info explicitly. |
i feel we are talking past each other. if a user specified a compiler explicitly (either via CMAKE_C_COMPILER or CC) it should be used. |
It won't. |
good point. |
eg.