[all-commits] [llvm/llvm-project] 57b80e: [SystemZ][z/OS] Add z/OS customization file (#111182)

Sean Perry via All-commits all-commits at lists.llvm.org
Tue Jan 7 08:52:58 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57b80e8b1a7eaa5b8b9114e4bb2395e0d05c75a5
      https://github.com/llvm/llvm-project/commit/57b80e8b1a7eaa5b8b9114e4bb2395e0d05c75a5
  Author: Sean Perry <perry at ca.ibm.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M clang/include/clang/Driver/Driver.h
    M clang/lib/Driver/Driver.cpp
    A clang/test/Driver/Inputs/config-zos/clang.cfg
    A clang/test/Driver/Inputs/config-zos/def.cfg
    A clang/test/Driver/Inputs/config-zos/tst/def.cfg
    A clang/test/Driver/config-zos.c
    A clang/test/Driver/config-zos1.c

  Log Message:
  -----------
  [SystemZ][z/OS] Add z/OS customization file (#111182)

On z/OS, the location of the system libraries and side decks (aka
equivalent to libc, etc) are not in a predefined location. The system
does have a default location but sysadmins can change this and
frequently do. See the -mzos-hlq* options we have for z/OS.

To avoid every user needing to specify these -mzos-hlq* options, we
added support for a system install default config file that is always
read independent of the usual config file. The compiler will read this
customization config file before reading the usual config files.

The customization file is called clang.cfg and is located in:
- the etc dir within the compiler installation dir.
- or specified by the CLANG_CONFIG_PATH env var. This env var can either
be a directory or the fill path name of the file.



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