You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by sa...@apache.org on 2022/01/20 03:16:15 UTC

[incubator-heron] 02/02: [Build] Linking with C++14

This is an automated email from the ASF dual-hosted git repository.

saadurrahman pushed a commit to branch saadurrahman/ubuntu22.04-container
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit 37e96f518824943b55c003392c494349e8714ba6
Author: Saad Ur Rahman <sa...@apache.org>
AuthorDate: Wed Jan 19 22:15:46 2022 -0500

    [Build] Linking with C++14
    
    Linking the <libunwind> library with C++14 because this is the highest C++ standard to support dynamically generated exceptions.
---
 third_party/gperftools/gperftools.BUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/third_party/gperftools/gperftools.BUILD b/third_party/gperftools/gperftools.BUILD
index 9fbf351..6f8d2b7 100644
--- a/third_party/gperftools/gperftools.BUILD
+++ b/third_party/gperftools/gperftools.BUILD
@@ -36,7 +36,7 @@ mac_script = "\n".join(common_script + [
 
 linux_script = "\n".join(common_script + [
      './configure --prefix=$$INSTALL_DIR --enable-shared=no CPPFLAGS=-I$$UNWIND_DIR/include LDFLAGS="-L$$UNWIND_DIR/lib -lunwind" --enable-frame-pointers',
-     'make install CPPFLAGS="-I$$UNWIND_DIR/include -std=c++11" LDFLAGS="-L$$UNWIND_DIR/lib -lunwind"',
+     'make install CPPFLAGS="-I$$UNWIND_DIR/include -std=c++14" LDFLAGS="-L$$UNWIND_DIR/lib -lunwind"',
      'rm -rf $$TMP_DIR',
 ])