diff options
author | dim <dim@FreeBSD.org> | 2010-10-11 17:22:16 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2010-10-11 17:22:16 +0000 |
commit | 1fc65a65fe54635d0e564559ba5a7b8a8a42d4d6 (patch) | |
tree | de75a464c5dac7eceb2dbbad8b4d4e1479d79e08 /contrib/llvm/utils/llvm-lit | |
parent | f4f7191cd223adebacee3fad260ed60935be9cb9 (diff) | |
download | FreeBSD-src-1fc65a65fe54635d0e564559ba5a7b8a8a42d4d6.zip FreeBSD-src-1fc65a65fe54635d0e564559ba5a7b8a8a42d4d6.tar.gz |
Remove more unneeded files and directories from contrib/llvm. This
still allows us to build tblgen and clang, and further reduces the
footprint in the tree.
Approved by: rpaulo (mentor)
Diffstat (limited to 'contrib/llvm/utils/llvm-lit')
-rw-r--r-- | contrib/llvm/utils/llvm-lit/Makefile | 21 | ||||
-rw-r--r-- | contrib/llvm/utils/llvm-lit/llvm-lit.in | 21 |
2 files changed, 0 insertions, 42 deletions
diff --git a/contrib/llvm/utils/llvm-lit/Makefile b/contrib/llvm/utils/llvm-lit/Makefile deleted file mode 100644 index 702591f..0000000 --- a/contrib/llvm/utils/llvm-lit/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -##===- utils/llvm-lit/Makefile -----------------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## - -LEVEL = ../.. - -include $(LEVEL)/Makefile.common - -all:: $(ToolDir)/llvm-lit - -$(ToolDir)/llvm-lit: llvm-lit.in $(ToolDir)/.dir - $(Echo) "Creating 'llvm-lit' script..." - $(Verb)sed -e "s#@LLVM_SOURCE_DIR@#$(LLVM_SRC_ROOT)#g" \ - -e "s#@LLVM_BINARY_DIR@#$(LLVM_OBJ_ROOT)#g" \ - $< > $@ - $(Verb)chmod +x $@ diff --git a/contrib/llvm/utils/llvm-lit/llvm-lit.in b/contrib/llvm/utils/llvm-lit/llvm-lit.in deleted file mode 100644 index 3ff2c24..0000000 --- a/contrib/llvm/utils/llvm-lit/llvm-lit.in +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python - -import os -import sys - -# Variables configured at build time. -llvm_source_root = "@LLVM_SOURCE_DIR@" -llvm_obj_root = "@LLVM_BINARY_DIR@" - -# Make sure we can find the lit package. -sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit')) - -# Set up some builtin parameters, so that by default the LLVM test suite -# configuration file knows how to find the object tree. -builtin_parameters = { - 'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg') - } - -if __name__=='__main__': - import lit - lit.main(builtin_parameters) |