[llvm] d34add0 - Fix build (`ninja check` without running `ninja` first)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 14 09:01:51 PST 2020
Author: Mehdi Amini
Date: 2020-11-14T16:57:28Z
New Revision: d34add0ba1c2d0c9d1d54c28e519b598128c9edb
URL: https://github.com/llvm/llvm-project/commit/d34add0ba1c2d0c9d1d54c28e519b598128c9edb
DIFF: https://github.com/llvm/llvm-project/commit/d34add0ba1c2d0c9d1d54c28e519b598128c9edb.diff
LOG: Fix build (`ninja check` without running `ninja` first)
9218ff50f9 removed the BUILD.txt file, and as a subtle side-effect
libLLVMFrontendOpenACC wasn't a dependency of `ninja check` anymore.
However llvm-config requires all components to be built, and the
relevant test is broken when libLLVMFrontendOpenACC isn't built.
Unittest for libLLVMFrontendOpenACC are pending, but this addition
should fix some bots in the meantime.
Added:
Modified:
llvm/unittests/Frontend/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/unittests/Frontend/CMakeLists.txt b/llvm/unittests/Frontend/CMakeLists.txt
index 4b48945b2854..d10d08ef190a 100644
--- a/llvm/unittests/Frontend/CMakeLists.txt
+++ b/llvm/unittests/Frontend/CMakeLists.txt
@@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS
Analysis
Core
FrontendOpenMP
+ FrontendOpenACC
Support
Passes
TransformUtils
More information about the llvm-commits
mailing list