[all-commits] [llvm/llvm-project] ea469b: libclc: Add -cl-no-stdinc to clang flags on clang ...

Jan Vesely via All-commits all-commits at lists.llvm.org
Wed Jul 14 17:45:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea469b08b847cef5f4c8187228f1e4bbf881706a
      https://github.com/llvm/llvm-project/commit/ea469b08b847cef5f4c8187228f1e4bbf881706a
  Author: Jan Vesely <jan.vesely at rutgers.edu>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M libclc/CMakeLists.txt

  Log Message:
  -----------
  libclc: Add -cl-no-stdinc to clang flags on clang >=13

cf3ef15a6ec5e5b45c6c54e8fbe3769255e815ce ("[OpenCL] Add builtin
declarations by default.")
 switched behaviour to include "opencl-c-base.h". We don't want or need
 that for libclc so pass the flag to revert to old behaviour.

Fixes build since cf3ef15a6ec5e5b45c6c54e8fbe3769255e815ce

Reviewed By: tstellar

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




More information about the All-commits mailing list