[all-commits] [llvm/llvm-project] eb4612: [openmp] [test] Fix prepending config.library_dir ...

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Aug 1 09:54:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb4612ca239bffbf1612e0bce442043e716bb9f5
      https://github.com/llvm/llvm-project/commit/eb4612ca239bffbf1612e0bce442043e716bb9f5
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M openmp/runtime/test/lit.cfg

  Log Message:
  -----------
  [openmp] [test] Fix prepending config.library_dir to LD_LIBRARY_PATH

Fix the LD_LIBRARY_PATH prepending order to make sure that
config.library_path ends up before any potentially-system directories
(e.g. config.hwloc_library_dir).  This makes sure that we are testing
against the just-built openmp libraries rather than the version that is
already installed.

Also rename the function to `prepend_*` to make it clearer what it
actually does.

https://github.com/llvm/llvm-project/issues/56821
Differential Revision: https://reviews.llvm.org/D130825




More information about the All-commits mailing list