Skip to content

Commit

Permalink
CI(freebsd): Use cpp17
Browse files Browse the repository at this point in the history
It seems like a recent FreeBSD update to the Protobuf package has
updated it to a version where it (or rather the linked-to abseil)
library requires C++17. Thus, we can't use Protobuf while compiling with
C++14. We have to hope that the stdlib on FreeBSD did not remove some
deprecated structs used by ZeroC Ice that prevents us from using C++17
generally.
  • Loading branch information
Krzmbrzl committed Jan 13, 2024
1 parent 14c5a0f commit 31cb390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ freebsd_task:
fetch_submodules_script: git submodule --quiet update --init --recursive
build_script:
- mkdir build && cd build
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON -Dtests=ON -Dsymbols=ON ..
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON -Dtests=ON -Dsymbols=ON -DCMAKE_CXX_STANDARD=17 ..
- cmake --build .
test_script:
- cd build
Expand Down

0 comments on commit 31cb390

Please sign in to comment.