From c19f9b257511bff773405590a2b282ff98dc616f Mon Sep 17 00:00:00 2001 From: Bouncner Date: Mon, 17 Nov 2025 14:21:15 +0100 Subject: [PATCH 1/2] try clang 19 --- .github/workflows/haupt.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/haupt.yml b/.github/workflows/haupt.yml index 86e8c31..8381986 100644 --- a/.github/workflows/haupt.yml +++ b/.github/workflows/haupt.yml @@ -46,8 +46,8 @@ jobs: # Add repository for older python versions. We use 3.11 as there are several issues with 3.12 (e.g., removed distutils and pip problems). sudo add-apt-repository ppa:deadsnakes/ppa --yes # We don't use Hyrise's install_dependencies script as it includes much more than needed for this small setup here. - sudo apt-get install -y -qq ninja-build libboost-all-dev postgresql-server-dev-16 libtbb-dev libreadline-dev libsqlite3-dev systemtap-sdt-dev numactl python3.11-full python3.11-venv clang-17 lld-17 - sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-17 90 + sudo apt-get install -y -qq ninja-build libboost-all-dev postgresql-server-dev-16 libtbb-dev libreadline-dev libsqlite3-dev systemtap-sdt-dev numactl python3.11-full python3.11-venv clang-19 lld-19 + sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-19 90 python3.11 -m venv ~/venv source ~/venv/bin/activate python -m pip install -r python/requirements.txt --quiet @@ -75,7 +75,7 @@ jobs: # We use the relaxed mode as there are several issues with newer compiler (fixed in Hyrise's master, # but not in the project's code). On top of relaxed mode (i.e., not all warnings are errors), we # disable issues with deprecated declarations (atomic shared_ptr's). - cmake -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON -DHYRISE_RELAXED_BUILD=ON -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" .. + cmake -DCMAKE_C_COMPILER=clang-19 -DCMAKE_CXX_COMPILER=clang++-19 -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON -DHYRISE_RELAXED_BUILD=ON -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" .. cmake --build . --target hyriseServer WorkloadStatisticsPlugin WorkloadHandlerPlugin CommandExecutorPlugin DataCharacteristicsPlugin popd > /dev/null @@ -223,8 +223,8 @@ jobs: - name: Install dependencies run: | sudo apt-get update -y -qq - sudo apt-get install -y -qq ninja-build libsqlite3-dev postgresql-server-dev-16 numactl bison python3-venv libboost-all-dev libtbb-dev libreadline-dev clang-17 lld-17 - sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-17 90 + sudo apt-get install -y -qq ninja-build libsqlite3-dev postgresql-server-dev-16 numactl bison python3-venv libboost-all-dev libtbb-dev libreadline-dev clang-19 lld-19 + sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-19 90 python3 -m venv ~/venv source ~/venv/bin/activate pip3 install -r python/requirements.txt # Not using --quiet to log the installed DuckDB version. @@ -289,7 +289,7 @@ jobs: run: | mkdir -p hyrise_master/rel pushd hyrise_master/rel > /dev/null - cmake -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON -DHYRISE_RELAXED_BUILD=ON .. + cmake -DCMAKE_C_COMPILER=clang-19 -DCMAKE_CXX_COMPILER=clang++-19 -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON -DHYRISE_RELAXED_BUILD=ON .. cmake --build . --target hyriseServer popd > /dev/null From ac728d5906b04e19d40676be964bc3609417bf97 Mon Sep 17 00:00:00 2001 From: Bouncner Date: Mon, 17 Nov 2025 14:43:59 +0100 Subject: [PATCH 2/2] Add -Wno-missing-template-arg-list-after-template-kw --- .github/workflows/haupt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/haupt.yml b/.github/workflows/haupt.yml index 8381986..ea54a61 100644 --- a/.github/workflows/haupt.yml +++ b/.github/workflows/haupt.yml @@ -75,7 +75,7 @@ jobs: # We use the relaxed mode as there are several issues with newer compiler (fixed in Hyrise's master, # but not in the project's code). On top of relaxed mode (i.e., not all warnings are errors), we # disable issues with deprecated declarations (atomic shared_ptr's). - cmake -DCMAKE_C_COMPILER=clang-19 -DCMAKE_CXX_COMPILER=clang++-19 -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON -DHYRISE_RELAXED_BUILD=ON -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" .. + cmake -DCMAKE_C_COMPILER=clang-19 -DCMAKE_CXX_COMPILER=clang++-19 -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON -DHYRISE_RELAXED_BUILD=ON -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations -Wno-missing-template-arg-list-after-template-kw" .. cmake --build . --target hyriseServer WorkloadStatisticsPlugin WorkloadHandlerPlugin CommandExecutorPlugin DataCharacteristicsPlugin popd > /dev/null