Yibo Cai created ARROW-12561:
--------------------------------
Summary: [C++][CMake] Add cmake option to link with clang libc++
on Linux distro
Key: ARROW-12561
URL: https://issues.apache.org/jira/browse/ARROW-12561
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Yibo Cai
Assignee: Yibo Cai
Gnu libstdc++ is the default c++ library on Linux distros. Clang has its own
libc++ implementation, but not used widely.
I found some performance issue when build Arrow with clang but link with gnu
libstdc++ (ARROW-12533).
It's better to add a cmake option to use libc++ when build arrow with clang.
libc++ is already the default on apple macos:
https://github.com/apache/arrow/blob/master/cpp/cmake_modules/SetupCxxFlags.cmake#L400
--
This message was sent by Atlassian Jira
(v8.3.4#803005)