Skip to content

Commit

Permalink
Bump GLIBCXX version requirement to 3.4.29 thanks to using brand new …
Browse files Browse the repository at this point in the history
…compiler features Fixes #10378
  • Loading branch information
hcorion authored and AniLeo committed Jun 1, 2021
1 parent 0fc3e5f commit ff8aa91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .ci/deploy-linux.sh
Expand Up @@ -28,8 +28,9 @@ if [ "$DEPLOY_APPIMAGE" = "true" ]; then
# This may need updating if you update the compiler or rpcs3 uses newer c++ features
# See https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/config/abi/pre/gnu.ver
# for which definitions correlate to which CXXABI version.
# Currently we target a minimum of GLIBCXX_3.4.26 and CXXABI_1.3.11
printf "#include <exception>\n#include <memory_resource>\nint main(){std::make_exception_ptr(0);std::pmr::get_default_resource();}" | $CXX -x c++ -std=c++2a -o ./appdir/usr/optional/checker -
# Currently we target a minimum of GLIBCXX_3.4.29 and CXXABI_1.3.11
printf "#include <sstream>\n#include <exception>\n#include <memory_resource>\nint main(){auto x = std::stringbuf();x.get_allocator();std::make_exception_ptr(0);std::pmr::get_default_resource();}" \
| $CXX -x c++ -std=c++2a -o ./appdir/usr/optional/checker -

# Package it up and send it off
./squashfs-root/usr/bin/appimagetool "$APPDIR"
Expand Down

0 comments on commit ff8aa91

Please sign in to comment.