Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-13354

Add mode to build the toolchain with Clang

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 4.5.0
    • None
    • Infrastructure
    • None

    Description

      A first possible increment for building the toolchain with Clang would continue to use libstdc++ from our toolchain GCC. In that world, a patch would need to do:

      1. Build clang after building GCC in init-compiler.sh
      2. Setup CC/CXX to point to clang
      3. Add --gcc-toolchain to the CFLAGS/CXXFLAGS
      4. Add variables in init.sh to toggle building with clang and the clang version (e.g. USE_CLANG and CLANG_VERSION)
      5. Modify the COMPILER and COMPILER_VERSION so tarballs have distinct names
      6. Add a way to build modern LLVM from a unified tarball

      Attachments

        Activity

          People

            Unassigned Unassigned
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: