[all-commits] [llvm/llvm-project] 0a74cb: [libclc] Pass -fapprox-func when compiling 'native...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Fri Mar 28 01:22:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a74cbfac462dfbf446e1f560e987619f93194ac
      https://github.com/llvm/llvm-project/commit/0a74cbfac462dfbf446e1f560e987619f93194ac
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    M libclc/CMakeLists.txt
    M libclc/cmake/modules/AddLibclc.cmake

  Log Message:
  -----------
  [libclc] Pass -fapprox-func when compiling 'native' builtins (#133119)

The libclc build system isn't well set up to pass arbitrary options to
arbitrary source files in a non-intrusive way. There isn't currently any
other motivating example to warrant rewriting the build system just to
satisfy this requirement. So this commit uses a filename-based approach
to inserting this option into the list of compile flags.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list