Displaying 1 result from an estimated 1 matches for "add_to_library_groups".
2017 Oct 14
2
What's LLVM{target}CodeGen vs {target}CodeGen?
...as minimal as I could guess at:
[common]
subdirectories =
[component_0]
type = TargetGroup
name = TMS9900
parent = Target
[component_1]
type = Library
name = TMS9900CodeGen
parent = TMS9900
required_libraries = Analysis AsmPrinter CodeGen Core MC Scalar
SelectionDAG Support Target TransformUtils
add_to_library_groups = TMS9900
And finally, TMS9900.td contains:
include "llvm/Target/Target.td"
def TMS9900 : Target { }
I also updated lib/Target/LLVMBuild.txt's [common] subdirectories to
include TMS9900.
*The punchline:*
Now, I tried to run cmake:
$ cd build
$ cmake -G "Unix Makefiles"...