[C++][Packaging] Enable CMAKE_INTERPROCEDURAL_OPTIMIZATION for binary packages
Open
Component: C++
Component: Packaging
Type: enhancement
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
Experimentation in https://github.com/apache/arrow/pull/47637 suggests that [enabling inter-procedural optimization (IPO)](https://cmake.org/cmake/help/latest/variable/CMAKE_INTERPROCEDURAL_OPTIMIZATION.html) could not only improve performance in some workloads, but also reduce the code size of Arrow libraries.
We should try to enable this on Linux packaging builds and see whether the size reduction is confirmed.
Contributor guide
Assessment
This issue has not been assessed yet.