[all-commits] [llvm/llvm-project] 8e1c09: [flang] Build intrinsic .mod files in include/flang

Tim Keith via All-commits all-commits at lists.llvm.org
Mon Mar 15 08:04:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e1c09ee5f8066918c6c91982395f6449f97f056
      https://github.com/llvm/llvm-project/commit/8e1c09ee5f8066918c6c91982395f6449f97f056
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M flang/CMakeLists.txt
    M flang/test/CMakeLists.txt
    M flang/tools/f18/CMakeLists.txt
    M flang/tools/f18/flang

  Log Message:
  -----------
  [flang] Build intrinsic .mod files in include/flang

The build was putting .mod files for intrinsic modules in
tools/flang/include/flang but the install puts them in include/flang,
as does the out-of-tree build. This confused things for the driver.
This change makes the build consistent with the install and simplifies
the flang script accordingly.

Also, clean up the cmake commands for building the .mod files.

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




More information about the All-commits mailing list