|
|
|
@ -366,7 +366,9 @@ clang_plugin: clang_setup
|
|
|
|
|
CPP="$(CPP)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" \
|
|
|
|
|
LOCAL_CLANG=$(CLANG_PREFIX)/bin/clang \
|
|
|
|
|
CLANG_PREFIX=$(CLANG_PREFIX) \
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES))
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES) \
|
|
|
|
|
SDKPATH=$(XCODE_ISYSROOT) \
|
|
|
|
|
)
|
|
|
|
|
$(QUIET)$(call silent_on_success,Building clang plugin OCaml interface,\
|
|
|
|
|
$(MAKE) -C $(FCP_DIR)/clang-ocaml all \
|
|
|
|
|
build/clang_ast_proj.ml build/clang_ast_proj.mli \
|
|
|
|
@ -375,8 +377,9 @@ clang_plugin: clang_setup
|
|
|
|
|
CPP="$(CPP)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" \
|
|
|
|
|
LOCAL_CLANG=$(CLANG_PREFIX)/bin/clang \
|
|
|
|
|
CLANG_PREFIX=$(CLANG_PREFIX) \
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES))
|
|
|
|
|
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES) \
|
|
|
|
|
SDKPATH=$(XCODE_ISYSROOT) \
|
|
|
|
|
)
|
|
|
|
|
.PHONY: clang_plugin_test
|
|
|
|
|
clang_plugin_test: clang_setup
|
|
|
|
|
$(QUIET)$(call silent_on_success,Running facebook-clang-plugins/libtooling/ tests,\
|
|
|
|
@ -386,7 +389,9 @@ clang_plugin_test: clang_setup
|
|
|
|
|
CPP="$(CPP)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" \
|
|
|
|
|
LOCAL_CLANG=$(CLANG_PREFIX)/bin/clang \
|
|
|
|
|
CLANG_PREFIX=$(CLANG_PREFIX) \
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES))
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES) \
|
|
|
|
|
SDKPATH=$(XCODE_ISYSROOT) \
|
|
|
|
|
)
|
|
|
|
|
$(QUIET)$(call silent_on_success,Running facebook-clang-plugins/clang-ocaml/ tests,\
|
|
|
|
|
$(MAKE) -C $(FCP_DIR)/clang-ocaml test \
|
|
|
|
|
CC=$(CC) CXX=$(CXX) \
|
|
|
|
@ -394,7 +399,9 @@ clang_plugin_test: clang_setup
|
|
|
|
|
CPP="$(CPP)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" \
|
|
|
|
|
LOCAL_CLANG=$(CLANG_PREFIX)/bin/clang \
|
|
|
|
|
CLANG_PREFIX=$(CLANG_PREFIX) \
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES))
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES) \
|
|
|
|
|
SDKPATH=$(XCODE_ISYSROOT) \
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
.PHONY: clang_plugin_test
|
|
|
|
|
clang_plugin_test_replace: clang_setup
|
|
|
|
@ -405,7 +412,9 @@ clang_plugin_test_replace: clang_setup
|
|
|
|
|
CPP="$(CPP)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" \
|
|
|
|
|
LOCAL_CLANG=$(CLANG_PREFIX)/bin/clang \
|
|
|
|
|
CLANG_PREFIX=$(CLANG_PREFIX) \
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES))
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES) \
|
|
|
|
|
SDKPATH=$(XCODE_ISYSROOT) \
|
|
|
|
|
)
|
|
|
|
|
$(QUIET)$(call silent_on_success,Running facebook-clang-plugins/clang-ocaml/ record tests,\
|
|
|
|
|
$(MAKE) -C $(FCP_DIR)/clang-ocaml record-test-outputs \
|
|
|
|
|
CC=$(CC) CXX=$(CXX) \
|
|
|
|
@ -413,7 +422,9 @@ clang_plugin_test_replace: clang_setup
|
|
|
|
|
CPP="$(CPP)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" \
|
|
|
|
|
LOCAL_CLANG=$(CLANG_PREFIX)/bin/clang \
|
|
|
|
|
CLANG_PREFIX=$(CLANG_PREFIX) \
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES))
|
|
|
|
|
CLANG_INCLUDES=$(CLANG_INCLUDES) \
|
|
|
|
|
SDKPATH=$(XCODE_ISYSROOT) \
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
.PHONY: ocaml_unit_test
|
|
|
|
|
ocaml_unit_test: test_build
|
|
|
|
|