diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-12 22:40:22 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-12 22:40:22 +0000 |
| commit | 730df071c8780a6df552a03449b956273efe01a9 (patch) | |
| tree | 0e1f4c91eb22e0d732a755b1b6ee3458fccf5558 /llvm/projects/sample/lib | |
| parent | f4ad6983365a3b893584cf01d022c9d740cfeab1 (diff) | |
| download | bcm5719-llvm-730df071c8780a6df552a03449b956273efe01a9.tar.gz bcm5719-llvm-730df071c8780a6df552a03449b956273efe01a9.zip | |
Remove projects/sample.
As an example that was not actually being used, it suffered from a slow bitrot.
The two main issues with it were that it had no cmake support and
included a copy of the autoconf directory. The reality is that
autoconf is not easily composable. The lack of composabilty is why we
have clang options in llvm's configure. Suggesting that users include
a copy of autoconf/ in their projects seems a bad idea.
We are also in the process of switching to cmake, so pushing autoconf
to new project is probably not what we want.
llvm-svn: 203728
Diffstat (limited to 'llvm/projects/sample/lib')
| -rw-r--r-- | llvm/projects/sample/lib/Makefile | 13 | ||||
| -rw-r--r-- | llvm/projects/sample/lib/sample/Makefile | 16 | ||||
| -rw-r--r-- | llvm/projects/sample/lib/sample/sample.c | 25 |
3 files changed, 0 insertions, 54 deletions
diff --git a/llvm/projects/sample/lib/Makefile b/llvm/projects/sample/lib/Makefile deleted file mode 100644 index 959038b7f9b..00000000000 --- a/llvm/projects/sample/lib/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -##===- projects/sample/lib/Makefile ------------------------*- Makefile -*-===## - -# -# Relative path to the top of the source tree. -# -LEVEL=.. - -# -# List all of the subdirectories that we will compile. -# -DIRS=sample - -include $(LEVEL)/Makefile.common diff --git a/llvm/projects/sample/lib/sample/Makefile b/llvm/projects/sample/lib/sample/Makefile deleted file mode 100644 index af63399d2aa..00000000000 --- a/llvm/projects/sample/lib/sample/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of a library. This will build a dynamic version. -# -LIBRARYNAME=sample - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common diff --git a/llvm/projects/sample/lib/sample/sample.c b/llvm/projects/sample/lib/sample/sample.c deleted file mode 100644 index a5ae28091bc..00000000000 --- a/llvm/projects/sample/lib/sample/sample.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * File: sample.c - * - * Description: - * This is a sample source file for a library. It helps to demonstrate - * how to setup a project that uses the LLVM build system, header files, - * and libraries. - */ - -#include <stdio.h> -#include <stdlib.h> - -/* LLVM Header File -#include "llvm/Support/DataTypes.h" -*/ - -/* Header file global to this project */ -#include "sample.h" - -int -compute_sample (int a) -{ - return a; -} - |

