Uh oh!
There was an error while loading. Please reload this page.
ARROW-17694: [C++] Remove std::optional backport - #14105
Conversation
d0bdb0b to
9168b04Compare
This comment was marked as outdated.
This comment was marked as outdated.
Uh oh!
There was an error while loading. Please reload this page.
0809adb to
5bd1967Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
pitrou
commented
Sep 14, 2022
@assignUser Would you know how to change the macOS deployment target for autobrew? I tried to set it to 10.14 using the env var |
assignUser
commented
Sep 14, 2022
Not of the bat, I'll look into it. I hope it is possible otherwise that might be an issue due to CRAN building on 10.13. |
assignUser
commented
Sep 14, 2022
The envvar is correctly set in the wf and looking at our cmake it should get picked up. I wonder if the issue is that the deployment target can't be higher than the host? I haven't found anything documenting such behavior and the llvm/clang version installed should support c++17 (as we confirmed previously). I also had a glance at autobrew and I don't think it is forcing the deployment target anywhere. Maybe passing it explicitly as a cmake arg in the formula works? https://github.com/pitrou/arrow/blob/ARROW-17694-std-optional/dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb |
This comment was marked as outdated.
This comment was marked as outdated.
pitrou
commented
Sep 14, 2022
@assignUser Well, it got even worse as there's now an error about something being available only in 10.12+: Yet as you can see the correct compiler command-line options seem to be given... I can only assume that homebrew is doing something horrible under the hood :-( |
pitrou
commented
Sep 14, 2022
Revision: 93f4f3e1ed45c9c045c8e279ce6d6b95addabf68 Submitted crossbow builds: ursacomputing/crossbow @ optional-4
|
assignUser
commented
Sep 14, 2022
I looked at some other packages on CRAN using C++17 and found that httpgd uses I'll check their configure/autobrew script |
93f4f3e to
a184425Comparepitrou
commented
Sep 14, 2022
Revision: a18442593ac0a2fc3654247706740b8699ea9537 Submitted crossbow builds: ursacomputing/crossbow @ optional-5
|
assignUser
commented
Sep 14, 2022
That looks promising 🤞 |
This comment was marked as outdated.
This comment was marked as outdated.
pitrou
commented
Sep 14, 2022
@kou Would you mind giving this another look? |
There was a problem hiding this comment.
Could you put this after -DARROW_CSV=ON to keep order?
Just use the C++17 standard library version.
4941806 to
3566deeComparepitrou
commented
Sep 15, 2022
Revision: 3566dee Submitted crossbow builds: ursacomputing/crossbow @ optional-7 |
pitrou
commented
Sep 15, 2022
The test failures seem the same as usual, so I'm going to merge. |
ursabot
commented
Sep 15, 2022
Benchmark runs are scheduled for baseline = 2749fef and contender = 5e49174. 5e49174 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Just use the C++17 standard library version. Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
Just use the C++17 standard library version.