What does LIBCXX_LIBCPPABI_VERSION get set to when building libcxx?












0















I'm working on a build script to build LLVM 7.0 release tarballs from sources. Most of my attempts to build libcxx and libcxxabi have failed. Someone suggested I should set LIBCXX_LIBCPPABI_VERSION.



I have not located documentation on the CMake option. I found a mailing list message that sets it to "2", but it is in the context of OS X. I also found a Ubuntu patch that sets it to empty "".



What should the value of LIBCXX_LIBCPPABI_VERSION be when building libcxx and libcxxabi from sources?










share|improve this question



























    0















    I'm working on a build script to build LLVM 7.0 release tarballs from sources. Most of my attempts to build libcxx and libcxxabi have failed. Someone suggested I should set LIBCXX_LIBCPPABI_VERSION.



    I have not located documentation on the CMake option. I found a mailing list message that sets it to "2", but it is in the context of OS X. I also found a Ubuntu patch that sets it to empty "".



    What should the value of LIBCXX_LIBCPPABI_VERSION be when building libcxx and libcxxabi from sources?










    share|improve this question

























      0












      0








      0








      I'm working on a build script to build LLVM 7.0 release tarballs from sources. Most of my attempts to build libcxx and libcxxabi have failed. Someone suggested I should set LIBCXX_LIBCPPABI_VERSION.



      I have not located documentation on the CMake option. I found a mailing list message that sets it to "2", but it is in the context of OS X. I also found a Ubuntu patch that sets it to empty "".



      What should the value of LIBCXX_LIBCPPABI_VERSION be when building libcxx and libcxxabi from sources?










      share|improve this question














      I'm working on a build script to build LLVM 7.0 release tarballs from sources. Most of my attempts to build libcxx and libcxxabi have failed. Someone suggested I should set LIBCXX_LIBCPPABI_VERSION.



      I have not located documentation on the CMake option. I found a mailing list message that sets it to "2", but it is in the context of OS X. I also found a Ubuntu patch that sets it to empty "".



      What should the value of LIBCXX_LIBCPPABI_VERSION be when building libcxx and libcxxabi from sources?







      clang llvm libc++






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 24 '18 at 16:01









      jwwjww

      53.5k40231508




      53.5k40231508
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Here are the details of configuration required to build libcxxabi and libcxx:



          To build:




          1. Check out libcxxabi into llvm/projects

          2. cd llvm

          3. mkdir build && cd build

          4. cmake .. # on linux you may need to prefix with CC=clang CXX=clang++

          5. make


          To do a standalone build:




          • Check out the libcxx source tree.

          • cd libcxxabi

          • mkdir build && cd build

          • cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
            need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

          • make


          By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.



          -DLLVM_CONFIG_PATH=path/to/llvm-config
          -DLLVM_PATH=path/to/llvm-source-root



          To run the tests:




          • make check-cxxabi


          Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.



          for further information please check:
          https://libcxxabi.llvm.org/






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53459921%2fwhat-does-libcxx-libcppabi-version-get-set-to-when-building-libcxx%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Here are the details of configuration required to build libcxxabi and libcxx:



            To build:




            1. Check out libcxxabi into llvm/projects

            2. cd llvm

            3. mkdir build && cd build

            4. cmake .. # on linux you may need to prefix with CC=clang CXX=clang++

            5. make


            To do a standalone build:




            • Check out the libcxx source tree.

            • cd libcxxabi

            • mkdir build && cd build

            • cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
              need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

            • make


            By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.



            -DLLVM_CONFIG_PATH=path/to/llvm-config
            -DLLVM_PATH=path/to/llvm-source-root



            To run the tests:




            • make check-cxxabi


            Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.



            for further information please check:
            https://libcxxabi.llvm.org/






            share|improve this answer




























              0














              Here are the details of configuration required to build libcxxabi and libcxx:



              To build:




              1. Check out libcxxabi into llvm/projects

              2. cd llvm

              3. mkdir build && cd build

              4. cmake .. # on linux you may need to prefix with CC=clang CXX=clang++

              5. make


              To do a standalone build:




              • Check out the libcxx source tree.

              • cd libcxxabi

              • mkdir build && cd build

              • cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
                need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

              • make


              By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.



              -DLLVM_CONFIG_PATH=path/to/llvm-config
              -DLLVM_PATH=path/to/llvm-source-root



              To run the tests:




              • make check-cxxabi


              Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.



              for further information please check:
              https://libcxxabi.llvm.org/






              share|improve this answer


























                0












                0








                0







                Here are the details of configuration required to build libcxxabi and libcxx:



                To build:




                1. Check out libcxxabi into llvm/projects

                2. cd llvm

                3. mkdir build && cd build

                4. cmake .. # on linux you may need to prefix with CC=clang CXX=clang++

                5. make


                To do a standalone build:




                • Check out the libcxx source tree.

                • cd libcxxabi

                • mkdir build && cd build

                • cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
                  need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

                • make


                By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.



                -DLLVM_CONFIG_PATH=path/to/llvm-config
                -DLLVM_PATH=path/to/llvm-source-root



                To run the tests:




                • make check-cxxabi


                Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.



                for further information please check:
                https://libcxxabi.llvm.org/






                share|improve this answer













                Here are the details of configuration required to build libcxxabi and libcxx:



                To build:




                1. Check out libcxxabi into llvm/projects

                2. cd llvm

                3. mkdir build && cd build

                4. cmake .. # on linux you may need to prefix with CC=clang CXX=clang++

                5. make


                To do a standalone build:




                • Check out the libcxx source tree.

                • cd libcxxabi

                • mkdir build && cd build

                • cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may
                  need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

                • make


                By default CMake uses llvm-config to locate the required LLVM sources. If CMake cannot find llvm-config then you must configure CMake using either of the following options.



                -DLLVM_CONFIG_PATH=path/to/llvm-config
                -DLLVM_PATH=path/to/llvm-source-root



                To run the tests:




                • make check-cxxabi


                Note: in a standalone build, the system's libc++ will be used for tests. If the system's libc++ was statically linked against libc++abi (or linked against a different ABI library), this may interfere with test results.



                for further information please check:
                https://libcxxabi.llvm.org/







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 1 '18 at 9:44









                ritesh sanganiritesh sangani

                213




                213
































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53459921%2fwhat-does-libcxx-libcppabi-version-get-set-to-when-building-libcxx%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wiesbaden

                    Marschland

                    Dieringhausen