mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 21:00:29 +00:00
Add Option unit tests to the make build
Previously, they were only built and run in the CMake build. llvm-svn: 186756
This commit is contained in:
parent
e130e02443
commit
0bea6b44c7
@ -9,8 +9,8 @@
|
||||
|
||||
LEVEL = ..
|
||||
|
||||
PARALLEL_DIRS = ADT ExecutionEngine Support Transforms IR Analysis Bitcode \
|
||||
DebugInfo Object
|
||||
PARALLEL_DIRS = ADT Analysis Bitcode DebugInfo ExecutionEngine IR Object \
|
||||
Option Support Transforms
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
|
23
unittests/Option/Makefile
Normal file
23
unittests/Option/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
##===- unittests/Option/Makefile ---------------------------*- Makefile -*-===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file is distributed under the University of Illinois Open Source
|
||||
# License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
LEVEL = ../..
|
||||
TESTNAME = Option
|
||||
LINK_COMPONENTS := option support
|
||||
|
||||
BUILT_SOURCES = Opts.inc
|
||||
TABLEGEN_INC_FILES_COMMON = 1
|
||||
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
|
||||
|
||||
$(ObjDir)/Opts.inc.tmp : Opts.td $(LLVM_TBLGEN) $(ObjDir)/.dir
|
||||
$(Echo) "Building Driver Option tables with tblgen"
|
||||
$(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
|
Loading…
Reference in New Issue
Block a user