ankoh opened a new issue #11279:
URL: https://github.com/apache/arrow/issues/11279


   Steps to reproduce:
   * Compile `arrow_objlib` with ccache, clang and `CCACHE_DEBUG=1 
CCACHE_LOGFILE=./ccache.log`
   * Find in `./ccache.log`:
   ```
   Failed; falling back to running the real compiler
   Result: unsupported compiler option
   ```
   Dropping `-fcolor-diagnostics` fixes the issue.
   
   I suggest either opting into color diagnostics with `WITH_COLOR_DIAGNOSTICS` 
or adding a way to disable it via `DISABLE_COLOR_DIAGNOSTICS`.
   It would be good if this wouldn't be tied to `ARROW_USE_CCACHE` since its 
also relevant for:
   `-DARROW_USE_CCACHE=OFF -DCMAKE_CXX_COMPILER_LAUNCHER=emscripten_ccache`.
   
   I can open a PR if you tell me which way you prefer.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to