Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further improve LLVM building #18606

Merged
merged 13 commits into from
Oct 28, 2021
Merged

Further improve LLVM building #18606

merged 13 commits into from
Oct 28, 2021

Commits on Oct 23, 2021

  1. Use dylib clang library instead of static ones

    And also adjust makefiles to remove cases for LLVM 9/10
    now as 11 is the current requirement.
    
    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    f58486e View commit details
    Browse the repository at this point in the history
  2. Use dylib build of LLVM on Crays

    Need to check that this works OK -- e334bb3
    enabled this logic and said "Otherwise if the PrgEnv module isn't loaded,
    problems finding libstdc++."
    
    If we can't use the dylib on Crays then we will need to put back in the
    static library link strings for the clang libraries.
    
    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    8a69b26 View commit details
    Browse the repository at this point in the history
  3. Use printchplenv instead of util/config bash scripts

    Removes
        util/config/gather-cray-prgenv-arguments.bash
        util/config/gather-pe-chapel-pkgconfig-libs.bash
    
    and makes adjustments to Makefiles and chplenv scripts to allow that.
    
    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    6050fcc View commit details
    Browse the repository at this point in the history
  4. Add reminder TODO comment

    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    38ff145 View commit details
    Browse the repository at this point in the history
  5. Update prereqs to include libclang-cpp11-dev on Ubuntu

    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    8d3ee7e View commit details
    Browse the repository at this point in the history
  6. Update CI prereqs to include libclang-cpp11-dev

    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    8658db1 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. Adjust FreeBSD command

    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    794bf5f View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary quotes

    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    4b1aac4 View commit details
    Browse the repository at this point in the history
  3. Don't change LLVM static linking on Cray systems

    I haven't seen a problem with it yet but I don't want to get in to
    changing it in this PR.
    
    See PR chapel-lang#3531 and PR chapel-lang#11615 for some history in this area.
    
    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    821bc06 View commit details
    Browse the repository at this point in the history
  4. Add stub to dynamically link with CHPL_LLVM=system

    Only does something with e.g. make CHPL_LLVM_DYNAMIC=0
    
    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    64c706e View commit details
    Browse the repository at this point in the history
  5. Remove maybeRelaunchInPrgEnv

    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    9bad31f View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2021

  1. Don't use clang args for override ld

    to address failures with gasnet-mpi configurations
    
    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 27, 2021
    Configuration menu
    Copy the full SHA
    8c684ff View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

  1. Statically link bundled LLVM/clang for now

    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    7f4799e View commit details
    Browse the repository at this point in the history