Uh oh!
There was an error while loading. Please reload this page.
[C++]: C++17 test PR - #10414
Conversation
Small regression: our |
pitrou
commented
May 27, 2021
Started a crossbow build at https://github.com/ursacomputing/crossbow/branches/all?query=build-327 |
pitrou
commented
May 27, 2021
New crossbow build at https://github.com/ursacomputing/crossbow/branches/all?query=build-329 |
pitrou
commented
May 27, 2021
I really like that |
pitrou
commented
May 27, 2021
Problem: R 4.0.5 on CentOS7 does not define configuration variables for C++ versions higher than C++11: |
nealrichardson
commented
May 27, 2021
Bad config in the docker image? Or this is because it is gcc 4.8? (We have a crossbow job that does centos7 with devtoolset-8) |
pitrou
commented
May 27, 2021
What do you mean? These are the results of the |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
pitrou
commented
May 27, 2021
Ah, indeed I see this in the build logs: https://github.com/apache/arrow/pull/10414/checks?check_run_id=2687678135#step:9:69 |
nealrichardson
commented
May 27, 2021
Right, those commands read from R's Makeconf. If the compiler doesn't support C++14 or C++17, it's reasonable to expect that those makevars would be undefined. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bkietz
commented
May 27, 2021
Debian 9 (builds JNI) has only gcc 6.3, which doesn't have |
kszucs
commented
Jun 1, 2021
We should bump the debian version to 10 in those docker images (which is the default in I'm going to update the configuration. |
bkietz
commented
Jun 2, 2021
I've pushed two commits removing the util::string_view and util::optional aliases; some of the older compilers seemed to have trouble with those. |
kszucs
commented
Jun 3, 2021
@bkietz we have a couple more compile errors in the c-glib builds and on appveyor. |
pitrou
commented
Jun 8, 2021
jeroen
commented
Jun 8, 2021
CRAN targets MacOS 10.13 (xcode10.1). Did anyone test if this version of xcode supports C++17? |
nealrichardson
commented
Jun 8, 2021
@jeroen there are a number of packages on CRAN that use C++17 already, aren't there? |
nealrichardson
commented
Jun 8, 2021
hmm, fewer than I thought: |
jeroen
commented
Jun 8, 2021
Yes I think so, but that does not guarantee that the given compilers support the full c++17 feature set. Perhaps it would be good to add a travis build with: Afaik there is no other CI supporting older versions of MacOS. |
I tried building this PR on macos 10.13 but it failed as follows (current master HEAD is fine): |
bkietz
commented
Jun 8, 2021
@jeroen does it work if we replace calls to |
jeroen
commented
Jun 8, 2021
How exactly do I do that? I tried literally substituting that line and that errors with: |
nealrichardson
commented
Apr 18, 2022
Closing as stale |
Exercise some C++17 features to check platform support