[all-commits] [llvm/llvm-project] b20a38: [libc] Do not run tests on vendor implemented math

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Aug 17 15:23:13 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b20a385422d8714257cda7fba7b52ac09fb30b2d
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M libc/cmake/modules/LLVMLibCLibraryRules.cmake
    M libc/cmake/modules/LLVMLibCObjectRules.cmake
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/src/math/CMakeLists.txt
    M libc/src/math/gpu/CMakeLists.txt
    M libc/src/math/gpu/vendor/CMakeLists.txt

  Log Message:
  [libc] Do not run tests on vendor implemented math

We currently remap vendor implementations of math functions to provide a
temporarily functional `libm.a` for the GPU. However, we should not run
tests on any files that depend on these vendor implementations as they
are not under our control and are not always present.

The goal in the future is to remove the need for this by replacing all
the vendor functionality, but for now this is a workaround.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D158213

More information about the All-commits mailing list