[all-commits] [llvm/llvm-project] 0d8996: [Lit] Pass through DFLTCC from the surrounding env...

Ilya Leoshkevich via All-commits all-commits at lists.llvm.org
Fri Jul 22 16:39:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d89963df354ee309c15f67dc47c8ab3cb5d0fb2
      https://github.com/llvm/llvm-project/commit/0d89963df354ee309c15f67dc47c8ab3cb5d0fb2
  Author: Ilya Leoshkevich <iii at linux.ibm.com>
  Date:   2022-07-23 (Sat, 23 Jul 2022)

  Changed paths:
    M llvm/utils/lit/lit/TestingConfig.py

  Log Message:
  -----------
  [Lit] Pass through DFLTCC from the surrounding environment

Many distros ship zlib with the IBM Z deflate hardware acceleration
patch [1]. Sometimes it's desirable to disable the acceleration, for
example, for reproducibility. This can be done by exporting DFLTCC=0.
llvm-lit clears this environment variable, which causes
compress-debug-sections-zlib.test fail on z15 and later machines. Add
DFLTCC to the list of variables to keep.

[1] https://github.com/madler/zlib/pull/410

Reviewed By: abrachet

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




More information about the All-commits mailing list