Switch libLLVMFrontendOpenACC to be a regular CMake library and not a "component"
authorMehdi Amini <joker.eph@gmail.com>
Sat, 14 Nov 2020 02:18:18 +0000 (02:18 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 14 Nov 2020 02:18:25 +0000 (02:18 +0000)
commite7ed27653292b2ec545e87204031282b4b237754
tree5f04b9d2cf545aef5f5c97cee56ddddfaa94f10a
parent6c0cd5676e0a0feaf836e0399023a6e21224467b
Switch libLLVMFrontendOpenACC to be a regular CMake library and not a "component"

This library is only used in Flang at the moment and not tested withing LLVM.
Having it as a component is breaking llvm-config:

  $ bin/llvm-config --shared-mode
  llvm-config: error: component libraries and shared library

  llvm-config: error: missing: [...]/lib/libLLVMFrontendOpenACC.a

This will reverted when unit-tests are provided for it.

Reviewed By: clementval

Differential Revision: https://reviews.llvm.org/D91470
llvm/lib/Frontend/OpenACC/CMakeLists.txt