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
This commit is contained in:
Mehdi Amini 2020-11-14 02:18:18 +00:00
parent 6c0cd5676e
commit e7ed276532
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ set(LLVM_TARGET_DEFINITIONS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend/OpenACC/ACC.t
tablegen(LLVM ACC.cpp --gen-directive-impl)
add_public_tablegen_target(acc_cpp)
add_llvm_component_library(LLVMFrontendOpenACC
add_llvm_library(LLVMFrontendOpenACC
ACC.cpp # Generated by tablegen above
ADDITIONAL_HEADER_DIRS