[llvm] ac06b1a - Revert "Switch libLLVMFrontendOpenACC to be a regular CMake library and not a "component""
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 20:14:44 PST 2020
Author: Mehdi Amini
Date: 2020-11-14T04:14:17Z
New Revision: ac06b1af402e45722450197029328a3ad37496c1
URL: https://github.com/llvm/llvm-project/commit/ac06b1af402e45722450197029328a3ad37496c1
DIFF: https://github.com/llvm/llvm-project/commit/ac06b1af402e45722450197029328a3ad37496c1.diff
LOG: Revert "Switch libLLVMFrontendOpenACC to be a regular CMake library and not a "component""
This reverts commit e7ed27653292b2ec545e87204031282b4b237754.
Build is broken with -DLLVM_LINK_LLVM_DYLIB=ON
Added:
Modified:
llvm/lib/Frontend/OpenACC/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/Frontend/OpenACC/CMakeLists.txt b/llvm/lib/Frontend/OpenACC/CMakeLists.txt
index 1c9246111474..ba340ab9c561 100644
--- a/llvm/lib/Frontend/OpenACC/CMakeLists.txt
+++ b/llvm/lib/Frontend/OpenACC/CMakeLists.txt
@@ -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_library(LLVMFrontendOpenACC
+add_llvm_component_library(LLVMFrontendOpenACC
ACC.cpp # Generated by tablegen above
ADDITIONAL_HEADER_DIRS
More information about the llvm-commits
mailing list