Skip to content

Commit

Permalink
ARROW-12467: [C++][Gandiva] Add support for LLVM12
Browse files Browse the repository at this point in the history
Closes apache#10111 from kszucs/ARROW-12467

Lead-authored-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
Co-authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
2 people authored and pull[bot] committed May 24, 2022
1 parent e43ab34 commit de4d6b6
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ DEBIAN=10
UBUNTU=20.04
FEDORA=33
PYTHON=3.6
LLVM=11
LLVM=12
CLANG_TOOLS=8
RUST=nightly-2021-03-24
GO=1.15
Expand Down
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
-e CMAKE_UNITY_BUILD=ON
-e CPP_MAKE_PARALLELISM=4
"
# The LLVM's APT repository provides only arm64 binaries.
# The LLVM's APT repository doesn't provide arm64 binaries.
# We should use LLVM provided by Ubuntu.
LLVM: "10"
UBUNTU: "20.04"
Expand Down Expand Up @@ -100,9 +100,6 @@ jobs:
-e cares_SOURCE=BUNDLED
-e gRPC_SOURCE=BUNDLED
"
# The LLVM's APT repository provides only arm64 binaries.
# We should use LLVM provided by Ubuntu.
LLVM: "10"
UBUNTU: "20.04"

- name: "Go on s390x"
Expand Down
1 change: 1 addition & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ set(ARROW_CMAKE_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
set(ARROW_DOC_DIR "share/doc/${PROJECT_NAME}")

set(ARROW_LLVM_VERSIONS
"12.0"
"11.1"
"11.0"
"10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN \
apt install -y -V ${quiet} \
build-essential \
ccache \
clang-11 \
clang \
cmake \
debhelper \
devscripts \
Expand All @@ -62,7 +62,7 @@ RUN \
libthrift-dev \
libutf8proc-dev \
libzstd-dev \
llvm-11-dev \
llvm-dev \
lsb-release \
ninja-build \
pkg-config \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ RUN \
tzdata \
zlib1g-dev && \
apt install -y -V -t buster-backports ${quiet} \
clang-8 \
llvm-8-dev && \
clang-11 \
llvm-11-dev && \
if apt list | grep '^nvidia-cuda-toolkit/'; then \
apt install -y -V ${quiet} nvidia-cuda-toolkit; \
fi && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN \
apt install -y -V ${quiet} \
build-essential \
ccache \
clang-10 \
clang \
cmake \
debhelper \
devscripts \
Expand All @@ -58,7 +58,7 @@ RUN \
libthrift-dev \
libutf8proc-dev \
libzstd-dev \
llvm-10-dev \
llvm-dev \
lsb-release \
ninja-build \
pkg-config \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN \
apt install -y -V ${quiet} \
build-essential \
ccache \
clang-11 \
clang \
cmake \
debhelper \
devscripts \
Expand All @@ -59,7 +59,7 @@ RUN \
libthrift-dev \
libutf8proc-dev \
libzstd-dev \
llvm-11-dev \
llvm-dev \
lsb-release \
ninja-build \
pkg-config \
Expand Down

0 comments on commit de4d6b6

Please sign in to comment.