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

[LLVM16][build] Specify LLVM_MAIN_SRC_DIR when running build-flang.sh #1403

Merged

Commits on Jul 3, 2023

  1. [build] Specify LLVM_MAIN_SRC_DIR when running build-flang.sh

    Otherwise Classic Flang's CMakeLists.txt will be unable to find llvm-lit and
    cannot generate test-related goals, e.g. `check-all`.
    
    Also fix a typo in build-flang.sh that prevented the option from being passed
    to CMake correctly.
    bryanpkc committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    e3971d9 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. [libpgmath] Update CMakeLists.txt to locate llvm-lit in LLVM 16 sourc…

    …e tree
    
    Support the LLVM_MAIN_SRC_DIR variable which, if set to the LLVM source tree,
    allows CMake to locate llvm-lit and generate the "check-libpgmath" goal. Also
    update build-flang.sh to use the variable when building libpgmath.
    
    Also modified helpers in runtime/libpgmath/cmake/modules/LibmathUtils.cmake,
    e.g. libpgmath_say, libpgmath_warning_say, to print all given arguments instead
    of only the first named argument. This allows callers to break long strings
    into multiple lines, resulting in better-formatted code.
    bryanpkc committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    51966e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78a7a0b View commit details
    Browse the repository at this point in the history