[all-commits] [llvm/llvm-project] 8a8bb0: [flang] Fix frontend build with -DBUILD_SHARED_LIB...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jul 9 15:55:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a8bb078a3c839f0708917d9920ed4299680de1e
      https://github.com/llvm/llvm-project/commit/8a8bb078a3c839f0708917d9920ed4299680de1e
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M flang/include/flang/Common/indirection.h
    M flang/include/flang/Evaluate/call.h
    M flang/include/flang/Evaluate/expression.h
    M flang/include/flang/Evaluate/tools.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Semantics/expression.h
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Evaluate/CMakeLists.txt
    M flang/lib/Evaluate/call.cpp
    M flang/lib/Evaluate/expression.cpp
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Lower/CMakeLists.txt
    M flang/lib/Parser/parse-tree.cpp
    M flang/lib/Semantics/CMakeLists.txt
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/tools/f18-parse-demo/stub-evaluate.cpp
    M flang/tools/f18/CMakeLists.txt
    M flang/unittests/Evaluate/CMakeLists.txt
    M flang/unittests/Runtime/CMakeLists.txt

  Log Message:
  -----------
  [flang] Fix frontend build with -DBUILD_SHARED_LIBS=On

Fix fronted shared library builds by eliminating dependences of
the parser on other component libraries, moving some code around that
wasn't in the right library, and making some dependences
explicit in the CMakeLists.txt files.  The lowering library
does not yet build as a shared library due to some undefined
names.

Reviewed By: tskeith

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




More information about the All-commits mailing list