[all-commits] [llvm/llvm-project] 1eaebe: [openmp] Use config.test_extra_flags in archer and...

WenleiHe via All-commits all-commits at lists.llvm.org
Thu Jun 25 12:13:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1eaebe192f08934527e741ba65d29c933d685680
      https://github.com/llvm/llvm-project/commit/1eaebe192f08934527e741ba65d29c933d685680
  Author: Han Zhu <zhuhan at fb.com>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

  Changed paths:
    M openmp/tools/archer/tests/lit.cfg
    M openmp/tools/multiplex/tests/lit.cfg

  Log Message:
  -----------
  [openmp] Use config.test_extra_flags in archer and multiplex tests

Summary:
`config.test_extra_flags` is passed in from `lit.site.cfg.in` files, but they're not used in the LIT configs. This variable can be useful for distros which don't have the standard c/c++ headers in the default search paths. Since the tests run clang on c/c++ source code, we rely on `test_extra_flags` to pass in the necessary header files.

This is a similar setup that's also done in litomptarget https://github.com/llvm/llvm-project/blob/master/openmp/libomptarget/test/lit.cfg#L42 and openmp/runtime.

Reviewers: jdoerfert, jdenny, protze.joachim

Reviewed By: jdoerfert

Subscribers: yaxunl, guansong, sstefan1, openmp-commits

Tags: #openmp

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




More information about the All-commits mailing list