Skip to content

Commit 53b40e4

Browse files
authored
<version> is part of c++20 (#1164)
What do these changes do? ------------------------- <!-- Please give a short brief about these changes. --> <version> header is part of C++20, whereas the include directive checks for C++17 See also https://en.cppreference.com/w/cpp/header/version Related issue number -------------------- N/A --------- Signed-off-by: siyuan0322 <[email protected]>
1 parent 421f15d commit 53b40e4

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/build-test.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,19 @@ jobs:
101101
wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
102102
sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
103103
sudo apt update
104-
sudo apt install -y libarrow-dev=10.0.1-1 \
105-
libarrow-dataset-dev=10.0.1-1 \
106-
libarrow-flight-dev=10.0.1-1 \
107-
libgandiva-dev=10.0.1-1 \
108-
libparquet-dev=10.0.1-1 \
109-
libplasma-dev=10.0.1-1
104+
sudo apt install -y libarrow-dev=11.0.0-1 \
105+
libarrow-dataset-dev=11.0.0-1 \
106+
libarrow-flight-dev=11.0.0-1 \
107+
libgandiva-dev=11.0.0-1 \
108+
libparquet-dev=11.0.0-1 \
109+
libplasma-dev=11.0.0-1 \
110+
libarrow-cuda-dev=11.0.0-1
110111
111112
# install pyarrow from scratch
112113
export PYARROW_WITH_PARQUET=1
113114
export PYARROW_WITH_ORC=1
114115
export PYARROW_WITH_DATASET=1
115-
sudo -E pip3 install --no-binary pyarrow pyarrow==10.0.0
116+
sudo -E pip3 install --no-binary pyarrow pyarrow==11.0.0
116117
117118
# install python packages for codegen, and io adaptors
118119
sudo pip3 install -U "Pygments>=2.4.1"

thirdparty/wyhash/wyhash.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <random>
2323
#include <string>
2424

25-
#if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
25+
#if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus > 201703L)
2626
#include <version>
2727
#else
2828
#include <ciso646>

0 commit comments

Comments
 (0)