summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2024-03-31 17:50:50 +0200
committerAlbert Astals Cid <aacid@kde.org>2024-03-31 17:50:50 +0200
commit0d5431dba10c531b6e6897e088c1c6ccec84ef55 (patch)
tree7eea1e739f98dd1f05e9c744aa09920c3d17e745
parentd8ae3ba659c71b4f5913ecf74d525461bb831366 (diff)
CI: Update the hack to change c++ standard to 23 in the clang build
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 313a3e18..a80059af 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -50,7 +50,7 @@ build_clang16_libcpp:
stage: build
script:
- echo "We want to compile with C++23 here because it has some nice things like deleted std::string nullptr constructor"
- - sed -i -e "s@CMAKE_CXX_STANDARD 17@CMAKE_CXX_STANDARD 23@g" CMakeLists.txt
+ - sed -i -e "s@CMAKE_CXX_STANDARD 20@CMAKE_CXX_STANDARD 23@g" CMakeLists.txt
- git clone --branch ${CI_COMMIT_REF_NAME} --depth 1 ${TEST_DATA_URL} test-data || git clone --depth 1 ${UPSTREAM_TEST_DATA_URL} test-data
- apt-get install --yes --no-install-recommends libclang-16-dev llvm-16-dev libc++-16-dev libc++abi-16-dev clang-tidy-16 clang-16 libunwind-16-dev gperf jq
- srcdir=`pwd` && mkdir -p /tmp/poppler_build && cd /tmp/poppler_build