forked from OSchip/llvm-project
[MLPolicies] Fix dependency and -DBUILD_SHARED_LIBS=on builds after D80579
This commit is contained in:
parent
cf86a234ba
commit
993bbaf6a3
|
@ -108,9 +108,4 @@ add_llvm_component_library(LLVMAnalysis
|
|||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
LLVMMLPolicies
|
||||
|
||||
|
||||
LINK_LIBS
|
||||
LLVMMLPolicies
|
||||
)
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[common]
|
||||
subdirectories = ML
|
||||
|
||||
[component_0]
|
||||
type = Library
|
||||
name = Analysis
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
set (SOURCES InlineFeaturesAnalysis.cpp)
|
||||
|
||||
add_llvm_library(LLVMMLPolicies
|
||||
${SOURCES}
|
||||
add_llvm_component_library(LLVMMLPolicies
|
||||
InlineFeaturesAnalysis.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
;===- ./lib/Analysis/ML/LLVMBuild.txt --------------------------*- Conf -*--===;
|
||||
;
|
||||
; Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
; See https://llvm.org/LICENSE.txt for license information.
|
||||
; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
;
|
||||
; This is an LLVMBuild description file for the components in this subdirectory.
|
||||
;
|
||||
; For more information on the LLVMBuild system, please see:
|
||||
;
|
||||
; http://llvm.org/docs/LLVMBuild.html
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[component_0]
|
||||
type = Library
|
||||
name = MLPolicies
|
||||
parent = Analysis
|
||||
required_libraries = Core Support
|
|
@ -18,4 +18,4 @@
|
|||
type = Library
|
||||
name = Passes
|
||||
parent = Libraries
|
||||
required_libraries = AggressiveInstCombine Analysis CodeGen Core Coroutines IPO InstCombine Scalar Support Target TransformUtils Vectorize Instrumentation
|
||||
required_libraries = AggressiveInstCombine Analysis MLPolicies CodeGen Core Coroutines IPO InstCombine Scalar Support Target TransformUtils Vectorize Instrumentation
|
||||
|
|
Loading…
Reference in New Issue