| Index: Makefile.standalone
|
| diff --git a/Makefile.standalone b/Makefile.standalone
|
| index ceff1fa24e158bee90db53b333470c8bf2e9c6e1..29fcef942b90d322a5f0137f63f0ae0c43f248f2 100644
|
| --- a/Makefile.standalone
|
| +++ b/Makefile.standalone
|
| @@ -86,12 +86,11 @@ CXXFLAGS := $(LLVM_CXXFLAGS) -std=c++11 -Wall -Wextra -Werror -fno-rtti \
|
| -I$(LIBCXX_INSTALL_PATH)/include/c++/v1
|
| LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib
|
|
|
| -SRCS= \
|
| +SRCS = \
|
| assembler.cpp \
|
| assembler_ia32.cpp \
|
| IceCfg.cpp \
|
| IceCfgNode.cpp \
|
| - IceConverter.cpp \
|
| IceGlobalContext.cpp \
|
| IceGlobalInits.cpp \
|
| IceInst.cpp \
|
| @@ -111,6 +110,10 @@ SRCS= \
|
| llvm2ice.cpp \
|
| PNaClTranslator.cpp
|
|
|
| +ifndef MINIMAL
|
| + SRCS += IceConverter.cpp
|
| +endif
|
| +
|
| OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS))
|
|
|
| # Keep all the first target so it's the default.
|
| @@ -146,8 +149,13 @@ check-lit: llvm2ice make_symlink
|
| LLVM_BIN_PATH=$(LLVM_BIN_PATH) \
|
| $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit
|
|
|
| +ifdef MINIMAL
|
| +check: check-lit
|
| + @echo "Crosstests ignored, minimal build"
|
| +else
|
| check: check-lit
|
| (cd crosstest; ./runtests.sh)
|
| +endif
|
|
|
| # TODO: Fix the use of wildcards.
|
| # Assumes clang-format is within $PATH.
|
|
|