Skip to content

Commit

Permalink
gh: use libstdc++
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Feb 29, 2024
1 parent 54bc183 commit cd00774
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
sudo apt-get install -y \
gpg wget curl zip unzip tar git pkg-config \
ninja-build make clang-tidy cppcheck ccache gcc g++ \
doctest-dev clang-18 lld-18 libc++-18-dev libc++abi-18-dev
doctest-dev clang-18 lld-18 libstdc++-12-dev
- name: "Create directory '${{ env.VCPKG_DEFAULT_BINARY_CACHE }}'"
run: mkdir -p $VCPKG_DEFAULT_BINARY_CACHE
Expand Down
5 changes: 0 additions & 5 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,8 @@
"name": "ci",
"inherits": "ninja-multi-vcpkg-doctest",
"cacheVariables": {
"CMAKE_EXE_LINKER_FLAGS_INIT": "-fuse-ld=lld",
"CMAKE_MODULE_LINKER_FLAGS_INIT": "-fuse-ld=lld",
"CMAKE_SHARED_LINKER_FLAGS_INIT": "-fuse-ld=lld",
"CMAKE_C_COMPILER": "$env{CC}",
"CMAKE_CXX_COMPILER": "$env{CXX}",
"CMAKE_CXX_FLAGS": "-stdlib=libc++",
"CMAKE_EXE_LINKER_FLAGS": "-stdlib=libc++ -lc++abi"
}
}
],
Expand Down

0 comments on commit cd00774

Please sign in to comment.