Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
os:
- debian11
- debian12
- debian13
- ubuntu24
- oraclelinux8
- oraclelinux9
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ if (BUILD_POSITION_INDEPENDENT_LIB)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif ()
if (NOT MSVC)
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -fno-omit-frame-pointer")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG -fno-omit-frame-pointer")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -fno-omit-frame-pointer -Wno-unknown-warning-option -Wno-stringop-overread -Wno-array-bounds")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG -fno-omit-frame-pointer -Wno-unknown-warning-option -Wno-stringop-overread -Wno-array-bounds")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -Wno-unknown-warning-option -Wno-stringop-overread -Wno-array-bounds")
endif ()
message(STATUS "compiler ${CMAKE_CXX_COMPILER_ID} version ${CMAKE_CXX_COMPILER_VERSION}")

Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Supported OSes

* Debian 11 and 12
* Debian 11, 12, and 13
* Fedora 37
* Ubuntu 22 and 24
* Oracle Linux 9
Expand Down
54 changes: 54 additions & 0 deletions docker/debian13/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# ORC compile for Debian 13
#

FROM debian:13.1
LABEL org.opencontainers.image.authors="Apache ORC project <dev@orc.apache.org>"
LABEL org.opencontainers.image.licenses="Apache-2.0"
LABEL org.opencontainers.image.ref.name="Apache ORC on Debian 13"
LABEL org.opencontainers.image.version=""
ARG jdk=21

RUN apt-get update
RUN apt-get install -y \
cmake \
gcc \
g++ \
git \
libsasl2-dev \
libssl-dev \
make \
curl \
maven \
openjdk-${jdk}-jdk
RUN mkdir -p /usr/share/zoneinfo/US
RUN ln -fs /usr/share/zoneinfo/America/Los_Angeles /usr/share/zoneinfo/US/Pacific

WORKDIR /root

VOLUME /root/.m2/repository

CMD if [ ! -d orc ]; then \
echo "No volume provided, building from apache main."; \
echo "Pass '-v`pwd`:/root/orc' to docker run to build local source."; \
git clone https://github.com/apache/orc.git -b main; \
fi && \
mkdir build && \
cd build && \
cmake ../orc && \
make package test-out
1 change: 1 addition & 0 deletions docker/os-list.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
debian11
debian12
debian13
ubuntu22
ubuntu24
oraclelinux8
Expand Down
3 changes: 2 additions & 1 deletion site/_docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dockerUrl: https://github.com/apache/orc/blob/main/docker
The C++ library is supported on the following operating systems:

* MacOS 14 to 26
* Debian 11 to 12
* Debian 11 to 13
* Ubuntu 22.04 to 24.04
* Oracle Linux 8 to 9
* Amazon Linux 2023
Expand All @@ -28,6 +28,7 @@ is in the docker subdirectory, for the list of packages required to build ORC:

* [Debian 11]({{ page.dockerUrl }}/debian11/Dockerfile)
* [Debian 12]({{ page.dockerUrl }}/debian12/Dockerfile)
* [Debian 13]({{ page.dockerUrl }}/debian13/Dockerfile)
* [Ubuntu 22]({{ page.dockerUrl }}/ubuntu22/Dockerfile)
* [Ubuntu 24]({{ page.dockerUrl }}/ubuntu24/Dockerfile)
* [Oracle Linux 8]({{ page.dockerUrl }}/oraclelinux8/Dockerfile)
Expand Down
Loading