Skip to content

Commit

Permalink
Revert Required CMake on minimal build example and install cmake manu…
Browse files Browse the repository at this point in the history
…ally to amazon-linux-2023, ubuntu-focal and ubuntu-jammy
  • Loading branch information
raulcd committed Jan 28, 2025
1 parent 827eb53 commit cf053c0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/examples/minimal_build/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

cmake_minimum_required(VERSION 3.25)
cmake_minimum_required(VERSION 3.16)

project(ArrowMinimalExample)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ RUN \
ln -fs /usr/local/bin/gi-docgen /usr/bin && \
apt clean && \
rm -rf /var/lib/apt/lists/*

ARG cmake=3.25.0
RUN curl -L \
"https://github.com/Kitware/CMake/releases/download/v${cmake}/cmake-${cmake}-linux-$(uname -m).tar.gz" | \
tar -xzf - --directory /usr/local --strip-components=1 && \
ln -fs /usr/local/bin/cmake /usr/bin/cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,9 @@ RUN \
fi && \
apt clean && \
rm -rf /var/lib/apt/lists/*

ARG cmake=3.25.0
RUN curl -L \
"https://github.com/Kitware/CMake/releases/download/v${cmake}/cmake-${cmake}-linux-$(uname -m).tar.gz" | \
tar -xzf - --directory /usr/local --strip-components=1 && \
ln -fs /usr/local/bin/cmake /usr/bin/cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ RUN \
which \
zlib-devel && \
dnf clean ${quiet} all

ARG cmake=3.25.0
RUN curl -L \
"https://github.com/Kitware/CMake/releases/download/v${cmake}/cmake-${cmake}-linux-$(uname -m).tar.gz" | \
tar -xzf - --directory /usr/local --strip-components=1 && \
ln -fs /usr/local/bin/cmake /usr/bin/cmake

0 comments on commit cf053c0

Please sign in to comment.