Skip to content

Commit

Permalink
Add a check for GLIBCXX_3.4.26 support in the AppImage checker binary
Browse files Browse the repository at this point in the history
  • Loading branch information
hcorion authored and Nekotekina committed Feb 12, 2020
1 parent 3006b00 commit bacd234
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis/deploy-linux.bash
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ 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.
printf "#include <memory>\nint main(){std::make_exception_ptr(0);}" | $CXX -x c++ -o ./appdir/usr/optional/checker -
# Currently we target a minimum of GLIBCXX_3.4.26 and CXXABI_1.3.11
printf "#include <bits/stdc++.h>\nint main(){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 /rpcs3/build/appdir
Expand Down

0 comments on commit bacd234

Please sign in to comment.