Commit 5a91e35
committed
build: remove bogous work-around for problems with sframes
This PR removes a work-around I thought would fix a problem with sframes
I ran into on my machine leading to linker errors while compiling ANTLR
(a dependency of substrait-cpp). Turns out that the root cause is that
CMake uses the system default compiler for dependencies fetched with
`FetchContent`, which is g++ on my machine (which emits sframes), which
may then linked with compilation units compiled by a different compiler,
which may break of LTO is enabled. The short-term solution is to set the
`CC? and `CXX` environment variables to the same values as
`CMAKE_*_COMPILER` when configuring. I have submitted a better mid-term
solution as substrait-io/substrait-cpp#145.
Signed-off-by: Ingo Müller <ingomueller@google.com>1 parent 4f00d6a commit 5a91e35
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 13 | | |
22 | 14 | | |
23 | 15 | | |
| |||
0 commit comments